Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- get(int) - Method in class com.blackrook.json.JSONObject
-
Gets an object member of this JSONObject by index, if this is an array.
- get(String) - Method in class com.blackrook.json.JSONObject
-
Gets an object member of this JSONObject by name.
- getAlias() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.FieldInfo
- getAlias() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.MethodInfo
- getAlias(Field) - Method in interface com.blackrook.json.struct.TypeProfileFactory.MemberPolicy
-
Gets an alias name for the provided field.
- getAlias(Method) - Method in interface com.blackrook.json.struct.TypeProfileFactory.MemberPolicy
-
Gets an alias name for the provided method.
- getArrayDimensions(Class<?>) - Static method in class com.blackrook.json.struct.Utils
-
Gets how many dimensions that this array, represented by the provided type, has.
- getArrayDimensions(Object) - Static method in class com.blackrook.json.struct.Utils
-
Gets how many array dimensions that an object (presumably an array) has.
- getArrayType(Class<?>) - Static method in class com.blackrook.json.struct.Utils
-
Gets the class type of this array type, if this is an array type.
- getArrayType(Object) - Static method in class com.blackrook.json.struct.Utils
-
Gets the class type of this array, if this is an array.
- getBoolean() - Method in class com.blackrook.json.JSONObject
-
Returns the value of this JSON Object as an boolean.
- getByte() - Method in class com.blackrook.json.JSONObject
-
Returns the value of this JSON Object as a byte.
- getCharIndex() - Method in class com.blackrook.json.struct.Lexer.Token
- getConverter(Class<E>) - Method in class com.blackrook.json.JSONConverterSet
-
Gets a converter for a type.
- getConverter(Class<E>) - Static method in class com.blackrook.json.JSONObject
-
Gets a converter for a type for the default converter set.
- getCurrentLexeme() - Method in class com.blackrook.json.struct.Lexer
-
Gets the current token lexeme.
- getCurrentLineCharacterIndex() - Method in class com.blackrook.json.struct.Lexer.ReaderStack
- getCurrentLineNumber() - Method in class com.blackrook.json.struct.Lexer
-
Gets the lexer's current stream's line number.
- getCurrentLineNumber() - Method in class com.blackrook.json.struct.Lexer.ReaderStack
- getCurrentStream() - Method in class com.blackrook.json.struct.Lexer
-
Gets the current stream.
- getCurrentStreamName() - Method in class com.blackrook.json.struct.Lexer
- getCurrentStreamName() - Method in class com.blackrook.json.struct.Lexer.ReaderStack
- getDecimalSeparator() - Method in class com.blackrook.json.struct.Lexer.Kernel
-
Gets the current decimal separator character.
- getDouble() - Method in class com.blackrook.json.JSONObject
-
Returns the value of this JSON Object as a double.
- getEnumInstance(String, Class<T>) - Static method in class com.blackrook.json.struct.Utils
-
Returns the enum instance of a class given class and name, or null if not a valid name.
- getField() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.FieldInfo
- getFieldValue(Object, Field) - Static method in class com.blackrook.json.struct.Utils
-
Gets the value of a field on an object.
- getFloat() - Method in class com.blackrook.json.JSONObject
-
Returns the value of this JSON Object as a float.
- getGetterMethodsByAlias() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's getter methods.
- getGetterMethodsByName() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's getter methods.
- getIndentation() - Method in class com.blackrook.json.JSONWriter.Options
- getInt() - Method in class com.blackrook.json.JSONObject
-
Returns the value of this JSON Object as an integer.
- getJSONObject(Object) - Method in class com.blackrook.json.JSONDefaultConverter
- getJSONObject(Date) - Method in class com.blackrook.json.converters.JSONDateFormatConverter
- getJSONObject(Date) - Method in class com.blackrook.json.converters.JSONDateMillisConverter
- getJSONObject(T) - Method in interface com.blackrook.json.JSONConverter
-
Returns a JSON object that represents this object instance (and its contents).
- getKeyClass() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.FieldInfo
- getKeyClass() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.MethodInfo
- getLexeme() - Method in class com.blackrook.json.struct.Lexer.Token
- getLexer() - Method in class com.blackrook.json.struct.Lexer.Parser
-
Gets the
Lexer
that this Parser uses. - getLineNumber() - Method in class com.blackrook.json.struct.Lexer.Token
- getList() - Method in class com.blackrook.json.JSONObject
-
Returns the underlying value as a list of objects.
- getLong() - Method in class com.blackrook.json.JSONObject
-
Returns the value of this JSON Object as a long.
- getMap() - Method in class com.blackrook.json.JSONObject
-
Returns the underlying value as a map of string to object.
- getMemberCount() - Method in class com.blackrook.json.JSONObject
-
Gets the amount of members in this object, if this is an object.
- getMemberNames() - Method in class com.blackrook.json.JSONObject
-
Returns an array of member names on this object, if it is Object typed.
- getMethod() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.MethodInfo
- getObject(JSONObject) - Method in class com.blackrook.json.converters.JSONDateFormatConverter
- getObject(JSONObject) - Method in class com.blackrook.json.converters.JSONDateMillisConverter
- getObject(JSONObject) - Method in interface com.blackrook.json.JSONConverter
-
Returns a Java Object that is equivalent to the input JSON Object.
- getObject(JSONObject) - Method in class com.blackrook.json.JSONDefaultConverter
-
Returns null.
- getPrimaryClass() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.FieldInfo
- getPrimaryClass() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.MethodInfo
- getProfile(Class<T>) - Method in class com.blackrook.json.struct.TypeProfileFactory
-
Creates a new profile for a provided type.
- getPublicFieldsByAlias() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's public fields.
- getPublicFieldsByName() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's public fields.
- getRawStringEnd(char) - Method in class com.blackrook.json.struct.Lexer
-
Gets the character that ends a raw String, using the starting character.
- getSetterMethodsByAlias() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's setter methods.
- getSetterMethodsByName() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's setter methods.
- getShort() - Method in class com.blackrook.json.JSONObject
-
Returns the value of this JSON Object as a short.
- getState() - Method in class com.blackrook.json.struct.Lexer
- getStreamName() - Method in class com.blackrook.json.struct.Lexer.Token
- getString() - Method in class com.blackrook.json.JSONObject
-
Returns the value of this JSON Object as a String.
- getStringEnd(char) - Method in class com.blackrook.json.struct.Lexer
-
Gets the character that ends a String, using the starting character.
- getTokenInfoLine(String) - Method in class com.blackrook.json.struct.Lexer.Parser
-
Returns a stock error line for when an error/warning or whatever occurs during parse.
- getType() - Method in class com.blackrook.json.JSONObject
-
Gets this object's JavaScript type.
- getType() - Method in class com.blackrook.json.struct.Lexer.Token
- getType() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.FieldInfo
- getType() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.MethodInfo
- getValue() - Method in class com.blackrook.json.JSONObject
-
Gets this object's encapsulated value.
- getValueClass() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.FieldInfo
- getValueClass() - Method in class com.blackrook.json.struct.TypeProfileFactory.Profile.MethodInfo
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form