Package net.sf.json

the core of the library

See:
          Description

Interface Summary
JSON  
JSONString The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
 

Class Summary
JSONArray A JSONArray is an ordered sequence of values.
JSONFunction JSONFunction represents a javaScript function's text.
JSONNull JSONNull is equivalent to the value that JavaScript calls null, whilst Java's null is equivalent to the value that JavaScript calls undefined.
JSONObject A JSONObject is an unordered collection of name/value pairs.
JSONSerializer Transforms java objects into JSON and back.
Transformation from java to JSON is pretty straightforward, but the other way around needs certain configuration, otherwise the java objects produced will be DynaBeans and Lists, because the JSON notation does not carry any information on java classes.
Use the provided property setters before calling toJava().
 

Exception Summary
JSONException The JSONException is thrown by the JSON.org classes then things are amiss.
 

Package net.sf.json Description

the core of the library



Copyright © 2006 null. All Rights Reserved.