convert jsonobject to class kotlin code example
Example 1: kotlin jsonobject from string
val data = JSONObject("""{"name":"test name", "age":25}""")
Example 2: kotlin jsonobject to class
dependencies {
implementation 'com.beust:klaxon:5.5'
}