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
 String toJSONString()
          Method to return a JSON compliant representation of this object.
 

Method Detail

toJSONString

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

Returns:
a JSON formatted string.


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