Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(boolean) - Method in class technology.sola.json.JsonArray
-
Appends the specified boolean to the end of this
JsonArray. - add(double) - Method in class technology.sola.json.JsonArray
-
Appends the specified double to the end of this
JsonArray. - add(float) - Method in class technology.sola.json.JsonArray
-
Appends the specified float to the end of this
JsonArray. - add(int) - Method in class technology.sola.json.JsonArray
-
Appends the specified integer to the end of this
JsonArray. - add(int, JsonElement) - Method in class technology.sola.json.JsonArray
- add(long) - Method in class technology.sola.json.JsonArray
-
Appends the specified long to the end of this
JsonArray. - add(Boolean) - Method in class technology.sola.json.JsonArray
-
Appends the specified boolean to the end of this
JsonArray. - add(Double) - Method in class technology.sola.json.JsonArray
-
Appends the specified double to the end of this
JsonArray. - add(Float) - Method in class technology.sola.json.JsonArray
-
Appends the specified float to the end of this
JsonArray. - add(Integer) - Method in class technology.sola.json.JsonArray
-
Appends the specified integer to the end of this
JsonArray. - add(Long) - Method in class technology.sola.json.JsonArray
-
Appends the specified long to the end of this
JsonArray. - add(String) - Method in class technology.sola.json.JsonArray
-
Appends the specified string to the end of this
JsonArray. - add(JsonArray) - Method in class technology.sola.json.JsonArray
- add(JsonElement) - Method in class technology.sola.json.JsonArray
- add(JsonObject) - Method in class technology.sola.json.JsonArray
-
Appends the specified
JsonObjectto the end of thisJsonArray. - addNull() - Method in class technology.sola.json.JsonArray
-
Appends
JsonElementType.NULLto the end of thisJsonArray. - asArray() - Method in class technology.sola.json.JsonElement
-
Returns this JsonElement's value as a
JsonArrayif its type isJsonElementType.JSON_ARRAYor else throwsJsonElementTypeException. - asBoolean() - Method in class technology.sola.json.JsonElement
-
Returns this JsonElement's value as a boolean if its type is
JsonElementType.BOOLEANor else throwsJsonElementTypeException. - asDouble() - Method in class technology.sola.json.JsonElement
-
Returns this JsonElement's value as a double if its type is
JsonElementType.DOUBLEor else throwsJsonElementTypeException. - asFloat() - Method in class technology.sola.json.JsonElement
-
Returns this JsonElement's value as a float if its type is
JsonElementType.DOUBLEor else throwsJsonElementTypeException. - asInt() - Method in class technology.sola.json.JsonElement
-
Returns this JsonElement's value as an int if its type is
JsonElementType.LONGor else throwsJsonElementTypeException. - asLong() - Method in class technology.sola.json.JsonElement
-
Returns this JsonElement's value as a long if its type is
JsonElementType.LONGor else throwsJsonElementTypeException. - asObject() - Method in class technology.sola.json.JsonElement
-
Returns this JsonElement's value as a
JsonObjectif its type isJsonElementType.JSON_OBJECTor else throwsJsonElementTypeException. - asString() - Method in class technology.sola.json.JsonElement
-
Returns this JsonElement's value as a String if its type is
JsonElementType.STRINGor else throwsJsonElementTypeException.
B
- BOOLEAN - Enum constant in enum class technology.sola.json.JsonElementType
-
True or false.
C
- COLON - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
: - column() - Method in record class technology.sola.json.tokenizer.Token
-
Returns the value of the
columnrecord component. - COMMA - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
,
D
- DOUBLE - Enum constant in enum class technology.sola.json.JsonElementType
-
Decimal number.
E
- EOF - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
End of the file.
- equals(Object) - Method in record class technology.sola.json.serializer.JsonSerializerConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.json.tokenizer.Token
-
Indicates whether some other object is "equal to" this one.
F
G
- getActual() - Method in exception technology.sola.json.parser.exception.InvalidSyntaxException
- getActual() - Method in exception technology.sola.json.tokenizer.exception.InvalidKeywordException
- getArray(int) - Method in class technology.sola.json.JsonArray
- getArray(String) - Method in class technology.sola.json.JsonObject
-
Returns the
JsonArrayfor the specified key. - getArray(String, JsonArray) - Method in class technology.sola.json.JsonObject
-
Returns the
JsonArrayfor the specified key. - getArrayOrNull(int) - Method in class technology.sola.json.JsonArray
- getArrayOrNull(String) - Method in class technology.sola.json.JsonObject
-
Returns the
JsonArrayfor the specified key. - getBoolean(int) - Method in class technology.sola.json.JsonArray
-
Returns the boolean at the specified position in this
JsonArray. - getBoolean(String) - Method in class technology.sola.json.JsonObject
-
Returns the boolean for the specified key.
- getBoolean(String, boolean) - Method in class technology.sola.json.JsonObject
-
Returns the boolean for the specified key.
- getBooleanOrNull(int) - Method in class technology.sola.json.JsonArray
-
Returns the boolean at the specified position in this
JsonArray. - getBooleanOrNull(String) - Method in class technology.sola.json.JsonObject
-
Returns the boolean for the specified key.
- getColumn() - Method in interface technology.sola.json.exception.SolaJsonErrorWithLineAndColumn
- getColumn() - Method in exception technology.sola.json.parser.exception.InvalidSyntaxException
- getColumn() - Method in exception technology.sola.json.tokenizer.exception.InvalidCharacterException
- getColumn() - Method in exception technology.sola.json.tokenizer.exception.InvalidControlCharacterException
- getColumn() - Method in exception technology.sola.json.tokenizer.exception.InvalidDecimalNumberException
- getColumn() - Method in exception technology.sola.json.tokenizer.exception.InvalidExponentNumberException
- getColumn() - Method in exception technology.sola.json.tokenizer.exception.InvalidKeywordException
- getColumn() - Method in exception technology.sola.json.tokenizer.exception.InvalidLeadingZeroNumberException
- getColumn() - Method in exception technology.sola.json.tokenizer.exception.InvalidNegativeNumberException
- getColumn() - Method in exception technology.sola.json.tokenizer.exception.InvalidUnicodeCharacterException
- getColumn() - Method in exception technology.sola.json.tokenizer.exception.StringNotClosedException
- getDouble(int) - Method in class technology.sola.json.JsonArray
-
Returns the double at the specified position in this
JsonArray. - getDouble(String) - Method in class technology.sola.json.JsonObject
-
Returns the double for the specified key.
- getDouble(String, double) - Method in class technology.sola.json.JsonObject
-
Returns the double for the specified key.
- getDoubleOrNull(int) - Method in class technology.sola.json.JsonArray
-
Returns the double at the specified position in this
JsonArray. - getDoubleOrNull(String) - Method in class technology.sola.json.JsonObject
-
Returns the double for the specified key.
- getExpected() - Method in exception technology.sola.json.parser.exception.InvalidSyntaxException
- getExpected() - Method in exception technology.sola.json.tokenizer.exception.InvalidKeywordException
- getFloat(int) - Method in class technology.sola.json.JsonArray
-
Returns the float at the specified position in this
JsonArray. - getFloat(String) - Method in class technology.sola.json.JsonObject
-
Returns the float for the specified key.
- getFloat(String, float) - Method in class technology.sola.json.JsonObject
-
Returns the float for the specified key.
- getFloatOrNull(int) - Method in class technology.sola.json.JsonArray
-
Returns the float at the specified position in this
JsonArray. - getFloatOrNull(String) - Method in class technology.sola.json.JsonObject
-
Returns the float for the specified key.
- getInt(int) - Method in class technology.sola.json.JsonArray
-
Returns the integer at the specified position in this
JsonArray. - getInt(String) - Method in class technology.sola.json.JsonObject
-
Returns the integer for the specified key.
- getInt(String, int) - Method in class technology.sola.json.JsonObject
-
Returns the integer for the specified key.
- getIntOrNull(int) - Method in class technology.sola.json.JsonArray
-
Returns the integer at the specified position in this
JsonArray. - getIntOrNull(String) - Method in class technology.sola.json.JsonObject
-
Returns the integer for the specified key.
- getInvalidCharacter() - Method in exception technology.sola.json.tokenizer.exception.InvalidCharacterException
- getLine() - Method in interface technology.sola.json.exception.SolaJsonErrorWithLineAndColumn
- getLine() - Method in exception technology.sola.json.parser.exception.InvalidSyntaxException
- getLine() - Method in exception technology.sola.json.tokenizer.exception.InvalidCharacterException
- getLine() - Method in exception technology.sola.json.tokenizer.exception.InvalidControlCharacterException
- getLine() - Method in exception technology.sola.json.tokenizer.exception.InvalidDecimalNumberException
- getLine() - Method in exception technology.sola.json.tokenizer.exception.InvalidExponentNumberException
- getLine() - Method in exception technology.sola.json.tokenizer.exception.InvalidKeywordException
- getLine() - Method in exception technology.sola.json.tokenizer.exception.InvalidLeadingZeroNumberException
- getLine() - Method in exception technology.sola.json.tokenizer.exception.InvalidNegativeNumberException
- getLine() - Method in exception technology.sola.json.tokenizer.exception.InvalidUnicodeCharacterException
- getLine() - Method in exception technology.sola.json.tokenizer.exception.StringNotClosedException
- getLong(int) - Method in class technology.sola.json.JsonArray
-
Returns the long at the specified position in this
JsonArray. - getLong(String) - Method in class technology.sola.json.JsonObject
-
Returns the long for the specified key.
- getLong(String, long) - Method in class technology.sola.json.JsonObject
-
Returns the long for the specified key.
- getLongOrNull(int) - Method in class technology.sola.json.JsonArray
-
Returns the long at the specified position in this
JsonArray. - getLongOrNull(String) - Method in class technology.sola.json.JsonObject
-
Returns the long for the specified key.
- getNextToken() - Method in class technology.sola.json.tokenizer.JsonTokenizer
- getObject(int) - Method in class technology.sola.json.JsonArray
-
Returns the
JsonObjectat the specified position in thisJsonArray. - getObject(String) - Method in class technology.sola.json.JsonObject
-
Returns the
JsonObjectfor the specified key. - getObject(String, JsonObject) - Method in class technology.sola.json.JsonObject
-
Returns the
JsonObjectfor the specified key. - getObjectClass() - Method in interface technology.sola.json.mapper.JsonMapper
- getObjectOrNull(int) - Method in class technology.sola.json.JsonArray
-
Returns the
JsonObjectat the specified position in thisJsonArray. - getObjectOrNull(String) - Method in class technology.sola.json.JsonObject
-
Returns the
JsonObjectfor the specified key. - getString(int) - Method in class technology.sola.json.JsonArray
-
Returns the String at the specified position in this
JsonArray. - getString(String) - Method in class technology.sola.json.JsonObject
-
Returns the string for the specified key.
- getString(String, String) - Method in class technology.sola.json.JsonObject
-
Returns the string for the specified key.
- getStringOrNull(int) - Method in class technology.sola.json.JsonArray
-
Returns the String at the specified position in this
JsonArray. - getStringOrNull(String) - Method in class technology.sola.json.JsonObject
-
Returns the string for the specified key.
- getType() - Method in class technology.sola.json.JsonElement
H
- hashCode() - Method in record class technology.sola.json.serializer.JsonSerializerConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.json.tokenizer.Token
-
Returns a hash code value for this object.
I
- InvalidCharacterException - Exception in technology.sola.json.tokenizer.exception
-
Exception for when an invalid character is found during tokenization.
- InvalidCharacterException(char, int, int) - Constructor for exception technology.sola.json.tokenizer.exception.InvalidCharacterException
-
Creates a new instance of this exception.
- InvalidControlCharacterException - Exception in technology.sola.json.tokenizer.exception
-
Exception thrown when an invalid control character is found during tokenization.
- InvalidControlCharacterException(int, int) - Constructor for exception technology.sola.json.tokenizer.exception.InvalidControlCharacterException
-
Creates a new instance of this exception.
- InvalidDecimalNumberException - Exception in technology.sola.json.tokenizer.exception
-
Exception thrown when an invalid decimal number is found during tokenization.
- InvalidDecimalNumberException(int, int) - Constructor for exception technology.sola.json.tokenizer.exception.InvalidDecimalNumberException
-
Creates a new instance of this exception.
- InvalidExponentNumberException - Exception in technology.sola.json.tokenizer.exception
-
Exception thrown when an invalid exponential number is found during tokenization.
- InvalidExponentNumberException(int, int) - Constructor for exception technology.sola.json.tokenizer.exception.InvalidExponentNumberException
-
Creates a new instance of this exception.
- InvalidKeywordException - Exception in technology.sola.json.tokenizer.exception
-
Exception for when an invalid keyword is found during tokenization.
- InvalidKeywordException(String, String, char, int, int) - Constructor for exception technology.sola.json.tokenizer.exception.InvalidKeywordException
-
Creates a new instance of this exception.
- InvalidLeadingZeroNumberException - Exception in technology.sola.json.tokenizer.exception
-
Exception thrown when an invalid number starts with a leading zero is found during tokenization.
- InvalidLeadingZeroNumberException(int, int) - Constructor for exception technology.sola.json.tokenizer.exception.InvalidLeadingZeroNumberException
-
Creates a new instance of this exception.
- InvalidNegativeNumberException - Exception in technology.sola.json.tokenizer.exception
-
Exception thrown when an invalid negative number is found during tokenization.
- InvalidNegativeNumberException(int, int) - Constructor for exception technology.sola.json.tokenizer.exception.InvalidNegativeNumberException
-
Creates a new instance of this exception.
- InvalidSyntaxException - Exception in technology.sola.json.parser.exception
-
Exception thrown when invalid syntax is discovered during parsing.
- InvalidSyntaxException(Token, TokenType...) - Constructor for exception technology.sola.json.parser.exception.InvalidSyntaxException
-
Creates a new instance of this exception.
- InvalidUnicodeCharacterException - Exception in technology.sola.json.tokenizer.exception
-
Exception thrown when an invalid Unicode character is found during tokenization.
- InvalidUnicodeCharacterException(int, int) - Constructor for exception technology.sola.json.tokenizer.exception.InvalidUnicodeCharacterException
-
Creates a new instance of this exception.
- isNull() - Method in class technology.sola.json.JsonElement
- isNull(int) - Method in class technology.sola.json.JsonArray
-
Returns true if the
JsonElementat the specified position in thisJsonArrayas of typeJsonElementType.NULL. - isNull(String) - Method in class technology.sola.json.JsonObject
-
Returns true if
JsonElementType.NULLis at a specified key.
J
- JSON_ARRAY - Enum constant in enum class technology.sola.json.JsonElementType
- JSON_OBJECT - Enum constant in enum class technology.sola.json.JsonElementType
- JsonArray - Class in technology.sola.json
-
JsonArray is an array of
JsonElements. - JsonArray() - Constructor for class technology.sola.json.JsonArray
-
Constructs an empty
JsonArraywith an initial capacity of ten. - JsonArray(int) - Constructor for class technology.sola.json.JsonArray
-
Constructs an empty
JsonArraywith specified initial capacity. - JsonArray(Collection<? extends JsonElement>) - Constructor for class technology.sola.json.JsonArray
-
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
- JsonElement - Class in technology.sola.json
-
JsonElement represents any valid JSON value.
- JsonElement() - Constructor for class technology.sola.json.JsonElement
-
Creates a JsonElement with type
JsonElementType.NULL. - JsonElement(Boolean) - Constructor for class technology.sola.json.JsonElement
-
Creates a JsonElement with type
JsonElementType.BOOLEANif value is non-null orJsonElementType.NULLif null. - JsonElement(Double) - Constructor for class technology.sola.json.JsonElement
-
Creates a JsonElement with type
JsonElementType.DOUBLEif value is non-null orJsonElementType.NULLif null. - JsonElement(Float) - Constructor for class technology.sola.json.JsonElement
-
Creates a JsonElement with type
JsonElementType.DOUBLEif value is non-null orJsonElementType.NULLif null. - JsonElement(Integer) - Constructor for class technology.sola.json.JsonElement
-
Creates a JsonElement with type
JsonElementType.LONGif value is non-null orJsonElementType.NULLif null. - JsonElement(Long) - Constructor for class technology.sola.json.JsonElement
-
Creates a JsonElement with type
JsonElementType.LONGif value is non-null orJsonElementType.NULLif null. - JsonElement(String) - Constructor for class technology.sola.json.JsonElement
-
Creates a JsonElement with type
JsonElementType.STRINGif value is non-null orJsonElementType.NULLif null. - JsonElement(JsonArray) - Constructor for class technology.sola.json.JsonElement
-
Creates a JsonElement with type
JsonElementType.JSON_ARRAYif value is non-null orJsonElementType.NULLif null. - JsonElement(JsonObject) - Constructor for class technology.sola.json.JsonElement
-
Creates a JsonElement with type
JsonElementType.JSON_OBJECTif value is non-null orJsonElementType.NULLif null. - JsonElementType - Enum Class in technology.sola.json
-
Represents different types of
JsonElements. - JsonElementTypeException - Exception in technology.sola.json.exception
-
Exception thrown when
JsonElementis used unexpectedly. - JsonElementTypeException(JsonElementType, JsonElementType) - Constructor for exception technology.sola.json.exception.JsonElementTypeException
-
Creates a new instance of this exception.
- JsonMapper<T> - Interface in technology.sola.json.mapper
-
JsonMapper defines how a class will be converted to and from
JsonObjects. - JsonObject - Class in technology.sola.json
-
JsonObject is a
MapofJsonElement. - JsonObject() - Constructor for class technology.sola.json.JsonObject
-
Constructs an empty
JsonObjectwith the default initial capacity (16) and the default load factor (0.75). - JsonObject(int) - Constructor for class technology.sola.json.JsonObject
-
Constructs an empty
JsonObjectwith the specified initial capacity and the default load factor (0.75). - JsonObject(int, float) - Constructor for class technology.sola.json.JsonObject
-
Constructs an empty
JsonObjectwith the specified initial capacity and the specified load factor. - JsonParser - Class in technology.sola.json.parser
-
A JSON parser implementation.
- JsonParser(JsonTokenizer) - Constructor for class technology.sola.json.parser.JsonParser
-
Creates a new instance using the provided
JsonTokenizer. - JsonSerializer - Class in technology.sola.json.serializer
- JsonSerializer(JsonSerializerConfig) - Constructor for class technology.sola.json.serializer.JsonSerializer
-
Creates an instance of JsonSerializer with desired
JsonSerializerConfig. - JsonSerializerConfig - Record Class in technology.sola.json.serializer
-
Holds configuration properties for
JsonSerializer. - JsonSerializerConfig(int) - Constructor for record class technology.sola.json.serializer.JsonSerializerConfig
-
Creates an instance of a
JsonSerializerConfigrecord class. - JsonTokenizer - Class in technology.sola.json.tokenizer
-
A JSON tokenizer implementation.
- JsonTokenizer(String) - Constructor for class technology.sola.json.tokenizer.JsonTokenizer
-
Creates a
JsonTokenizerfor the specified string.
L
- L_BRACKET - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
[ - L_CURLY - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
{ - line() - Method in record class technology.sola.json.tokenizer.Token
-
Returns the value of the
linerecord component. - LONG - Enum constant in enum class technology.sola.json.JsonElementType
-
Long or integer.
M
- merge(JsonObject) - Method in class technology.sola.json.JsonObject
-
Merges this
JsonObjectwith another resulting in a newJsonObject.
N
- NULL - Enum constant in enum class technology.sola.json.JsonElementType
-
null. - NULL - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
null - NULL - Static variable in class technology.sola.json.JsonElement
-
Represents the JSON null value.
- NUMBER - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
((-[1-9])|0)[0-9]+(.[0-9]+)?([eE][-+]?[0-9]+)
P
- parse() - Method in class technology.sola.json.parser.JsonParser
-
Parses using the provided
JsonTokenizer. - parse(String) - Method in class technology.sola.json.SolaJson
-
Parses a JSON string into a
JsonElement. - parse(String, JsonMapper<T>) - Method in class technology.sola.json.SolaJson
-
Parses a JSON string into an object of type T using a
JsonMapper. - parseList(String, JsonMapper<T>) - Method in class technology.sola.json.SolaJson
-
Parses a JSON string into a
Listof type T using aJsonMapper. - put(String, boolean) - Method in class technology.sola.json.JsonObject
-
Associates a boolean with a specified key.
- put(String, double) - Method in class technology.sola.json.JsonObject
-
Associates a double with a specified key.
- put(String, float) - Method in class technology.sola.json.JsonObject
-
Associates a float with a specified key.
- put(String, int) - Method in class technology.sola.json.JsonObject
-
Associates an integer with a specified key.
- put(String, long) - Method in class technology.sola.json.JsonObject
-
Associates a
longwith a specified key. - put(String, Boolean) - Method in class technology.sola.json.JsonObject
-
Associates a boolean with a specified key.
- put(String, Double) - Method in class technology.sola.json.JsonObject
-
Associates a double with a specified key.
- put(String, Float) - Method in class technology.sola.json.JsonObject
-
Associates a float with a specified key.
- put(String, Integer) - Method in class technology.sola.json.JsonObject
-
Associates an integer with a specified key.
- put(String, Long) - Method in class technology.sola.json.JsonObject
-
Associates a
longwith a specified key. - put(String, String) - Method in class technology.sola.json.JsonObject
-
Associates a string with a specified key.
- put(String, JsonArray) - Method in class technology.sola.json.JsonObject
-
Associates a
JsonArraywith a specified key. - put(String, JsonElement) - Method in class technology.sola.json.JsonObject
- put(String, JsonObject) - Method in class technology.sola.json.JsonObject
-
Associates a
JsonObjectwith a specified key. - putNull(String) - Method in class technology.sola.json.JsonObject
R
- R_BRACKET - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
] - R_CURLY - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
}
S
- serialize(JsonArray) - Method in class technology.sola.json.serializer.JsonSerializer
-
Serializes a
JsonArrayto a String using the currentJsonSerializerConfig. - serialize(JsonElement) - Method in class technology.sola.json.serializer.JsonSerializer
-
Serializes a
JsonElementto a String using the currentJsonSerializerConfig. - serialize(JsonObject) - Method in class technology.sola.json.serializer.JsonSerializer
-
Serializes a
JsonObjectto a String using the currentJsonSerializerConfig. - SolaJson - Class in technology.sola.json
-
SolaJson contains methods for parsing strings into
JsonElements and serializingJsonElements into strings. - SolaJson() - Constructor for class technology.sola.json.SolaJson
-
Creates a new SolaJson instance with default
JsonSerializerConfig. - SolaJson(JsonSerializerConfig) - Constructor for class technology.sola.json.SolaJson
-
Creates a new SolaJson instance with desired
JsonSerializerConfig. - SolaJsonErrorWithLineAndColumn - Interface in technology.sola.json.exception
-
SolaJsonErrorWithLineAndColumn contains general information about an error that happened during JSON operations.
- spaces() - Method in record class technology.sola.json.serializer.JsonSerializerConfig
-
Returns the value of the
spacesrecord component. - STRING - Enum constant in enum class technology.sola.json.JsonElementType
-
Sting of characters.
- STRING - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
" (Any codepoint except " or \ or control characters) " - stringify(List<T>, JsonMapper<T>) - Method in class technology.sola.json.SolaJson
-
Serializes a list of type T objects to a string using a
JsonMapper. - stringify(JsonArray) - Method in class technology.sola.json.SolaJson
-
Serializes a
JsonArray. - stringify(JsonObject) - Method in class technology.sola.json.SolaJson
-
Serializes a
JsonObject. - stringify(T, JsonMapper<T>) - Method in class technology.sola.json.SolaJson
-
Serializes an object of type T to a string using a
JsonMapper. - StringNotClosedException - Exception in technology.sola.json.tokenizer.exception
-
Exception thrown when a string was discovered to be not closed during tokenization.
- StringNotClosedException(int, int) - Constructor for exception technology.sola.json.tokenizer.exception.StringNotClosedException
-
Creates a new instance of this exception.
T
- technology.sola.json - module technology.sola.json
-
Defines the sola-json API.
- technology.sola.json - package technology.sola.json
-
This package provides the core classes for sola-json.
- technology.sola.json.exception - package technology.sola.json.exception
-
This package provides various exceptions for errors that may happen during various sola-json operations.
- technology.sola.json.mapper - package technology.sola.json.mapper
-
This package provides classes for mapping between Java objects and JSON.
- technology.sola.json.parser - package technology.sola.json.parser
-
This package provides functionality for parsing JSON using a
JsonTokenizer. - technology.sola.json.parser.exception - package technology.sola.json.parser.exception
-
This package provides various exceptions for errors that may happen during parsing.
- technology.sola.json.serializer - package technology.sola.json.serializer
- technology.sola.json.tokenizer - package technology.sola.json.tokenizer
-
This package provides functionality for tokenizing a JSON string.
- technology.sola.json.tokenizer.exception - package technology.sola.json.tokenizer.exception
-
This package provides various exceptions for errors that may happen during tokenization.
- toJson(List<T>) - Method in interface technology.sola.json.mapper.JsonMapper
- toJson(T) - Method in interface technology.sola.json.mapper.JsonMapper
-
Converts an object of type T into a
JsonObject. - Token - Record Class in technology.sola.json.tokenizer
-
Creates a new token instance of
TokenTypewith value. - Token(TokenType, int, int) - Constructor for record class technology.sola.json.tokenizer.Token
-
Creates a new token instance of
TokenTypethat does not have a value. - Token(TokenType, String, int, int) - Constructor for record class technology.sola.json.tokenizer.Token
-
Creates an instance of a
Tokenrecord class. - TokenType - Enum Class in technology.sola.json.tokenizer
-
Tokens that
JsonTokenizerwill recognize. - toList(JsonArray) - Method in interface technology.sola.json.mapper.JsonMapper
- toObject(JsonObject) - Method in interface technology.sola.json.mapper.JsonMapper
-
Converts a
JsonObjectinto an object of type T. - toString() - Method in class technology.sola.json.JsonArray
-
Formats this
JsonArrayas a string with no indentation. - toString() - Method in class technology.sola.json.JsonElement
-
Formats this
JsonElementas a string with no indentation. - toString() - Method in class technology.sola.json.JsonObject
-
Formats this
JsonObjectas a string with no indentation. - toString() - Method in record class technology.sola.json.serializer.JsonSerializerConfig
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.json.tokenizer.Token
-
Returns a string representation of this record class.
- toString(int) - Method in class technology.sola.json.JsonArray
-
Formats this
JsonArrayas a string with specified number of spaces for indentation. - toString(int) - Method in class technology.sola.json.JsonElement
-
Formats this
JsonElementas a string with specified spaces for indentation. - toString(int) - Method in class technology.sola.json.JsonObject
-
Formats this
JsonObjectas a string with specified spaces for indentation. - TRUE - Enum constant in enum class technology.sola.json.tokenizer.TokenType
-
true - type() - Method in record class technology.sola.json.tokenizer.Token
-
Returns the value of the
typerecord component.
V
- value() - Method in record class technology.sola.json.tokenizer.Token
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class technology.sola.json.JsonElementType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.json.tokenizer.TokenType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class technology.sola.json.JsonElementType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.json.tokenizer.TokenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form