Package com.gemstone.org.json

Examples of com.gemstone.org.json.JSONObject


*
*/
public class JsonStringToObjectTransformer {

  public PdxInstance toObject(String json) {
    JSONObject jsonObject = null;
    try {
      jsonObject = new JSONObject(json);
    }
    catch (JSONException e) {
      throw new MessageTransformationException(e.getMessage());
    }
    return JSONFormatter.fromJSON(jsonObject.toString());
  }
View Full Code Here

TOP

Related Classes of com.gemstone.org.json.JSONObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.