public static String serialize ( Value value ) throws JSONException { StringWriter writer = new StringWriter ( ) ; Serializer . serialize ( value , writer ) ; return writer . toString ( ) ; }
Serializes a JSON value to a string .