A B C D E F G H I J K L M N O P R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(byte[]) - Method in class jodd.json.JsonArray
-
Adds a binary value to the JSON array.
- add(Boolean) - Method in class jodd.json.JsonArray
-
Adds a boolean to the JSON array.
- add(CharSequence) - Method in class jodd.json.JsonArray
-
Adds a
CharSequenceto the JSON array. - add(Double) - Method in class jodd.json.JsonArray
-
Adds a double to the JSON array.
- add(Enum) - Method in class jodd.json.JsonArray
-
Adds an enum to the JSON array.
- add(Float) - Method in class jodd.json.JsonArray
-
Adds a float 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(Object) - Method in class jodd.json.JsonArray
-
Adds an object to the JSON array.
- add(Object) - Method in class jodd.json.LazyList
- add(String) - Method in class jodd.json.JsonArray
-
Adds a string to the JSON array.
- add(JsonArray) - Method in class jodd.json.JsonArray
-
Adds another JSON array to the JSON array.
- add(JsonObject) - Method in class jodd.json.JsonArray
-
Adds a JSON object to the JSON array.
- 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
nullvalue 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
wildcardpattern 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
B
- bag - Variable in class jodd.json.JsonContext
- bagSize - Variable in class jodd.json.JsonContext
- BeanSerializer - Class in jodd.json
-
Bean visitor that serializes properties of a bean.
- BeanSerializer(JsonContext, Object) - Constructor for class jodd.json.BeanSerializer
- BooleanArrayJsonSerializer - Class in jodd.json.impl
-
Serializes boolean arrays.
- BooleanArrayJsonSerializer() - Constructor for class jodd.json.impl.BooleanArrayJsonSerializer
- BooleanJsonSerializer - Class in jodd.json.impl
-
Boolean serializer.
- BooleanJsonSerializer() - Constructor for class jodd.json.impl.BooleanJsonSerializer
- ByteArrayJsonSerializer - Class in jodd.json.impl
-
Serializes byte arrays.
- ByteArrayJsonSerializer() - Constructor for class jodd.json.impl.ByteArrayJsonSerializer
C
- cache - Variable in class jodd.json.TypeJsonSerializerMap
- CalendarJsonSerializer - Class in jodd.json.impl
-
Calendar serializer.
- CalendarJsonSerializer() - Constructor for class jodd.json.impl.CalendarJsonSerializer
- CharacterJsonSerializer - Class in jodd.json.impl
-
Character serializer.
- CharacterJsonSerializer() - Constructor for class jodd.json.impl.CharacterJsonSerializer
- CharSequenceJsonSerializer - Class in jodd.json.impl
-
CharSequence serializers.
- CharSequenceJsonSerializer() - Constructor for class jodd.json.impl.CharSequenceJsonSerializer
- ClassJsonSerializer - Class in jodd.json.impl
-
Class serializer.
- ClassJsonSerializer() - Constructor for class jodd.json.impl.ClassJsonSerializer
- classMetadataName - Variable in class jodd.json.JsonParser
- classMetadataName - Static variable in class jodd.json.JsonParser.Defaults
-
Specifies if 'class' metadata is used and its value.
- classMetadataName - Variable in class jodd.json.JsonSerializer
- classMetadataName - Static variable in class jodd.json.JsonSerializer.Defaults
-
Specifies if 'class' metadata is used and its value.
- classMetadataName - Variable in class jodd.json.MapToBean
- classMetadataName - Variable in class jodd.json.TypeJsonVisitor
- classnameWhitelist - Variable in class jodd.json.JsonParserBase
- clear() - Method in class jodd.json.JsonArray
-
Removes all entries from the JSON array.
- clear() - Method in class jodd.json.JsonObject
-
Removes all the entries in this JSON object.
- clear() - Method in class jodd.json.LazyList
- clear() - Method in class jodd.json.LazyMap
- clone() - Method in class jodd.json.LazyMap
- clone() - Method in class jodd.json.Path
- consume(char) - Method in class jodd.json.JsonParser
-
Consumes char at current position.
- consumeOneOf(char, char) - Method in class jodd.json.JsonParser
-
Consumes one of the allowed char at current position.
- contains(Object) - Method in class jodd.json.JsonArray
-
Returns
trueif given value exist. - containsKey(Object) - Method in class jodd.json.LazyMap
- containsKey(String) - Method in class jodd.json.JsonObject
-
Returns
trueif the JSON object contain the specified key. - containsValue(Object) - Method in class jodd.json.LazyMap
- CONTENT - jodd.json.impl.FileJsonSerializer.Type
-
File will be serialized with content in Base64 form/
- convert(Object, Class) - Method in class jodd.json.MapToBean
- convert(S) - Method in interface jodd.json.ValueConverter
-
Converts value from source type to target type.
- convertType(Object, Class) - Method in class jodd.json.JsonParserBase
-
Converts type of the given value.
- convs - Variable in class jodd.json.JsonParser
- count - Variable in class jodd.json.TypeJsonVisitor
- create() - Static method in class jodd.json.JsonParser
-
Static ctor.
- create() - Static method in class jodd.json.JsonSerializer
-
Static ctor.
- createJsonContext(Appendable) - Method in class jodd.json.JsonSerializer
-
Creates new JSON context.
- createJsonContext(Appendable) - Method in class jodd.json.PrettyJsonSerializer
- createLazyOne() - Static method in class jodd.json.JsonParser
-
Creates a lazy implementation of the JSON parser.
- createMapToBean(String) - Method in class jodd.json.JsonParserBase
-
Creates new instance of
MapToBean. - createPrettyOne() - Static method in class jodd.json.JsonSerializer
-
Static ctor for
PrettyJsonSerializer.
D
- DateJsonSerializer - Class in jodd.json.impl
-
Date serializer.
- DateJsonSerializer() - Constructor for class jodd.json.impl.DateJsonSerializer
- declared - Variable in class jodd.json.MapToBean
- declared - Variable in class jodd.json.TypeJsonVisitor
- deep - Variable in class jodd.json.JsonSerializer
- deep(boolean) - Method in class jodd.json.JsonSerializer
-
Defines if collections should be followed, i.e.
- deepSerialization - Static variable in class jodd.json.JsonSerializer.Defaults
-
Defines default behavior of a
JsonSerializer. - DEFAULT_CLASS_METADATA_NAME - Static variable in class jodd.json.JsonParser.Defaults
- DEFAULT_CLASS_METADATA_NAME - Static variable in class jodd.json.JsonSerializer.Defaults
- Defaults() - Constructor for class jodd.json.JsonParser.Defaults
- Defaults() - Constructor for class jodd.json.JsonSerializer.Defaults
- DoubleArrayJsonSerializer - Class in jodd.json.impl
-
Serializes double arrays.
- DoubleArrayJsonSerializer() - Constructor for class jodd.json.impl.DoubleArrayJsonSerializer
- DoubleJsonSerializer - Class in jodd.json.impl
- DoubleJsonSerializer() - Constructor for class jodd.json.impl.DoubleJsonSerializer
E
- EmptyJsonSerializer - Class in jodd.json.impl
-
Not a serializer - simply ignores the value and outputs nothing.
- EmptyJsonSerializer() - Constructor for class jodd.json.impl.EmptyJsonSerializer
- entrySet() - Method in class jodd.json.LazyMap
- EnumJsonSerializer - Class in jodd.json.impl
-
Enum serializer.
- EnumJsonSerializer() - Constructor for class jodd.json.impl.EnumJsonSerializer
- equals(Object) - Method in class jodd.json.JsonArray
- equals(Object) - Method in class jodd.json.JsonObject
- equals(Object) - Method in class jodd.json.LazyMap
- equals(Object) - Method in class jodd.json.Path
- equals(Object) - Method in class jodd.json.PathQuery
- exclude(boolean, String...) - Method in class jodd.json.JsonSerializer
-
Adds excludes with optional parent including.
- exclude(String) - Method in class jodd.json.JsonSerializer
-
Adds exclude path query.
- exclude(String...) - Method in class jodd.json.JsonSerializer
-
Adds a list of excluded path queries.
- excludedTypeNames - Static variable in class jodd.json.JsonSerializer.Defaults
-
List of excluded types names for serialization.
- excludedTypeNames - Variable in class jodd.json.JsonSerializer
- excludedTypes - Static variable in class jodd.json.JsonSerializer.Defaults
-
List of excluded types for serialization.
- excludedTypes - Variable in class jodd.json.JsonSerializer
- excludeEmpty - Variable in class jodd.json.JsonContext
- excludeEmpty - Variable in class jodd.json.JsonSerializer
- excludeEmpty(boolean) - Method in class jodd.json.JsonSerializer
-
Excludes empty maps and collections.
- excludeNulls - Variable in class jodd.json.JsonContext
- excludeNulls - Variable in class jodd.json.JsonSerializer
- excludeNulls(boolean) - Method in class jodd.json.JsonSerializer
-
Excludes
nullvalues while serializing. - excludeTypes(Class...) - Method in class jodd.json.JsonSerializer
-
Excludes types.
- excludeTypes(String...) - Method in class jodd.json.JsonSerializer
-
Excludes type names.
- expression - Variable in class jodd.json.PathQuery
F
- fieldNames() - Method in class jodd.json.JsonObject
-
Return the set of field names in the JSON objects.
- FileJsonSerializer - Class in jodd.json.impl
-
File json serializer offers various ways of file to JSON serializations.
- FileJsonSerializer(FileJsonSerializer.Type) - Constructor for class jodd.json.impl.FileJsonSerializer
- FileJsonSerializer.Type - Enum in jodd.json.impl
- findSubclassTypeData(Class) - Method in class jodd.json.meta.JsonAnnotationManager
-
Finds type data of first annotated superclass or interface.
- FloatArrayJsonSerializer - Class in jodd.json.impl
-
Serializes float arrays.
- FloatArrayJsonSerializer() - Constructor for class jodd.json.impl.FloatArrayJsonSerializer
- FloatJsonSerializer - Class in jodd.json.impl
- FloatJsonSerializer() - Constructor for class jodd.json.impl.FloatJsonSerializer
G
- generifyMap(Map<Object, Object>, Class<K>, Class<V>) - Method in class jodd.json.MapToBean
-
Change map elements to match key and value types.
- get() - Static method in class jodd.json.meta.JsonAnnotationManager
-
Returns instance of this class.
- get() - Static method in class jodd.json.TypeJsonParserMap
-
Returns default instance.
- get() - Static method in class jodd.json.TypeJsonSerializerMap
-
Returns default instance.
- get(int) - Method in class jodd.json.LazyList
- get(int) - Method in class jodd.json.Path
-
Returns path chunk at given index.
- get(Object) - Method in class jodd.json.LazyMap
- get(K[], int) - Method in class jodd.json.impl.ArraysJsonSerializer
-
Returns array's element at given index.
- getAltPath() - Method in class jodd.json.Path
-
Returns alternative path.
- getBinary(int) - Method in class jodd.json.JsonArray
-
Returns the byte[] at position
posin 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
-
Like
JsonObject.getBinary(String)but specifies a default value to return if there is no entry. - getBoolean(int) - Method in class jodd.json.JsonArray
-
Returns the boolean at position
posin 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
-
Like
JsonObject.getBoolean(String)but specifies a default value to return if there is no entry. - getDouble(int) - Method in class jodd.json.JsonArray
-
Returns the double at position
posin 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
-
Like
JsonObject.getDouble(String)but specifies a default value to return if there is no entry. - getFloat(int) - Method in class jodd.json.JsonArray
-
Returns the Float at position
posin 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
-
Like
JsonObject.getFloat(String)but specifies a default value to return if there is no entry. - getIndex() - Method in class jodd.json.JsonValueContext
-
Returns current index.
- getInteger(int) - Method in class jodd.json.JsonArray
-
Returns the integer at position
posin 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
-
Like
JsonObject.getInteger(String)but specifies a default value to return if there is no entry. - getJsonArray(int) - Method in class jodd.json.JsonArray
-
Returns the JsonArray at position
posin the array. - getJsonArray(String) - Method in class jodd.json.JsonObject
-
Returns the
JsonArrayvalue with the specified key - getJsonArray(String, JsonArray) - Method in class jodd.json.JsonObject
-
Like
JsonObject.getJsonArray(String)but specifies a default value to return if there is no entry. - getJsonObject(int) - Method in class jodd.json.JsonArray
-
Returns the JsonObject at position
posin the array. - getJsonObject(String) - Method in class jodd.json.JsonObject
-
Returns the
JsonObjectvalue with the specified key. - getJsonObject(String, JsonObject) - Method in class jodd.json.JsonObject
-
Like
JsonObject.getJsonObject(String)but specifies a default value to return if there is no entry. - getJsonSerializer() - Method in class jodd.json.JsonContext
-
Returns
JsonSerializer. - 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
posin 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
-
Like
JsonObject.getLong(String)but specifies a default value to return if there is no entry. - 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
posin 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
-
Like
JsonObject.getString(String)but specifies a default value to return if there is no entry. - getValue() - Method in class jodd.json.JsonValueContext
-
Returns current object value.
- getValue(int) - Method in class jodd.json.JsonArray
-
Returns the object value at position
posin 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
-
Like
JsonObject.getValue(String)but specifies a default value to return if there is no entry. - 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.
H
- hashCode() - Method in class jodd.json.JsonArray
- hashCode() - Method in class jodd.json.JsonObject
- hashCode() - Method in class jodd.json.LazyMap
- hashCode() - Method in class jodd.json.Path
- hashCode() - Method in class jodd.json.PathQuery
- HASHMAP_SUPPLIER - Static variable in class jodd.json.JsonParserBase
- hasNull(int) - Method in class jodd.json.JsonArray
-
Returns
trueif there is anullvalue at given index.
I
- identChar(char) - Method in class jodd.json.PrettyJsonSerializer
-
Sets ident character.
- identSize(int) - Method in class jodd.json.PrettyJsonSerializer
-
Defines ident size in number of
PrettyJsonSerializer.identCharto be used for single indentation. - include - Variable in class jodd.json.meta.JSONAnnotationValues
- include() - Method in annotation type jodd.json.meta.JSON
-
Specifies if a property should be included or excluded from the JSON serialization.
- include() - Method in class jodd.json.meta.JSONAnnotationValues
- include(String) - Method in class jodd.json.JsonSerializer
-
Adds include path query.
- include(String...) - Method in class jodd.json.JsonSerializer
-
Adds a list of included path queries.
- included - Variable in class jodd.json.PathQuery
- incrementIndex() - Method in class jodd.json.JsonValueContext
- index - Variable in class jodd.json.JsonValueContext
- injectValueIntoObject(Object, PropertyDescriptor, Object) - Method in class jodd.json.JsonParserBase
-
Injects value into the targets property.
- input - Variable in class jodd.json.JsonParser
- IntArrayJsonSerializer - Class in jodd.json.impl
-
Serializes int arrays.
- IntArrayJsonSerializer() - Constructor for class jodd.json.impl.IntArrayJsonSerializer
- isEmpty() - Method in class jodd.json.JsonArray
-
Returns
trueif JSON array is empty. - isEmpty() - Method in class jodd.json.JsonObject
-
Returns
trueif JSON object is empty. - isEmpty() - Method in class jodd.json.LazyMap
- isExcludeEmpty() - Method in class jodd.json.JsonContext
- isExcludeNulls() - Method in class jodd.json.JsonContext
-
Returns
trueifnullvalues have to be excluded. - isIncluded() - Method in class jodd.json.PathQuery
-
Returns
trueif this query indicates that matching properties should be included. - isNamePopped() - Method in class jodd.json.JsonWriter
- isPushed - Variable in class jodd.json.JsonWriter
- isWildcard() - Method in class jodd.json.PathQuery
-
Returns
trueif this query contains a wildcard. - IterableJsonSerializer - Class in jodd.json.impl
-
Iterable serializer.
- IterableJsonSerializer() - Constructor for class jodd.json.impl.IterableJsonSerializer
- iterator() - Method in class jodd.json.JsonArray
-
Returns an iterator over the values in the JSON array.
- iterator() - Method in class jodd.json.JsonObject
-
Returns an iterator of the entries in the JSON object.
- iterator() - Method in class jodd.json.LazyList
J
- 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 - Variable in class jodd.json.TypeJsonVisitor
- JsonContext - Class in jodd.json
-
JSON context used during serialization for building the JSON string.
- JsonContext(JsonSerializer, Appendable) - Constructor for class jodd.json.JsonContext
- JsonException - Exception in jodd.json
-
JSON exception.
- JsonException(String) - Constructor for exception jodd.json.JsonException
- JsonException(String, Throwable) - Constructor for exception jodd.json.JsonException
- JsonException(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 - Variable in class jodd.json.MapToBean
- JsonParser - Class in jodd.json
-
Simple, developer-friendly JSON parser.
- JsonParser() - Constructor for class jodd.json.JsonParser
- JsonParser.Defaults - Class in jodd.json
- JsonParserBase - Class in jodd.json
-
Just a base class of
JsonParserthat 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 JulianDate.
- JulianDateSerializer() - Constructor for class jodd.json.impl.JulianDateSerializer
K
- KEYS - Static variable in class jodd.json.JsonParser
-
Map keys.
- keySet() - Method in class jodd.json.LazyMap
- KeyValueJsonSerializer<T> - Class in jodd.json.impl
-
Key value JSON serializer.
- KeyValueJsonSerializer() - Constructor for class jodd.json.impl.KeyValueJsonSerializer
L
- lastValueContext - Variable in class jodd.json.JsonContext
- lazy - Static variable in class jodd.json.JsonParser.Defaults
-
Flag for enabling the lazy mode.
- lazy - Variable in class jodd.json.JsonParser
- lazy(boolean) - Method in class jodd.json.JsonParser
-
Defines how JSON parser works.
- LazyList - Class in jodd.json
-
Similar to
LazyMap, the list elements are resolved only when required. - LazyList() - Constructor for class jodd.json.LazyList
- LAZYLIST_SUPPLIER - Static variable in class jodd.json.JsonParserBase
- LazyMap - Class in jodd.json
-
This map only builds once you ask for a key for the first time.
- LAZYMAP_SUPPLIER - Static variable in class jodd.json.JsonParserBase
- length() - Method in class jodd.json.Path
-
Returns path length.
- list() - Method in class jodd.json.JsonArray
-
Returns the underlying list.
- list() - Method in class jodd.json.LazyList
- listIterator() - Method in class jodd.json.LazyList
- listSupplier - Variable in class jodd.json.JsonParserBase
- LocalDateSerializer - Class in jodd.json.impl
- LocalDateSerializer() - Constructor for class jodd.json.impl.LocalDateSerializer
- LocalDateTimeSerializer - Class in jodd.json.impl
- LocalDateTimeSerializer() - Constructor for class jodd.json.impl.LocalDateTimeSerializer
- LocalTimeSerializer - Class in jodd.json.impl
- LocalTimeSerializer() - Constructor for class jodd.json.impl.LocalTimeSerializer
- LongArrayJsonSerializer - Class in jodd.json.impl
-
Serializes long arrays.
- LongArrayJsonSerializer() - Constructor for class jodd.json.impl.LongArrayJsonSerializer
- lookup(Class) - Method in class jodd.json.TypeJsonParserMap
-
Lookups for the
parserfor given type. - lookup(Class) - Method in class jodd.json.TypeJsonSerializerMap
-
Lookups for the
serializerfor given type. - lookupSerializer(Class) - Method in class jodd.json.TypeJsonSerializerMap
-
Get type serializer from map.
- lookupTypeData(Class) - Method in class jodd.json.meta.JsonAnnotationManager
-
Returns all includes for given type.
- lookupValueConverter() - Method in class jodd.json.JsonParser
-
Lookups for value converter for current path.
- loose - Static variable in class jodd.json.JsonParser.Defaults
-
Default value for loose mode.
- looseMode - Variable in class jodd.json.JsonParser
- looseMode(boolean) - Method in class jodd.json.JsonParser
-
Enables 'loose' mode for parsing.
M
- map - Variable in class jodd.json.TypeJsonParserMap
- map - Variable in class jodd.json.TypeJsonSerializerMap
- map() - Method in class jodd.json.JsonObject
-
Returns the underlying
Mapas is. - map(Class) - Method in class jodd.json.JsonParser
-
Maps a class to JSONs root.
- map(String, Class) - Method in class jodd.json.JsonParser
-
Maps a class to given path.
- map2bean(Map, Class) - Method in class jodd.json.MapToBean
-
Converts map to target type.
- MapJsonSerializer - Class in jodd.json.impl
-
Map serializer.
- MapJsonSerializer() - Constructor for class jodd.json.impl.MapJsonSerializer
- mappings - Variable in class jodd.json.JsonParser
- mapSupplier - Variable in class jodd.json.JsonParserBase
- mapToBean - Variable in class jodd.json.JsonParser
- MapToBean - Class in jodd.json
-
Map to bean converter.
- MapToBean(JsonParserBase, String) - Constructor for class jodd.json.MapToBean
- match(char[]) - Method in class jodd.json.JsonParser
-
Matches char buffer with content on given location.
- matches(Path) - Method in class jodd.json.PathQuery
-
Returns
trueif path matches the query. - matchIgnoredPropertyTypes(Class, boolean, boolean) - Method in class jodd.json.JsonContext
-
Matches property types that are ignored by default.
- matchPathToQueries(boolean) - Method in class jodd.json.JsonContext
-
Matched current path to queries.
- mergeIn(JsonObject) - Method in class jodd.json.JsonObject
-
Merges in another JSON object.
- mergeIn(JsonObject, int) - Method in class jodd.json.JsonObject
-
Merges in another JSON object.
- mergeInDeep(JsonObject) - Method in class jodd.json.JsonObject
-
Merges in another JSON object.
N
- name - Variable in class jodd.json.meta.JSONAnnotationValues
- name() - Method in annotation type jodd.json.meta.JSON
-
Defines different property name for annotated item.
- name() - Method in class jodd.json.meta.JSONAnnotationValues
- NAME - jodd.json.impl.FileJsonSerializer.Type
-
File will be serialized as its name.
- newArrayInstance(Class) - Method in class jodd.json.JsonParserBase
-
Creates new type for JSON array objects.
- newObjectInstance(Class) - Method in class jodd.json.JsonParserBase
-
Creates new object or a
HashMapif type is not specified. - NumberJsonSerializer - Class in jodd.json.impl
- NumberJsonSerializer() - Constructor for class jodd.json.impl.NumberJsonSerializer
O
- ObjectJsonSerializer - Class in jodd.json.impl
-
Main serializer for objects.
- ObjectJsonSerializer() - Constructor for class jodd.json.impl.ObjectJsonSerializer
- of(AnnotationParser, AnnotatedElement) - Static method in class jodd.json.meta.JSONAnnotationValues
-
Shortcut for checking the annotation on annotated element and returning either the values or
null. - onProperty(String, PropertyDescriptor, boolean) - Method in class jodd.json.TypeJsonVisitor
-
Invoked on each property.
- onSerializableProperty(String, Class, Object) - Method in class jodd.json.BeanSerializer
-
Invoked on serializable properties, that have passed all the rules.
- onSerializableProperty(String, PropertyDescriptor) - Method in class jodd.json.BeanSerializer
-
Reads property value and
serializes it. - onSerializableProperty(String, PropertyDescriptor) - Method in class jodd.json.TypeJsonVisitor
-
Invoked on serializable properties, that have passed all the rules.
- onValue(Function<Object, TypeJsonSerializer>) - Method in class jodd.json.JsonSerializer
-
Defines callback for value serialization.
- out - Variable in class jodd.json.JsonWriter
P
- parse(char[]) - Method in class jodd.json.JsonParser
-
Parses input JSON char array.
- parse(char[], Class<T>) - Method in class jodd.json.JsonParser
-
Parses input JSON as given type.
- parse(Object) - Method in interface jodd.json.TypeJsonParser
-
Converts JSON type (String, number...) into the target.
- parse(String) - Method in class jodd.json.JsonParser
-
Parses input JSON string.
- parse(String) - Static method in class jodd.json.Path
-
Parses input dot-separated string that represents a path.
- parse(String, Class<T>) - Method in class jodd.json.JsonParser
-
Parses input JSON as given type.
- 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
-
Parses input JSON to
JsonObject, special case ofJsonParser.parse(String, Class). - 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.
- PATH - jodd.json.impl.FileJsonSerializer.Type
-
File will be serialized with the full path.
- 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
-
Returns current
value context. - 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
-
JsonSerializerthat prints out formatted 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
trueif object has been already processed during the serialization. - put(Object, Object) - Method in class jodd.json.LazyMap
- put(String, byte[]) - Method in class jodd.json.JsonObject
-
Puts a
byte[]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, CharSequence) - Method in class jodd.json.JsonObject
-
Puts an
CharSequenceinto 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, Enum) - Method in class jodd.json.JsonObject
-
Puts an Enum 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, 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, Object) - Method in class jodd.json.JsonObject
-
Puts an object 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, JsonArray) - Method in class jodd.json.JsonObject
-
Puts a
JsonArrayinto 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.
- putAll(Map) - Method in class jodd.json.LazyMap
- putNull(String) - Method in class jodd.json.JsonObject
-
Puts a
nullvalue into the JSON object with the specified key.
R
- realNames - Variable in class jodd.json.meta.TypeData
- register(Class, TypeJsonParser) - Method in class jodd.json.TypeJsonParserMap
-
Registers new parser.
- register(Class, TypeJsonSerializer) - Method in class jodd.json.TypeJsonSerializerMap
-
Registers new serializer.
- registerDefaults() - Method in class jodd.json.TypeJsonSerializerMap
-
Registers default set of
serializers. - remove(int) - Method in class jodd.json.JsonArray
-
Removes the value at the specified position in the JSON array.
- remove(Object) - Method in class jodd.json.JsonArray
-
Removes the specified value from the JSON array.
- remove(Object) - Method in class jodd.json.LazyMap
- remove(String) - Method in class jodd.json.JsonObject
-
Removes an entry from this object.
- replaceWithMappedTypeForPath(Class) - Method in class jodd.json.JsonParser
-
Replaces type with mapped type for current path.
- reset() - Method in class jodd.json.JsonParser
-
Resets JSON parser, so it can be reused.
- reset() - Method in class jodd.json.meta.JsonAnnotationManager
- resolveJsonName(Class, String) - Method in class jodd.json.meta.JsonAnnotationManager
-
Returns different name of a property if set by annotation.
- resolveJsonName(String) - Method in class jodd.json.meta.TypeData
-
Resolves JSON name from real name.
- resolveRealName(Class, String) - Method in class jodd.json.meta.JsonAnnotationManager
-
Returns real property name for given JSON property.
- resolveRealName(String) - Method in class jodd.json.meta.TypeData
-
Resolves real name from JSON name.
- reuse(Object) - Method in class jodd.json.JsonValueContext
-
Reuses this instance for better performances.
- rootType - Variable in class jodd.json.JsonParser
- rules - Variable in class jodd.json.JsonSerializer
- rules - Variable in class jodd.json.meta.TypeData
S
- serialize() - Method in class jodd.json.BeanSerializer
-
Serializes a bean.
- serialize(Object) - Method in class jodd.json.JsonContext
-
Serializes the object using
type serializer. - serialize(Object) - Method in class jodd.json.JsonSerializer
-
Serializes object into source.
- serialize(Object, Appendable) - Method in class jodd.json.JsonSerializer
-
Serializes object into provided appendable.
- serialize(JsonContext, boolean[]) - Method in class jodd.json.impl.BooleanArrayJsonSerializer
- serialize(JsonContext, byte[]) - Method in class jodd.json.impl.ByteArrayJsonSerializer
- serialize(JsonContext, double[]) - Method in class jodd.json.impl.DoubleArrayJsonSerializer
- serialize(JsonContext, float[]) - Method in class jodd.json.impl.FloatArrayJsonSerializer
- serialize(JsonContext, int[]) - Method in class jodd.json.impl.IntArrayJsonSerializer
- serialize(JsonContext, long[]) - Method in class jodd.json.impl.LongArrayJsonSerializer
- serialize(JsonContext, File) - Method in class jodd.json.impl.FileJsonSerializer
- serialize(JsonContext, Boolean) - Method in class jodd.json.impl.BooleanJsonSerializer
- 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, Double) - Method in class jodd.json.impl.DoubleJsonSerializer
- serialize(JsonContext, Enum) - Method in class jodd.json.impl.EnumJsonSerializer
- serialize(JsonContext, Float) - Method in class jodd.json.impl.FloatJsonSerializer
- serialize(JsonContext, Number) - Method in class jodd.json.impl.NumberJsonSerializer
- 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, Calendar) - Method in class jodd.json.impl.CalendarJsonSerializer
- serialize(JsonContext, Date) - Method in class jodd.json.impl.DateJsonSerializer
- serialize(JsonContext, UUID) - Method in class jodd.json.impl.UUIDJsonSerializer
- serialize(JsonContext, JsonArray) - Method in class jodd.json.impl.JsonArraySerializer
- serialize(JsonContext, JulianDate) - Method in class jodd.json.impl.JulianDateSerializer
- serialize(JsonContext, T) - Method in class jodd.json.impl.ValueJsonSerializer
-
Detects circular dependencies and pushes value as current type context.
- 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
- serializeValue(JsonContext, Iterable) - Method in class jodd.json.impl.IterableJsonSerializer
- serializeValue(JsonContext, Object) - Method in class jodd.json.impl.ArraysJsonSerializer
- serializeValue(JsonContext, Object) - Method in class jodd.json.impl.EmptyJsonSerializer
- serializeValue(JsonContext, Object) - Method in class jodd.json.impl.ObjectJsonSerializer
- serializeValue(JsonContext, Map<?, ?>) - Method in class jodd.json.impl.MapJsonSerializer
- serializeValue(JsonContext, JsonObject) - Method in class jodd.json.impl.JsonObjectSerializer
- 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 - Variable in class jodd.json.meta.TypeData
- strict() - Method in annotation type jodd.json.meta.JSON
-
Defines if JSON serialization of a class works in a strict mode when only fields with the annotation are serialized.
- strict() - Method in class jodd.json.meta.JSONAnnotationValues
- strictStringEncoding - Static variable in class jodd.json.JsonSerializer.Defaults
-
Sets the strict JSON encoding.
- strictStringEncoding - Variable in class jodd.json.JsonSerializer
- strictStringEncoding - Variable in class jodd.json.JsonWriter
- strictStringEncoding(boolean) - Method in class jodd.json.JsonSerializer
-
Specifies strict string encoding.
- strictTypes - Static variable in class jodd.json.JsonParser.Defaults
- strictTypes - Variable in class jodd.json.JsonParserBase
- strictTypes(boolean) - Method in class jodd.json.JsonParser
-
Defines if type conversion is strict.
- syntaxError(String, Throwable) - Method in class jodd.json.JsonParser
-
Throws
JsonExceptionindicating a syntax error.
T
- text - Variable in class jodd.json.JsonParser
- textLen - Variable in class jodd.json.JsonParser
- toString() - Method in class jodd.json.JsonArray
- toString() - Method in class jodd.json.JsonObject
-
Returns JSON serialized by default
JsonSerializer. - toString() - Method in class jodd.json.LazyMap
- toString() - Method in class jodd.json.Path
- toString() - Method in class jodd.json.PathQuery
- total - Variable in class jodd.json.JsonParser
- type - Variable in class jodd.json.TypeJsonVisitor
- typeData - Variable in class jodd.json.TypeJsonVisitor
- TypeData - Class in jodd.json.meta
-
Type information read from annotations.
- TypeData(List<String>, List<String>, boolean, String[], String[]) - Constructor for class jodd.json.meta.TypeData
- TypeJsonParser<T> - Interface in jodd.json
-
Parser of JSON default types.
- TypeJsonParserMap - Class in jodd.json
- TypeJsonParserMap() - Constructor for class jodd.json.TypeJsonParserMap
- TypeJsonSerializer<T> - Interface in jodd.json
-
Type JSON Serializer defines how a type is serialized into JSON string.
- TypeJsonSerializerMap - Class in jodd.json
-
Map of
json type serializers. - TypeJsonSerializerMap() - Constructor for class jodd.json.TypeJsonSerializerMap
-
Creates new serializers map and registers defaults.
- TypeJsonSerializerMap(TypeJsonSerializerMap) - Constructor for class jodd.json.TypeJsonSerializerMap
-
Creates new empty serializer map with given defaults map.
- TypeJsonVisitor - Class in jodd.json
-
Type's property visitor that follows JSON include/excludes rules.
- TypeJsonVisitor(JsonContext, Class) - Constructor for class jodd.json.TypeJsonVisitor
- typeSerializersMap - Variable in class jodd.json.JsonSerializer
U
- unicode(char) - Method in class jodd.json.JsonWriter
-
Writes unicode representation of a character.
- useAltPaths - Variable in class jodd.json.JsonParser
- useAltPaths() - Method in class jodd.json.JsonParser
-
Enables usage of additional paths.
- useAltPathsByParser - Static variable in class jodd.json.JsonParser.Defaults
-
Defines if parser will use extended paths information and path matching.
- UUIDJsonSerializer - Class in jodd.json.impl
- UUIDJsonSerializer() - Constructor for class jodd.json.impl.UUIDJsonSerializer
V
- value - Variable in class jodd.json.JsonValueContext
- ValueConverter<S,T> - Interface in jodd.json
-
Value converter for
JsonParser. - ValueJsonSerializer<T> - Class in jodd.json.impl
-
Base class for all JSON objects and arrays serializers.
- ValueJsonSerializer() - Constructor for class jodd.json.impl.ValueJsonSerializer
- valueOf(String) - Static method in enum jodd.json.impl.FileJsonSerializer.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum jodd.json.impl.FileJsonSerializer.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class jodd.json.LazyMap
- VALUES - Static variable in class jodd.json.JsonParser
-
Array or map values.
- visit() - Method in class jodd.json.TypeJsonVisitor
-
Visits a type.
W
- wildcard - Variable in class jodd.json.PathQuery
- withClassMetadata(boolean) - Method in class jodd.json.JsonParser
-
Sets usage of default class meta-data name.
- withClassMetadata(boolean) - Method in class jodd.json.JsonSerializer
-
Sets local class meta-data name.
- withSerializer(Class, TypeJsonSerializer) - Method in class jodd.json.JsonSerializer
-
Defines custom
TypeJsonSerializerfor given type. - withSerializer(String, TypeJsonSerializer) - Method in class jodd.json.JsonSerializer
-
Defines custom
TypeJsonSerializerfor given path. - withValueConverter(String, ValueConverter) - Method in class jodd.json.JsonParser
-
Defines
ValueConverterto use on given path. - write(char) - Method in class jodd.json.JsonWriter
-
Appends char to the buffer.
- write(CharSequence) - Method in class jodd.json.JsonWriter
-
Appends char sequence to the buffer.
- writeCloseArray() - Method in class jodd.json.JsonWriter
-
Writes close array sign.
- writeCloseObject() - Method in class jodd.json.JsonWriter
-
Writes close object sign.
- writeComma() - Method in class jodd.json.JsonContext
-
Writes comma.
- writeComma() - Method in class jodd.json.JsonWriter
-
Writes comma.
- writeName(String) - Method in class jodd.json.JsonWriter
-
Writes object's property name: string and a colon.
- writeNumber(Number) - Method in class jodd.json.JsonWriter
- writeOpenArray() - Method in class jodd.json.JsonWriter
-
Writes open array sign.
- writeOpenObject() - Method in class jodd.json.JsonWriter
-
Writes open object sign.
- writeString(String) - Method in class jodd.json.JsonWriter
-
Write a quoted and escaped value to the output.
_
- _lookup(Class) - Method in class jodd.json.TypeJsonSerializerMap
- _lookupTypeData(Class) - Method in class jodd.json.meta.JsonAnnotationManager
-
Lookups type data and creates one if missing.
All Classes All Packages