public class JSONObject.Property
extends java.lang.Object
Constructor and Description |
---|
JSONObject.Property(java.lang.String name,
JSON value)
Creates a new Property for a JSONObject.
|
public JSONObject.Property(java.lang.String name, JSON value)
name
- value
- public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic JSON getValue()
public void setValue(JSON value)
value
- the value to setpublic void accept(JSONVisitor v)