kotlin convert json string to jsonobject code example Example: kotlin jsonobject from string val data = JSONObject("""{"name":"test name", "age":25}""")