code: public static String serialize(Value value) throws JSONException {
  		StringWriter writer = new StringWriter();
  		Serializer.serialize(value, writer);
  		return writer.toString();
  	}
docs: Serializes a JSON value to a string.
  @param value the value to serialize
  @return the serialized value
  @throws JSONException