public interface JsCollection
Modifier and Type | Method and Description |
---|---|
String |
toJavascript()
Produces a javascript serialization that will generally be the same as produced
by toJSON() except when values have been added via the putUnquoted() method.
|
void |
toJavascript(Writer inWriter)
Produces a javascript serialization that will generally be the same as produced
by toJSON() except when values have been added via the putUnquoted() method.
|
String |
toJSON()
Produces a JSON serialization of the Collection.
|
void |
toJSON(Writer inWriter)
Produces a JSON serialization of the Collection.
|
String toJSON()
void toJSON(Writer inWriter)
inWriter
- where to send the JSON toString toJavascript()
void toJavascript(Writer inWriter)
inWriter
- where to send the javascript to