org.apache.wink.json4j
Interface JSONString


public interface JSONString

An interface that can be implemented to make a particular object have an easy to use JSON representation. Objects that implement this can be inserted into JSONObject and JSONArray and serialized.


Method Summary
 java.lang.String toJSONString()
          Method to return a JSON compliant representation of this object.
 

Method Detail

toJSONString

java.lang.String toJSONString()
Method to return a JSON compliant representation of this object.

Returns:
a JSON formatted string.


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.