Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- autoCast() - Method in interface com.jme3.plugins.json.JsonElement
-
Cast this JsonElement to a specific type
C
- com.jme3.plugins.json - package com.jme3.plugins.json
-
An abstraction layer to implement JSON parsers in jMonkeyEngine
- create() - Static method in class com.jme3.plugins.json.Json
-
Create a new JsonParser instance.
E
- entrySet() - Method in interface com.jme3.plugins.json.JsonObject
-
Returns the object's key-value pairs
G
- get(int) - Method in interface com.jme3.plugins.json.JsonArray
-
Get the element at index i
- get(String) - Method in interface com.jme3.plugins.json.JsonObject
-
Returns the object property as generic element
- getAsBoolean() - Method in interface com.jme3.plugins.json.JsonElement
-
Returns the object as a boolean
- getAsBoolean() - Method in interface com.jme3.plugins.json.JsonPrimitive
- getAsFloat() - Method in interface com.jme3.plugins.json.JsonElement
-
Returns the object as a float
- getAsFloat() - Method in interface com.jme3.plugins.json.JsonPrimitive
-
Returns the wrapped primitive as a float
- getAsInt() - Method in interface com.jme3.plugins.json.JsonElement
-
Returns the object as an int
- getAsInt() - Method in interface com.jme3.plugins.json.JsonPrimitive
-
Returns the wrapped primitive as an int
- getAsJsonArray() - Method in interface com.jme3.plugins.json.JsonElement
-
Returns the object as a JsonArray
- getAsJsonArray(String) - Method in interface com.jme3.plugins.json.JsonObject
-
Returns the object property as a String
- getAsJsonObject() - Method in interface com.jme3.plugins.json.JsonElement
-
Returns the object as a JsonObject
- getAsJsonObject(String) - Method in interface com.jme3.plugins.json.JsonObject
-
Returns the object property as a JsonObject
- getAsJsonPrimitive() - Method in interface com.jme3.plugins.json.JsonElement
-
Returns the object as a JsonPrimitive
- getAsJsonPrimitive(String) - Method in interface com.jme3.plugins.json.JsonObject
-
Returns the object property as a wrapped primitive
- getAsNumber() - Method in interface com.jme3.plugins.json.JsonElement
-
Returns the object as a Number
- getAsNumber() - Method in interface com.jme3.plugins.json.JsonPrimitive
-
Returns the wrapped primitive as a generic number
- getAsString() - Method in interface com.jme3.plugins.json.JsonElement
-
Returns the object as a String
- getAsString() - Method in interface com.jme3.plugins.json.JsonPrimitive
-
Returns the wrapped primitive as a string
H
- has(String) - Method in interface com.jme3.plugins.json.JsonObject
-
Check if the object has a property
I
- isBoolean() - Method in interface com.jme3.plugins.json.JsonPrimitive
-
Check if the wrapped primitive is a boolean
- isNumber() - Method in interface com.jme3.plugins.json.JsonPrimitive
-
Check if the wrapped primitive is a number
- isString() - Method in interface com.jme3.plugins.json.JsonPrimitive
-
Check if the wrapped primitive is a string
J
- Json - Class in com.jme3.plugins.json
-
A json parser factory that allows you to set the parser to use.
- Json() - Constructor for class com.jme3.plugins.json.Json
- JsonArray - Interface in com.jme3.plugins.json
-
Represents an array.
- JsonElement - Interface in com.jme3.plugins.json
-
A generic element
- JsonObject - Interface in com.jme3.plugins.json
-
A generic object/map
- JsonParser - Interface in com.jme3.plugins.json
-
A json parser
- JsonPrimitive - Interface in com.jme3.plugins.json
-
A wrapped primitive
P
- parse(InputStream) - Method in interface com.jme3.plugins.json.JsonParser
-
Parse a json input stream and returns a
JsonObject - PROPERTY_JSON_PARSER_IMPLEMENTATION - Static variable in class com.jme3.plugins.json.Json
-
The property name to set the parser to use.
S
- setParser(Class<? extends JsonParser>) - Static method in class com.jme3.plugins.json.Json
-
Set the parser to use.
- size() - Method in interface com.jme3.plugins.json.JsonArray
-
Get the size of the array
All Classes and Interfaces|All Packages|Constant Field Values