org.apache.jackrabbit.commons.json
Class JsonUtil

java.lang.Object
  extended by org.apache.jackrabbit.commons.json.JsonUtil

public class JsonUtil
extends Object

JSON utilities.


Constructor Summary
JsonUtil()
           
 
Method Summary
static String getJsonString(String str)
          Generate a valid JSON string from the given str.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonUtil

public JsonUtil()
Method Detail

getJsonString

public static String getJsonString(String str)
Generate a valid JSON string from the given str.

Parameters:
str - A String
Returns:
JSON string surrounded by double quotes.
See Also:
RFC 4627


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.