- add(Enum) - Method in class jodd.json.JsonArray
-
Adds an enum to the JSON array.
- add(CharSequence) - Method in class jodd.json.JsonArray
-
Adds a CharSequence to the JSON array.
- add(String) - Method in class jodd.json.JsonArray
-
Adds a string to the JSON array.
- add(Integer) - Method in class jodd.json.JsonArray
-
Adds an integer to the JSON array.
- add(Long) - Method in class jodd.json.JsonArray
-
Adds a long to the JSON array.
- add(Double) - Method in class jodd.json.JsonArray
-
Adds a double to the JSON array.
- add(Float) - Method in class jodd.json.JsonArray
-
Adds a float to the JSON array.
- add(Boolean) - Method in class jodd.json.JsonArray
-
Adds a boolean to the JSON array.
- add(JsonObject) - Method in class jodd.json.JsonArray
-
Adds a JSON object to the JSON array.
- add(JsonArray) - Method in class jodd.json.JsonArray
-
Adds another JSON array to the JSON array.
- add(byte[]) - Method in class jodd.json.JsonArray
-
Adds a binary value to the JSON array.
- add(Object) - Method in class jodd.json.JsonArray
-
Adds an object to the JSON array.
- add(Object) - Method in class jodd.json.LazyList
-
- addAll(JsonArray) - Method in class jodd.json.JsonArray
-
Appends all of the elements in the specified array to the end of this JSON array.
- addNull() - Method in class jodd.json.JsonArray
-
Adds a null value to the JSON array.
- allowAllClasses() - Method in class jodd.json.JsonParser
-
Removes the whitelist of allowed classes.
- allowClass(String) - Method in class jodd.json.JsonParser
-
Adds a wildcard pattern for white-listing classes.
- annotationType - Variable in class jodd.json.meta.JSONAnnotationValues
-
- annotationType() - Method in class jodd.json.meta.JSONAnnotationValues
-
- ARRAYLIST_SUPPLIER - Static variable in class jodd.json.JsonParserBase
-
- ArraysJsonSerializer<K> - Class in jodd.json.impl
-
Arrays serializer.
- ArraysJsonSerializer() - Constructor for class jodd.json.impl.ArraysJsonSerializer
-
- generifyMap(Map<Object, Object>, Class<K>, Class<V>) - Method in class jodd.json.MapToBean
-
Change map elements to match key and value types.
- get(K[], int) - Method in class jodd.json.impl.ArraysJsonSerializer
-
Returns array's element at given index.
- get(int) - Method in class jodd.json.LazyList
-
- get(Object) - Method in class jodd.json.LazyMap
-
- get() - Static method in class jodd.json.meta.JsonAnnotationManager
-
Returns instance of this class.
- get(int) - Method in class jodd.json.Path
-
Returns path chunk at given index.
- get() - Static method in class jodd.json.TypeJsonSerializerMap
-
Returns default instance.
- getAltPath() - Method in class jodd.json.Path
-
Returns alternative path.
- getBinary(int) - Method in class jodd.json.JsonArray
-
Returns the byte[] at position pos in the array.
- getBinary(String) - Method in class jodd.json.JsonObject
-
Returns the binary value with the specified key.
- getBinary(String, byte[]) - Method in class jodd.json.JsonObject
-
- getBoolean(int) - Method in class jodd.json.JsonArray
-
Returns the boolean at position pos in the array.
- getBoolean(String) - Method in class jodd.json.JsonObject
-
Returns the boolean value with the specified key.
- getBoolean(String, Boolean) - Method in class jodd.json.JsonObject
-
- getDouble(int) - Method in class jodd.json.JsonArray
-
Returns the double at position pos in the array.
- getDouble(String) - Method in class jodd.json.JsonObject
-
Returns the double value with the specified key.
- getDouble(String, Double) - Method in class jodd.json.JsonObject
-
- getFloat(int) - Method in class jodd.json.JsonArray
-
Returns the Float at position pos in the array.
- getFloat(String) - Method in class jodd.json.JsonObject
-
Returns the float value with the specified key.
- getFloat(String, Float) - Method in class jodd.json.JsonObject
-
- getIndex() - Method in class jodd.json.JsonValueContext
-
Returns current index.
- getInteger(int) - Method in class jodd.json.JsonArray
-
Returns the integer at position pos in the array.
- getInteger(String) - Method in class jodd.json.JsonObject
-
returns the integer value with the specified key.
- getInteger(String, Integer) - Method in class jodd.json.JsonObject
-
- getJsonArray(int) - Method in class jodd.json.JsonArray
-
Returns the JsonArray at position pos in the array.
- getJsonArray(String) - Method in class jodd.json.JsonObject
-
Returns the
JsonArray value with the specified key
- getJsonArray(String, JsonArray) - Method in class jodd.json.JsonObject
-
- getJsonObject(int) - Method in class jodd.json.JsonArray
-
Retruns the JsonObject at position pos in the array.
- getJsonObject(String) - Method in class jodd.json.JsonObject
-
Returns the JsonObject value with the specified key.
- getJsonObject(String, JsonObject) - Method in class jodd.json.JsonObject
-
- getJsonSerializer() - Method in class jodd.json.JsonContext
-
- getLength(K[]) - Method in class jodd.json.impl.ArraysJsonSerializer
-
Returns array's length.
- getLong(int) - Method in class jodd.json.JsonArray
-
Returns the long at position pos in the array.
- getLong(String) - Method in class jodd.json.JsonObject
-
Returns the long value with the specified key.
- getLong(String, Long) - Method in class jodd.json.JsonObject
-
- getPath() - Method in class jodd.json.JsonContext
-
Returns current path.
- getPropertyName() - Method in class jodd.json.JsonValueContext
-
Returns current property name.
- getString(int) - Method in class jodd.json.JsonArray
-
Returns the string at position pos in the array.
- getString(String) - Method in class jodd.json.JsonObject
-
Returns the string value with the specified key.
- getString(String, String) - Method in class jodd.json.JsonObject
-
- getValue(int) - Method in class jodd.json.JsonArray
-
Returns the object value at position pos in the array.
- getValue(String) - Method in class jodd.json.JsonObject
-
Returns the value with the specified key, as an object.
- getValue(String, T) - Method in class jodd.json.JsonObject
-
- getValue() - Method in class jodd.json.JsonValueContext
-
Returns current object value.
- growAndCopy() - Method in class jodd.json.JsonParser
-
Grows text array when text.length == textLen.
- growEmpty() - Method in class jodd.json.JsonParser
-
Grows empty text array.
- jodd.json - package jodd.json
-
Light, but powerful JSON parser and serializers.
- jodd.json.impl - package jodd.json.impl
-
Various JSON serializer implementations.
- jodd.json.meta - package jodd.json.meta
-
Annotations used by JSON serializer.
- JSON - Annotation Type in jodd.json.meta
-
JSON annotation defines if some property has to be included or excluded
from the serialization.
- JsonAnnotationManager - Class in jodd.json.meta
-
Cached includes and excludes annotation data per type.
- JsonAnnotationManager() - Constructor for class jodd.json.meta.JsonAnnotationManager
-
- JSONAnnotationValues - Class in jodd.json.meta
-
- JsonArray - Class in jodd.json
-
Representation of JSON array.
- JsonArray() - Constructor for class jodd.json.JsonArray
-
Creates an empty instance.
- JsonArray(List) - Constructor for class jodd.json.JsonArray
-
Creates an instance from a List.
- JsonArraySerializer - Class in jodd.json.impl
-
- JsonArraySerializer() - Constructor for class jodd.json.impl.JsonArraySerializer
-
- JsonContext - Class in jodd.json
-
JSON context used during serialization for building the JSON string.
- JsonContext(JsonSerializer, Appendable) - Constructor for class jodd.json.JsonContext
-
- jsonContext - Variable in class jodd.json.TypeJsonVisitor
-
- JsonException - Exception in jodd.json
-
JSON exception.
- JsonException(String) - Constructor for exception jodd.json.JsonException
-
- JsonException(Throwable) - Constructor for exception jodd.json.JsonException
-
- JsonException(String, Throwable) - Constructor for exception jodd.json.JsonException
-
- jsonNames - Variable in class jodd.json.meta.TypeData
-
- JsonObject - Class in jodd.json
-
Representation of JSON object.
- JsonObject() - Constructor for class jodd.json.JsonObject
-
Create a new, empty instance.
- JsonObject(Map<String, Object>) - Constructor for class jodd.json.JsonObject
-
Create an instance from a Map.
- JsonObjectSerializer - Class in jodd.json.impl
-
- JsonObjectSerializer() - Constructor for class jodd.json.impl.JsonObjectSerializer
-
- JsonParser - Class in jodd.json
-
Simple, developer-friendly JSON parser.
- JsonParser() - Constructor for class jodd.json.JsonParser
-
- jsonParser - Variable in class jodd.json.MapToBean
-
- JsonParser.Defaults - Class in jodd.json
-
- JsonParserBase - Class in jodd.json
-
Just a base class of
JsonParser that contains
various utilities, to reduce the size of a parser.
- JsonParserBase(boolean) - Constructor for class jodd.json.JsonParserBase
-
- jsonSerializer - Variable in class jodd.json.JsonContext
-
- JsonSerializer - Class in jodd.json
-
JSON serializer.
- JsonSerializer() - Constructor for class jodd.json.JsonSerializer
-
- JsonSerializer.Defaults - Class in jodd.json
-
- JsonValueContext - Class in jodd.json
-
Context of current serialized value.
- JsonValueContext(Object) - Constructor for class jodd.json.JsonValueContext
-
- JsonWriter - Class in jodd.json
-
Simple JSON writer.
- JsonWriter(Appendable, boolean) - Constructor for class jodd.json.JsonWriter
-
- JulianDateSerializer - Class in jodd.json.impl
-
Serializer for JDateTime.
- JulianDateSerializer() - Constructor for class jodd.json.impl.JulianDateSerializer
-
- parse(String, Class<T>) - Method in class jodd.json.JsonParser
-
Parses input JSON as given type.
- parse(String) - Method in class jodd.json.JsonParser
-
Parses input JSON string.
- parse(char[], Class<T>) - Method in class jodd.json.JsonParser
-
Parses input JSON as given type.
- parse(char[]) - Method in class jodd.json.JsonParser
-
Parses input JSON char array.
- parse(String) - Static method in class jodd.json.Path
-
Parses input dot-separated string that represents a path.
- parseArrayContent(Class, Class) - Method in class jodd.json.JsonParser
-
Parses arrays, once when open bracket has been consumed.
- parseAsJsonArray(String) - Method in class jodd.json.JsonParser
-
Parses input JSON to
JsonArray, special case of parsing.
- parseAsJsonObject(String) - Method in class jodd.json.JsonParser
-
- parseAsList(String, Class<T>) - Method in class jodd.json.JsonParser
-
Parses input JSON to a list with specified component type.
- parseAsMap(String, Class<K>, Class<V>) - Method in class jodd.json.JsonParser
-
Parses input JSON to a list with specified key and value types.
- parseNumber() - Method in class jodd.json.JsonParser
-
Parses JSON numbers.
- parseObjectContent(Class, Class, Class) - Method in class jodd.json.JsonParser
-
Parses object, once when open bracket has been consumed.
- parserFor(Class<? extends Annotation>) - Static method in class jodd.json.meta.JSONAnnotationValues
-
Shortcut methods for given annotation class.
- parseString() - Method in class jodd.json.JsonParser
-
Parses a string.
- parseStringContent(char) - Method in class jodd.json.JsonParser
-
Parses string content, once when starting quote has been consumed.
- parseUnicode() - Method in class jodd.json.JsonParser
-
Parses 4 characters and returns unicode character.
- parseUnquotedStringContent() - Method in class jodd.json.JsonParser
-
Parses un-quoted string content.
- parseValue(Class, Class, Class) - Method in class jodd.json.JsonParser
-
Parses a JSON value.
- path - Variable in class jodd.json.JsonContext
-
- path - Variable in class jodd.json.JsonParser
-
- Path - Class in jodd.json
-
Path to a property from JSON root.
- Path() - Constructor for class jodd.json.Path
-
- Path(CharSequence...) - Constructor for class jodd.json.Path
-
Creates path from given path elements.
- PathQuery - Class in jodd.json
-
Path query is used to match properties with some Path.
- PathQuery(String, boolean) - Constructor for class jodd.json.PathQuery
-
- pathSerializersMap - Variable in class jodd.json.JsonSerializer
-
- peekValueContext() - Method in class jodd.json.JsonContext
-
- pop() - Method in class jodd.json.Path
-
Pop last element from the path.
- popName() - Method in class jodd.json.JsonWriter
-
Writes stored name to JSON string.
- popValue() - Method in class jodd.json.JsonContext
-
Removes object from current bag, indicating it is not anymore in the path.
- PrettyJsonSerializer - Class in jodd.json
-
- PrettyJsonSerializer() - Constructor for class jodd.json.PrettyJsonSerializer
-
- propertyName - Variable in class jodd.json.JsonValueContext
-
- push(CharSequence) - Method in class jodd.json.Path
-
Push element to the path.
- push(CharSequence, CharSequence) - Method in class jodd.json.Path
-
- pushedComma - Variable in class jodd.json.JsonWriter
-
- pushedName - Variable in class jodd.json.JsonWriter
-
- pushName(String, boolean) - Method in class jodd.json.JsonContext
-
Stores name to temporary stack.
- pushName(String, boolean) - Method in class jodd.json.JsonWriter
-
Stores name to temporary stack.
- pushValue(Object) - Method in class jodd.json.JsonContext
-
Returns true if object has been already processed during the serialization.
- put(String, Enum) - Method in class jodd.json.JsonObject
-
Puts an Enum into the JSON object with the specified key.
- put(String, CharSequence) - Method in class jodd.json.JsonObject
-
Puts an CharSequence into the JSON object with the specified key.
- put(String, String) - Method in class jodd.json.JsonObject
-
Puts a string into the JSON object with the specified key.
- put(String, Integer) - Method in class jodd.json.JsonObject
-
Puts an integer into the JSON object with the specified key.
- put(String, Long) - Method in class jodd.json.JsonObject
-
Puts a long into the JSON object with the specified key.
- put(String, Double) - Method in class jodd.json.JsonObject
-
Puts a double into the JSON object with the specified key.
- put(String, Float) - Method in class jodd.json.JsonObject
-
Puts a float into the JSON object with the specified key.
- put(String, Boolean) - Method in class jodd.json.JsonObject
-
Puts a boolean into the JSON object with the specified key.
- put(String, JsonObject) - Method in class jodd.json.JsonObject
-
Puts another JSON object into the JSON object with the specified key.
- put(String, JsonArray) - Method in class jodd.json.JsonObject
-
Puts a
JsonArray into the JSON object with the specified key.
- put(String, byte[]) - Method in class jodd.json.JsonObject
-
Puts a byte[] into the JSON object with the specified key.
- put(String, Object) - Method in class jodd.json.JsonObject
-
Puts an object into the JSON object with the specified key.
- put(Object, Object) - Method in class jodd.json.LazyMap
-
- putAll(Map) - Method in class jodd.json.LazyMap
-
- putNull(String) - Method in class jodd.json.JsonObject
-
Puts a null value into the JSON object with the specified key.
- serialize() - Method in class jodd.json.BeanSerializer
-
Serializes a bean.
- serialize(JsonContext, boolean[]) - Method in class jodd.json.impl.BooleanArrayJsonSerializer
-
- serialize(JsonContext, Boolean) - Method in class jodd.json.impl.BooleanJsonSerializer
-
- serialize(JsonContext, byte[]) - Method in class jodd.json.impl.ByteArrayJsonSerializer
-
- serialize(JsonContext, Calendar) - Method in class jodd.json.impl.CalendarJsonSerializer
-
- serialize(JsonContext, Character) - Method in class jodd.json.impl.CharacterJsonSerializer
-
- serialize(JsonContext, CharSequence) - Method in class jodd.json.impl.CharSequenceJsonSerializer
-
- serialize(JsonContext, Class) - Method in class jodd.json.impl.ClassJsonSerializer
-
- serialize(JsonContext, Date) - Method in class jodd.json.impl.DateJsonSerializer
-
- serialize(JsonContext, double[]) - Method in class jodd.json.impl.DoubleArrayJsonSerializer
-
- serialize(JsonContext, Double) - Method in class jodd.json.impl.DoubleJsonSerializer
-
- serialize(JsonContext, Enum) - Method in class jodd.json.impl.EnumJsonSerializer
-
- serialize(JsonContext, File) - Method in class jodd.json.impl.FileJsonSerializer
-
- serialize(JsonContext, float[]) - Method in class jodd.json.impl.FloatArrayJsonSerializer
-
- serialize(JsonContext, Float) - Method in class jodd.json.impl.FloatJsonSerializer
-
- serialize(JsonContext, int[]) - Method in class jodd.json.impl.IntArrayJsonSerializer
-
- serialize(JsonContext, JsonArray) - Method in class jodd.json.impl.JsonArraySerializer
-
- serialize(JsonContext, JulianDate) - Method in class jodd.json.impl.JulianDateSerializer
-
- serialize(JsonContext, LocalDate) - Method in class jodd.json.impl.LocalDateSerializer
-
- serialize(JsonContext, LocalDateTime) - Method in class jodd.json.impl.LocalDateTimeSerializer
-
- serialize(JsonContext, LocalTime) - Method in class jodd.json.impl.LocalTimeSerializer
-
- serialize(JsonContext, long[]) - Method in class jodd.json.impl.LongArrayJsonSerializer
-
- serialize(JsonContext, Number) - Method in class jodd.json.impl.NumberJsonSerializer
-
- serialize(JsonContext, UUID) - Method in class jodd.json.impl.UUIDJsonSerializer
-
- serialize(JsonContext, T) - Method in class jodd.json.impl.ValueJsonSerializer
-
Detects circular dependencies and pushes value as current
type context.
- serialize(Object) - Method in class jodd.json.JsonContext
-
- serialize(Object, Appendable) - Method in class jodd.json.JsonSerializer
-
Serializes object into provided appendable.
- serialize(Object) - Method in class jodd.json.JsonSerializer
-
Serializes object into source.
- serialize(JsonContext, T) - Method in interface jodd.json.TypeJsonSerializer
-
Serializes a value and writes a JSON content.
- serializeKeyValue(JsonContext, Path, Object, Object, int) - Method in class jodd.json.impl.KeyValueJsonSerializer
-
Serializes key and a value.
- serializerResolver - Variable in class jodd.json.JsonContext
-
- serializerResolver - Variable in class jodd.json.JsonSerializer
-
- serializeToCharSequence(Object) - Method in class jodd.json.JsonSerializer
-
Serializes the object, but returns the CharSequence.
- serializeValue(JsonContext, Object) - Method in class jodd.json.impl.ArraysJsonSerializer
-
- serializeValue(JsonContext, Object) - Method in class jodd.json.impl.EmptyJsonSerializer
-
- serializeValue(JsonContext, Iterable) - Method in class jodd.json.impl.IterableJsonSerializer
-
- serializeValue(JsonContext, JsonObject) - Method in class jodd.json.impl.JsonObjectSerializer
-
- serializeValue(JsonContext, Map<?, ?>) - Method in class jodd.json.impl.MapJsonSerializer
-
- serializeValue(JsonContext, Object) - Method in class jodd.json.impl.ObjectJsonSerializer
-
- serializeValue(JsonContext, T) - Method in class jodd.json.impl.ValueJsonSerializer
-
Performs the serialization of the value.
- set(int, Object) - Method in class jodd.json.LazyList
-
- setClassMetadataName(String) - Method in class jodd.json.JsonParser
-
Sets local class meta-data name.
- setClassMetadataName(String) - Method in class jodd.json.JsonSerializer
-
Sets local class meta-data name.
- setJsonAnnotation(Class<? extends Annotation>) - Method in class jodd.json.meta.JsonAnnotationManager
-
Sets different annotation.
- setPropertyName(String) - Method in class jodd.json.JsonValueContext
-
Stores current property name.
- setSerializationSubclassAware(boolean) - Method in class jodd.json.meta.JsonAnnotationManager
-
When set searches for first annotated class or interface and use it's data.
- size() - Method in class jodd.json.JsonArray
-
Returns the number of values in this JSON array.
- size() - Method in class jodd.json.JsonObject
-
Returns the number of entries in the JSON object.
- size() - Method in class jodd.json.LazyList
-
- size() - Method in class jodd.json.LazyMap
-
- skipWhiteSpaces() - Method in class jodd.json.JsonParser
-
Skips whitespaces.
- source - Variable in class jodd.json.BeanSerializer
-
- stream() - Method in class jodd.json.JsonArray
-
Returns a Stream over the entries in the JSON array
- stream() - Method in class jodd.json.JsonObject
-
Returns a stream of the entries in the JSON object.
- strict - Variable in class jodd.json.meta.JSONAnnotationValues
-
- strict() - Method in class jodd.json.meta.JSONAnnotationValues
-
- strict - Variable in class jodd.json.meta.TypeData
-
- strictStringEncoding - Static variable in class jodd.json.JsonSerializer.Defaults
-
Sets the strict JSON encoding.
- strictStringEncoding - Variable in class jodd.json.JsonSerializer
-
- strictStringEncoding(boolean) - Method in class jodd.json.JsonSerializer
-
Specifies strict string encoding.
- strictStringEncoding - Variable in class jodd.json.JsonWriter
-
- strictTypes - Static variable in class jodd.json.JsonParser.Defaults
-
- strictTypes(boolean) - Method in class jodd.json.JsonParser
-
Defines if type conversion is strict.
- strictTypes - Variable in class jodd.json.JsonParserBase
-
- syntaxError(String) - Method in class jodd.json.JsonParser
-