Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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);
   }
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #JSONObject #java
ADD COMMENT
Topic
Name
9+3 =