Package 

Class JsonUtilsKt

    • Method Summary

      Modifier and Type Method Description
      final static Map<String, Object> toMap(JSONObject $self) Extension function for JSONObject to convert it to a Kotlin Map.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toMap

         final static Map<String, Object> toMap(JSONObject $self)

        Extension function for JSONObject to convert it to a Kotlin Map. Recursively converts all nested JSONObjects and JSONArrays into Maps and Lists respectively.