Answers for "how to use json object in java"

1

JSONObject java

import org.json.simple.JSONObject;

class JsonEncodeDemo {

   public static void main(String[] args) {
      JSONObject obj = new JSONObject();

	    inputJSON.put("subscriberName", "subscriber");
	    inputJSON.put("msisdn","7055389495");

      System.out.print(obj);
   }
}
Posted by: Guest on June-26-2020

Code answers related to "how to use json object in java"

Code answers related to "Javascript"

Browse Popular Code Answers by Language