A B D G H I J M N O P R S T U V W 

A

add(Json) - Method in class mjson.Json
Add the specified Json element to this array.
add(Object) - Method in class mjson.Json
Add an arbitrary Java object to this Json array.
array() - Static method in class mjson.Json
Return a new constructed, empty JSON array.
array(Object...) - Static method in class mjson.Json
Return a new JSON array filled up with the list of arguments.
array() - Method in class mjson.Json.DefaultFactory
 
array() - Method in interface mjson.Json.Factory
Construct and return a JSON object.
asBoolean() - Method in class mjson.Json
Return the boolean value of a boolean Json instance.
asByte() - Method in class mjson.Json
Return the byte value of a number Json instance.
asChar() - Method in class mjson.Json
Return the first character of a string Json instance.
asDouble() - Method in class mjson.Json
Return the double value of a number Json instance.
asFloat() - Method in class mjson.Json
Return the float value of a float Json instance.
asInteger() - Method in class mjson.Json
Return the integer value of a number Json instance.
asJsonList() - Method in class mjson.Json
Return the underlying List representation of a Json array.
asJsonMap() - Method in class mjson.Json
Return the underlying map of properties of a Json object.
asList() - Method in class mjson.Json
Return a list of the elements of a Json array.
asLong() - Method in class mjson.Json
Return the long value of a number Json instance.
asMap() - Method in class mjson.Json
Return a map of the properties of an object Json instance.
asShort() - Method in class mjson.Json
Return the short value of a number Json instance.
asString() - Method in class mjson.Json
Return the string value of a string Json instance.
at(int) - Method in class mjson.Json
Return the Json element at the specified index of this Json array.
at(String) - Method in class mjson.Json
Return the specified property of a Json object or null if there's no such property.
at(String, Json) - Method in class mjson.Json
Return the specified property of a Json object if it exists.
at(String, Object) - Method in class mjson.Json
Return the specified property of a Json object if it exists.
atDel(String) - Method in class mjson.Json
Remove the specified property from a Json object and return that property.
atDel(int) - Method in class mjson.Json
Remove the element at the specified index from a Json array and return that element.
attachFactory(Json.Factory) - Static method in class mjson.Json
Attach a thread-local Json Json.Factory to be used specifically by this thread.
attachTo(Json) - Method in class mjson.Json
Explicitly set the parent of this element.

B

bool(boolean) - Method in class mjson.Json.DefaultFactory
 
bool(boolean) - Method in interface mjson.Json.Factory
Construct and return a JSON boolean.

D

defaultFactory - Static variable in class mjson.Json
 
delAt(String) - Method in class mjson.Json
Delete the specified property from a Json object.
delAt(int) - Method in class mjson.Json
Remove the element at the specified index from a Json array.
dettachFactory() - Static method in class mjson.Json
Clear the thread-local factory previously attached to this thread via the Json.attachFactory(Factory) method.
dup() - Method in class mjson.Json
Return a clone (a duplicate) of this Json entity.

G

getValue() - Method in class mjson.Json
Return the underlying value of this Json entity.

H

has(String) - Method in class mjson.Json
Return true if this Json object has the specified property and false otherwise.

I

is(String, Object) - Method in class mjson.Json
Return true if and only if this Json object has a property with the specified value.
is(int, Object) - Method in class mjson.Json
Return true if and only if this Json array has an element with the specified value at the specified index.
isArray() - Method in class mjson.Json
Return true if this is a Json array (i.e.
isBoolean() - Method in class mjson.Json
Return true if this is a Json boolean entity and false otherwise.
isNull() - Method in class mjson.Json
Return true if this is a Json null entity and false otherwise.
isNumber() - Method in class mjson.Json
Return true if this is a Json number entity and false otherwise.
isObject() - Method in class mjson.Json
Return true if this is a Json object entity and false otherwise.
isPrimitive() - Method in class mjson.Json
Return true if this is a Json primitive entity (one of string, number or boolean) and false otherwise.
isString() - Method in class mjson.Json
Return true if this is a Json string entity and false otherwise.

J

Json - Class in mjson
Represents a JSON (JavaScript Object Notation) entity.
Json() - Constructor for class mjson.Json
 
Json(Json) - Constructor for class mjson.Json
 
Json.DefaultFactory - Class in mjson
 
Json.DefaultFactory() - Constructor for class mjson.Json.DefaultFactory
 
Json.Factory - Interface in mjson
This interface defines how Json instances are constructed.
Json.Schema - Interface in mjson
Represents JSON schema - a specific data format that a JSON entity must follow.

M

make(Object) - Method in class mjson.Json.DefaultFactory
 
make(Object) - Method in interface mjson.Json.Factory
Construct and return a JSON object.
make(Object) - Static method in class mjson.Json
Convert an arbitrary Java instance to a Json instance.
mjson - package mjson
 

N

nil() - Method in class mjson.Json.DefaultFactory
 
nil() - Method in interface mjson.Json.Factory
Construct and return an object representing JSON null.
nil() - Static method in class mjson.Json
Return the null Json instance.
number(Number) - Method in class mjson.Json.DefaultFactory
 
number(Number) - Method in interface mjson.Json.Factory
Construct and return a JSON number.

O

object() - Method in class mjson.Json.DefaultFactory
 
object() - Method in interface mjson.Json.Factory
Construct and return a JSON object.
object() - Static method in class mjson.Json
Return a newly constructed, empty JSON object.
object(Object...) - Static method in class mjson.Json
Return a new JSON object initialized from the passed list of name/value pairs.

P

pad(String) - Method in class mjson.Json
Json-pad this object as an argument to a callback function.

R

read(String) - Static method in class mjson.Json
Parse a JSON entity from its string representation.
read(URL) - Static method in class mjson.Json
Parse a JSON entity from a URL.
read(CharacterIterator) - Static method in class mjson.Json
Parse a JSON entity from a CharacterIterator.
remove(Json) - Method in class mjson.Json
Remove the specified element from a Json array.
remove(Object) - Method in class mjson.Json
Remove the specified Java object (converted to a Json instance) from a Json array.

S

schema(Json) - Static method in class mjson.Json
 
schema(URI) - Static method in class mjson.Json
 
schema(Json, URI) - Static method in class mjson.Json
 
set(String, Json) - Method in class mjson.Json
Set a Json objects's property.
set(String, Object) - Method in class mjson.Json
Set a Json objects's property.
set(int, Object) - Method in class mjson.Json
Change the value of a JSON array element.
setGlobalFactory(Json.Factory) - Static method in class mjson.Json
Specify a global Json Json.Factory to be used by all threads that don't have a specific thread-local factory attached to them.
string(String) - Method in class mjson.Json.DefaultFactory
 
string(String) - Method in interface mjson.Json.Factory
Construct and return a JSON string.

T

toString(int) - Method in class mjson.Json
Return a string representation of this that does not exceed a certain maximum length.

U

up() - Method in class mjson.Json
Return the Json entity, if any, enclosing this Json.

V

validate(Json) - Method in interface mjson.Json.Schema
Validate a JSON document according to this schema.

W

with(Json) - Method in class mjson.Json
Combine this object or array with the passed in object or array.
A B D G H I J M N O P R S T U V W 

Copyright © 2014. All Rights Reserved.