- 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() - Static method in class jodd.json.JoddJson
-
Returns the module instance.
- get(Object) - Method in class jodd.json.LazyMap
-
- get() - Static method in class jodd.json.meta.JsonAnnotationManager
-
Returns default instance.
- 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
-
- getClassMetadataName() - Method in class jodd.json.JoddJsonDefaults
-
- 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
-
- getExcludedTypeNames() - Method in class jodd.json.JoddJsonDefaults
-
- getExcludedTypes() - Method in class jodd.json.JoddJsonDefaults
-
- 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
-
- getJsonAnnotation() - Method in class jodd.json.JoddJsonDefaults
-
Returns the annotation used for marking the properties.
- 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.
- JDateTimeSerializer - Class in jodd.json.impl
-
Serializer for JDateTime.
- JDateTimeSerializer() - Constructor for class jodd.json.impl.JDateTimeSerializer
-
- 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.
- JoddJson - Class in jodd.json
-
Jodd JSON module.
- JoddJson() - Constructor for class jodd.json.JoddJson
-
- JoddJsonDefaults - Class in jodd.json
-
- JoddJsonDefaults() - Constructor for class jodd.json.JoddJsonDefaults
-
- JSON - Annotation Type in jodd.json.meta
-
JSON annotation defines if some property has to be included or excluded
from the serialization.
- JSONAnnotation<A extends java.lang.annotation.Annotation> - Class in jodd.json.meta
-
JSON Annotation reader.
- JSONAnnotation(Class<A>) - Constructor for class jodd.json.meta.JSONAnnotation
-
- JSONAnnotationData<A extends java.lang.annotation.Annotation> - Class in jodd.json.meta
-
Holder for JSON annotation data.
- JSONAnnotationData(A) - Constructor for class jodd.json.meta.JSONAnnotationData
-
- JsonAnnotationManager - Class in jodd.json.meta
-
Cached includes and excludes annotation data per type.
- JsonAnnotationManager() - Constructor for class jodd.json.meta.JsonAnnotationManager
-
- JsonAnnotationManager.TypeData - Class in jodd.json.meta
-
Type information read from annotations.
- 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, boolean, boolean) - 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.JsonAnnotationManager.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
-
- JsonParserBase - Class in jodd.json
-
Just a base class of
JsonParser that contains
various utilities, to reduce the size of a parser.
- JsonParserBase() - 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
-
- 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
-
- 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.
- 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
-
- paths - Variable in class jodd.json.Path
-
- 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.
- 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, JDateTime) - Method in class jodd.json.impl.JDateTimeSerializer
-
- serialize(JsonContext, JsonArray) - Method in class jodd.json.impl.JsonArraySerializer
-
- serialize(JsonContext, long[]) - Method in class jodd.json.impl.LongArrayJsonSerializer
-
- serialize(JsonContext, Number) - Method in class jodd.json.impl.NumberJsonSerializer
-
- 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.
- 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, 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.
- setAnnotationManager(JsonAnnotationManager) - Method in class jodd.json.JoddJson
-
- setClassMetadataName(String) - Method in class jodd.json.JoddJsonDefaults
-
Specifies if 'class' metadata is used and its value.
- 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.
- setDeepSerialization(boolean) - Method in class jodd.json.JoddJsonDefaults
-
- setExcludedTypeNames(String...) - Method in class jodd.json.JoddJsonDefaults
-
Defines a list of excluded types names for serialization.
- setExcludedTypes(Class...) - Method in class jodd.json.JoddJsonDefaults
-
Defines list of excluded types for serialization.
- setJsonAnnotation(Class<? extends Annotation>) - Method in class jodd.json.JoddJsonDefaults
-
Defines new custom JSON annotation for marking the JSON properties that are going to be serialized.
- setPropertyName(String) - Method in class jodd.json.JsonValueContext
-
Stores current property name.
- setSerializationSubclassAware(boolean) - Method in class jodd.json.JoddJsonDefaults
-
When set searches for first annotated class or interface and use it's data.
- setStrictStringEncoding(boolean) - Method in class jodd.json.JoddJsonDefaults
-
Sets the strict JSON encoding.
- setUseAltPathsByParser(boolean) - Method in class jodd.json.JoddJsonDefaults
-
Defines if parser will use extended paths information
and path matching.
- 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.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.JSONAnnotationData
-
- strict() - Method in class jodd.json.meta.JSONAnnotationData
-
- strict - Variable in class jodd.json.meta.JsonAnnotationManager.TypeData
-
- 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
-
- syntaxError(String) - Method in class jodd.json.JsonParser
-