Answers for "convert json string to json object in java"

0

convert json string to json object in java

try {
     JSONObject jsonObject = new JSONObject("{\"phonetype\":\"N95\",\"cat\":\"WP\"}");
}catch (JSONException err){
     Log.d("Error", err.toString());
}
Posted by: Guest on September-29-2020

Code answers related to "convert json string to json object in java"

Code answers related to "Javascript"

Browse Popular Code Answers by Language