|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Json in mjson |
|---|
| Methods in mjson that return Json | |
|---|---|
Json |
Json.add(Json el)
Add the specified Json element to this array. |
Json |
Json.add(Object anything)
Add an arbitrary Java object to this Json array. |
static Json |
Json.array()
Return a new constructed, empty JSON array. |
Json |
Json.Factory.array()
|
Json |
Json.DefaultFactory.array()
|
static Json |
Json.array(Object... args)
Return a new JSON array filled up with the list of arguments. |
Json |
Json.at(int index)
Return the Json element at the specified index of this
Json array. |
Json |
Json.at(String property)
Return the specified property of a Json object or null
if there's no such property. |
Json |
Json.at(String property,
Json def)
Return the specified property of a Json object if it exists. |
Json |
Json.at(String property,
Object def)
Return the specified property of a Json object if it exists. |
Json |
Json.atDel(int index)
Remove the element at the specified index from a Json array and return
that element. |
Json |
Json.atDel(String property)
Remove the specified property from a Json object and return
that property. |
Json |
Json.Factory.bool(boolean value)
|
Json |
Json.DefaultFactory.bool(boolean x)
|
Json |
Json.delAt(int index)
Remove the element at the specified index from a Json array. |
Json |
Json.delAt(String property)
Delete the specified property from a Json object. |
Json |
Json.dup()
Return a clone (a duplicate) of this Json entity. |
static Json |
Json.make(Object anything)
Convert an arbitrary Java instance to a Json instance. |
Json |
Json.Factory.make(Object anything)
|
Json |
Json.DefaultFactory.make(Object anything)
|
static Json |
Json.nil()
Return the null Json instance. |
Json |
Json.Factory.nil()
|
Json |
Json.DefaultFactory.nil()
|
Json |
Json.Factory.number(Number value)
|
Json |
Json.DefaultFactory.number(Number x)
|
static Json |
Json.object()
Return a newly constructed, empty JSON object. |
Json |
Json.Factory.object()
|
Json |
Json.DefaultFactory.object()
|
static Json |
Json.object(Object... args)
Return a new JSON object initialized from the passed list of name/value pairs. |
static Json |
Json.read(CharacterIterator it)
Parse a JSON entity from a CharacterIterator. |
static Json |
Json.read(String jsonAsString)
Parse a JSON entity from its string representation. |
Json |
Json.remove(Json el)
Remove the specified element from a Json array. |
Json |
Json.remove(Object anything)
Remove the specified Java object (converted to a Json instance) from a Json array. |
Json |
Json.set(String property,
Json value)
Set a Json objects's property. |
Json |
Json.set(String property,
Object value)
Set a Json objects's property. |
Json |
Json.Factory.string(String value)
|
Json |
Json.DefaultFactory.string(String x)
|
Json |
Json.up()
Return the Json entity, if any, enclosing this
Json. |
Json |
Json.with(Json object)
Combine this object or array with the passed in object or array. |
| Methods in mjson that return types with arguments of type Json | |
|---|---|
List<Json> |
Json.asJsonList()
Return the underlying List representation of a Json array. |
Map<String,Json> |
Json.asJsonMap()
Return the underlying map of properties of a Json object. |
| Methods in mjson with parameters of type Json | |
|---|---|
Json |
Json.add(Json el)
Add the specified Json element to this array. |
Json |
Json.at(String property,
Json def)
Return the specified property of a Json object if it exists. |
void |
Json.attachTo(Json enclosing)
Explicitly set the parent of this element. |
Json |
Json.remove(Json el)
Remove the specified element from a Json array. |
Json |
Json.set(String property,
Json value)
Set a Json objects's property. |
Json |
Json.with(Json object)
Combine this object or array with the passed in object or array. |
| Constructors in mjson with parameters of type Json | |
|---|---|
Json(Json enclosing)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||