FileDocCategorySizeDatePackage
JSONValue.javaAPI DocExample2166Wed Jul 26 13:30:26 BST 2006com.oreilly.ajax.client

JSONValue

public abstract class JSONValue extends Object
The superclass for all JSON value types.

Fields Summary
Constructors Summary
Methods Summary
public JSONArrayisArray()
Returns a non-null reference of this JSONValue is really a JSONArray.

return
a reference to a JSONArray if this JSONValue is a JSONArray or null otherwise.

    return null;
  
public JSONBooleanisBoolean()
Returns a non-null reference of this JSONValue is really a JSONBoolean.

return
a reference to a JSONBoolean if this JSONValue is a JSONBoolean or null otherwise.

    return null;
  
public JSONNumberisNumber()
Returns a non-null reference of this JSONValue is really a JSONNumber.

return
a reference to a JSONNumber if this JSONValue is a JSONNumber or null otherwise.

    return null;
  
public JSONObjectisObject()
Returns non-null if this JSONValue is really a JSONObject.

return
a reference to a JSONObject if this JSONValue is a JSONObject or null otherwise.

    return null;
  
public JSONStringisString()
Returns a non-null reference of this JSONValue is really a JSONString.

return
a reference to a JSONString if this JSONValue is a JSONString or null otherwise.

    return null;
  
public abstract java.lang.StringtoString()
This method returns a JSON encoded string for this entity. Use this method to create JSON strings that can be sent from the client to a server.