Index

A B C D E F G H I J L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

and(FieldErrorNode) - Method in class name.martingeisse.grumpyjson.FieldErrorNode
Groups two error sets together in a single new node.
arguments() - Method in record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
Returns the value of the arguments record component.

B

BooleanConverter - Class in name.martingeisse.grumpyjson.builtin
A converter for the primitive type boolean and its boxed type, Boolean.
BooleanConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.BooleanConverter
Constructor

C

clear() - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Removes all registered converters from both registries.
clear() - Method in class name.martingeisse.grumpyjson.registry.Registry
Removes all registered objects from this registry.
ComponentInfo(RecordComponent) - Constructor for class name.martingeisse.grumpyjson.builtin.record.RecordInfo.ComponentInfo
...
create(Exception) - Static method in class name.martingeisse.grumpyjson.FieldErrorNode
Creates a node for a single error message without a field path.
create(String) - Static method in class name.martingeisse.grumpyjson.FieldErrorNode
Creates a node for a single error message without a field path.
createDefault() - Static method in record class name.martingeisse.grumpyjson.JsonRegistries
Creates a default serializer/deserializer registry pair with built-in auto-generation for record converters.
CustomJsonDeserializer - Class in name.martingeisse.grumpyjson.deserialize
Helper methods to build custom deserializers for common cases.
CustomJsonDeserializer.DeserializerBody<T> - Interface in name.martingeisse.grumpyjson.deserialize
The body of a custom deserializer
CustomJsonSerializer - Class in name.martingeisse.grumpyjson.serialize
Helper methods to build custom serializers for common cases.
CustomJsonSerializer.SerializerBody<T> - Interface in name.martingeisse.grumpyjson.serialize
The body of a custom serializer

D

deserialize(InputStream, Class<T>) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
deserialize(InputStream, Class<T>) - Method in class name.martingeisse.grumpyjson.JsonEngine
deserializes JSON from an InputStream.
deserialize(InputStream, Type) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
deserialize(InputStream, Type) - Method in class name.martingeisse.grumpyjson.JsonEngine
deserializes JSON from an InputStream.
deserialize(InputStream, TypeToken<T>) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
deserialize(InputStream, TypeToken<T>) - Method in class name.martingeisse.grumpyjson.JsonEngine
deserializes JSON from an InputStream.
deserialize(Reader, Class<T>) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
deserialize(Reader, Class<T>) - Method in class name.martingeisse.grumpyjson.JsonEngine
deserializes JSON from an Reader.
deserialize(Reader, Type) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
deserialize(Reader, Type) - Method in class name.martingeisse.grumpyjson.JsonEngine
deserializes JSON from an Reader.
deserialize(Reader, TypeToken<T>) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
deserialize(Reader, TypeToken<T>) - Method in class name.martingeisse.grumpyjson.JsonEngine
deserializes JSON from an Reader.
deserialize(String, Class<T>) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
deserialize(String, Class<T>) - Method in class name.martingeisse.grumpyjson.JsonEngine
deserializes JSON from a String.
deserialize(String, Type) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
deserialize(String, Type) - Method in class name.martingeisse.grumpyjson.JsonEngine
deserializes JSON from a String.
deserialize(String, TypeToken<T>) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
deserialize(String, TypeToken<T>) - Method in class name.martingeisse.grumpyjson.JsonEngine
deserializes JSON from a String.
deserialize(JsonElement) - Method in interface name.martingeisse.grumpyjson.deserialize.CustomJsonDeserializer.DeserializerBody
Deserializes a value.
deserialize(JsonElement, Class<T>) - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
deserializes JSON from a JsonElement.
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.BooleanConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.EnumConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNullConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredFieldConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableFieldConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalFieldConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.IntegerConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.JsonElementConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.ListConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.LocalDateConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.LocalDateTimeConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.LocalTimeConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.LongConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.MapConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordConverter
 
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.builtin.StringConverter
 
deserialize(JsonElement, Type) - Method in interface name.martingeisse.grumpyjson.deserialize.JsonDeserializer
Converts a value from JSON.
deserialize(JsonElement, Type) - Method in interface name.martingeisse.grumpyjson.deserialize.JsonDeserializerProvider
Convenience method to find a deserializer for the specified Type, then use it to deserialize the JsonElement.
deserialize(JsonElement, Type) - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
deserializes JSON from a JsonElement.
deserialize(JsonElement, TypeToken<T>) - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
deserializes JSON from a JsonElement.
deserializeAbsent(Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredFieldConverter
 
deserializeAbsent(Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalFieldConverter
 
deserializeAbsent(Type) - Method in interface name.martingeisse.grumpyjson.deserialize.JsonDeserializer
Converts a value from an absent JSON fragment.
deserializeAbsent(Type) - Method in interface name.martingeisse.grumpyjson.deserialize.JsonDeserializerProvider
Convenience method to find a deserializer for the specified Type, then use it to generate a default value.
deserializerExpectsArray() - Method in class name.martingeisse.grumpyjson.json_model.JsonArray
 
deserializerExpectsArray() - Method in class name.martingeisse.grumpyjson.json_model.JsonElement
If this JSON element is not a JSON array, this method throws a JsonDeserializationException, otherwise it returns the array's elements as a List.
deserializerExpectsBoolean() - Method in class name.martingeisse.grumpyjson.json_model.JsonBoolean
 
deserializerExpectsBoolean() - Method in class name.martingeisse.grumpyjson.json_model.JsonElement
If this JSON element is not a JSON boolean, this method throws a JsonDeserializationException, otherwise it returns the boolean value.
deserializerExpectsNull() - Method in class name.martingeisse.grumpyjson.json_model.JsonElement
If this JSON element is not JSON null, this method throws a JsonDeserializationException, otherwise it does nothing.
deserializerExpectsNull() - Method in class name.martingeisse.grumpyjson.json_model.JsonNull
 
deserializerExpectsNumber() - Method in class name.martingeisse.grumpyjson.json_model.JsonElement
If this JSON element is not a JSON number, this method throws a JsonDeserializationException, otherwise it returns the numeric value.
deserializerExpectsNumber() - Method in class name.martingeisse.grumpyjson.json_model.JsonNumber
 
deserializerExpectsObject() - Method in class name.martingeisse.grumpyjson.json_model.JsonElement
If this JSON element is not a JSON object, this method throws a JsonDeserializationException, otherwise it returns the array's elements as a Map.
deserializerExpectsObject() - Method in class name.martingeisse.grumpyjson.json_model.JsonObject
 
deserializerExpectsString() - Method in class name.martingeisse.grumpyjson.json_model.JsonElement
If this JSON element is not a JSON string, this method throws a JsonDeserializationException, otherwise it returns the string value.
deserializerExpectsString() - Method in class name.martingeisse.grumpyjson.json_model.JsonString
 
deserializerRegistry() - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Returns the value of the deserializerRegistry record component.

E

ensureConfigurationPhase() - Method in class name.martingeisse.grumpyjson.registry.Sealable
Throws an IllegalStateException if this object has been sealed already.
ensureRunTimePhase() - Method in class name.martingeisse.grumpyjson.registry.Sealable
Throws an IllegalStateException if this object has not yet been sealed.
EnumConverter<T extends Enum<T>> - Class in name.martingeisse.grumpyjson.builtin
A converter for enum types.
EnumConverter(Class<T>) - Constructor for class name.martingeisse.grumpyjson.builtin.EnumConverter
Constructor
equals(Object) - Method in record class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNull
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredField
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
 
equals(Object) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
 
equals(Object) - Method in record class name.martingeisse.grumpyjson.builtin.record.RecordConverter.Options
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class name.martingeisse.grumpyjson.FieldErrorNode.FlattenedError
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class name.martingeisse.grumpyjson.json_model.JsonArray
 
equals(Object) - Method in class name.martingeisse.grumpyjson.json_model.JsonBoolean
 
equals(Object) - Method in class name.martingeisse.grumpyjson.json_model.JsonNull
 
equals(Object) - Method in class name.martingeisse.grumpyjson.json_model.JsonNumber
 
equals(Object) - Method in class name.martingeisse.grumpyjson.json_model.JsonObject
 
equals(Object) - Method in class name.martingeisse.grumpyjson.json_model.JsonString
 
equals(Object) - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
Indicates whether some other object is "equal to" this one.
ExceptionMessages - Class in name.martingeisse.grumpyjson
This class is mostly useful for unit tests: If we hardcoded the error messages at the point these errors occur, then we would have to duplicate them in the tests.
expectParameterizedType(Type, Class<?>, int) - Static method in class name.martingeisse.grumpyjson.util.TypeUtil
Like isParameterizedType(), but will fail with a RuntimeException if the type is not as expected, indicating an internal bug in the deserializer because that deserializer should not have been selected for the wrong type in the first place.
expectSingleParameterizedType(Type, Class<?>) - Static method in class name.martingeisse.grumpyjson.util.TypeUtil
Like isSingleParameterizedType(), but will fail with a RuntimeException if the type is not as expected, indicating an internal bug in the deserializer because that deserializer should not have been selected for the wrong type in the first place.

F

FALSE - Static variable in class name.martingeisse.grumpyjson.json_model.JsonBoolean
The JSON false value
FieldErrorNode - Class in name.martingeisse.grumpyjson
This class typically gets constructed by grumpyjson and consumed by grumpyrest, without any need for the application code to deal with it.
FieldErrorNode.Field - Class in name.martingeisse.grumpyjson
A node that specifies a single field nesting level for its subtree.
FieldErrorNode.FlattenedError - Record Class in name.martingeisse.grumpyjson
This structure represents a single error, i.e. a leaf node, and contains the error message of the FieldErrorNode.Message node as well as the field path as a list of the field names of all FieldErrorNode.Field nodes on the way from the root to the message leaf node.
FieldErrorNode.InternalException - Class in name.martingeisse.grumpyjson
A leaf node with an internal exception.
FieldErrorNode.Message - Class in name.martingeisse.grumpyjson
A leaf node with an error message.
FieldErrorNode.Siblings - Class in name.martingeisse.grumpyjson
A node that groups two subtrees together to allow the tree to store multiple errors.
FieldMustBeNull - Record Class in name.martingeisse.grumpyjson.builtin.helper_types
This can be used to implement a property that must be JSON-null during deserialziation, and always serializes as JSON-null.
FieldMustBeNull() - Constructor for record class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNull
Creates an instance of a FieldMustBeNull record class.
FieldMustBeNullConverter - Class in name.martingeisse.grumpyjson.builtin.helper_types
The converter for FieldMustBeNull.
FieldMustBeNullConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNullConverter
Constructor
fieldPath() - Method in record class name.martingeisse.grumpyjson.FieldErrorNode.FlattenedError
Returns the value of the fieldPath record component.
flatten() - Method in class name.martingeisse.grumpyjson.FieldErrorNode
Flattens the errors contained in this node and its subnodes as a list of FieldErrorNode.FlattenedError objects.
flatten(List<FieldErrorNode.FlattenedError>, List<String>) - Method in class name.martingeisse.grumpyjson.FieldErrorNode.Field
 
flatten(List<FieldErrorNode.FlattenedError>, List<String>) - Method in class name.martingeisse.grumpyjson.FieldErrorNode
NOT PUBLIC API
flatten(List<FieldErrorNode.FlattenedError>, List<String>) - Method in class name.martingeisse.grumpyjson.FieldErrorNode.InternalException
 
flatten(List<FieldErrorNode.FlattenedError>, List<String>) - Method in class name.martingeisse.grumpyjson.FieldErrorNode.Message
 
flatten(List<FieldErrorNode.FlattenedError>, List<String>) - Method in class name.martingeisse.grumpyjson.FieldErrorNode.Siblings
 
FlattenedError(String, String...) - Constructor for record class name.martingeisse.grumpyjson.FieldErrorNode.FlattenedError
this constructor is very useful in unit tests
FlattenedError(String, List<String>) - Constructor for record class name.martingeisse.grumpyjson.FieldErrorNode.FlattenedError
Constructor
from(Class<T>, CustomJsonDeserializer.DeserializerBody<T>) - Static method in class name.martingeisse.grumpyjson.deserialize.CustomJsonDeserializer
Builds a deserializer for a single class type from a code body.
from(Class<T>, CustomJsonSerializer.SerializerBody<T>) - Static method in class name.martingeisse.grumpyjson.serialize.CustomJsonSerializer
Builds a serializer for a single class type from a code body.

G

generateRegistrable(Class<?>) - Method in class name.martingeisse.grumpyjson.serialize.JsonSerializerRegistry
 
generateRegistrable(Type) - Method in class name.martingeisse.grumpyjson.deserialize.JsonDeserializerRegistry
 
generateRegistrable(K) - Method in class name.martingeisse.grumpyjson.registry.Registry
Auto-generates a registrable in a subclass-specific way.
get(K) - Method in class name.martingeisse.grumpyjson.registry.Registry
Returns a registered object for the specified key, auto-generating it if necessary and possible.
getActualTypeArguments() - Method in record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
 
getAsList() - Method in class name.martingeisse.grumpyjson.json_model.JsonArray
Returns the elements of this JSON array as a List.
getAsMap() - Method in class name.martingeisse.grumpyjson.json_model.JsonObject
Returns the properties of this JSON object as a Map.
getComponentInfos() - Method in class name.martingeisse.grumpyjson.builtin.record.RecordInfo
...
getConcreteType(Type) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordInfo.ComponentInfo
...
getConverter(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordConverterFactory
NOT PUBLIC API
getDeserializer(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordConverterFactory
NOT PUBLIC API
getDeserializer(Type) - Method in interface name.martingeisse.grumpyjson.deserialize.JsonDeserializerProvider
Returns a registered deserializer for the specified type, auto-generating it if necessary and possible.
getDeserializer(Type) - Method in class name.martingeisse.grumpyjson.deserialize.JsonDeserializerRegistry
 
getDeserializer(Type) - Method in record class name.martingeisse.grumpyjson.JsonRegistries
 
getDeserializerRegistry() - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Getter method for the registry for deserializers.
getErrorMessageForUnknownKey(Class<?>) - Method in class name.martingeisse.grumpyjson.serialize.JsonSerializerRegistry
 
getErrorMessageForUnknownKey(Type) - Method in class name.martingeisse.grumpyjson.deserialize.JsonDeserializerRegistry
 
getErrorMessageForUnknownKey(K) - Method in class name.martingeisse.grumpyjson.registry.Registry
Produces an error message that gets used in an exception for an unknown key.
getException() - Method in class name.martingeisse.grumpyjson.FieldErrorNode.InternalException
Getter for the exception.
getFieldErrorNode() - Method in exception class name.martingeisse.grumpyjson.deserialize.JsonDeserializationException
Getter for the FieldErrorNode that holds the actual error(s)
getFieldErrorNode() - Method in exception class name.martingeisse.grumpyjson.serialize.JsonSerializationException
Getter for the FieldErrorNode that holds the actual error(s)
getFirst() - Method in class name.martingeisse.grumpyjson.FieldErrorNode.Siblings
Getter for the first subtree.
getGetter() - Method in class name.martingeisse.grumpyjson.builtin.record.RecordInfo.ComponentInfo
...
getMessage() - Method in exception class name.martingeisse.grumpyjson.deserialize.JsonDeserializationException
 
getMessage() - Method in class name.martingeisse.grumpyjson.FieldErrorNode.Message
Getter for the error message
getMessage() - Method in exception class name.martingeisse.grumpyjson.serialize.JsonSerializationException
 
getName() - Method in class name.martingeisse.grumpyjson.builtin.record.RecordInfo.ComponentInfo
...
getName() - Method in class name.martingeisse.grumpyjson.FieldErrorNode.Field
Getter method for the field name under which the subtree is nested.
getNode() - Method in class name.martingeisse.grumpyjson.FieldErrorNode.Field
Getter method for the local root node of the subtree which is nested under the field.
getOwnerType() - Method in record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
 
getPathAsString() - Method in record class name.martingeisse.grumpyjson.FieldErrorNode.FlattenedError
Returns the field path as a dot-separated string
getRawType() - Method in record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
 
getRecordClass() - Method in class name.martingeisse.grumpyjson.builtin.record.RecordInfo
...
getRegistries() - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Getter method for the registries for converters.
getSecond() - Method in class name.martingeisse.grumpyjson.FieldErrorNode.Siblings
Getter for the second subtree.
getSerializer(Class<T>) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordConverterFactory
NOT PUBLIC API
getSerializer(Class<T>) - Method in record class name.martingeisse.grumpyjson.JsonRegistries
 
getSerializer(Class<T>) - Method in interface name.martingeisse.grumpyjson.serialize.JsonSerializerProvider
Returns a registered serializer for the specified class, auto-generating it if necessary and possible.
getSerializer(Class<T>) - Method in class name.martingeisse.grumpyjson.serialize.JsonSerializerRegistry
 
getSerializerRegistry() - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Getter method for the registry for serializers.
getType() - Method in class name.martingeisse.grumpyjson.builtin.record.RecordInfo.ComponentInfo
...
getType() - Method in class name.martingeisse.grumpyjson.TypeToken
Obtains the type represented by this type token.
getValue() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
Getter method for the value in this instance.
getValue() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
Getter method for the value in this instance.
getValue() - Method in class name.martingeisse.grumpyjson.json_model.JsonBoolean
Getter method.
getValue() - Method in class name.martingeisse.grumpyjson.json_model.JsonNumber
Getter method.
getValue() - Method in class name.martingeisse.grumpyjson.json_model.JsonString
Getter method.
getValueOrNothingAsNull() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
Getter method for the value in this instance.
getValueOrNull() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
Getter method for the value in this instance.
GsonBasedJsonEngine - Class in name.martingeisse.grumpyjson
GSON-based implementation of JsonEngine.
GsonBasedJsonEngine() - Constructor for class name.martingeisse.grumpyjson.GsonBasedJsonEngine
Creates a new JSON engine with standard converters registered.

H

hashCode() - Method in record class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNull
Returns a hash code value for this object.
hashCode() - Method in record class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredField
Returns a hash code value for this object.
hashCode() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
 
hashCode() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
 
hashCode() - Method in record class name.martingeisse.grumpyjson.builtin.record.RecordConverter.Options
Returns a hash code value for this object.
hashCode() - Method in record class name.martingeisse.grumpyjson.FieldErrorNode.FlattenedError
Returns a hash code value for this object.
hashCode() - Method in class name.martingeisse.grumpyjson.json_model.JsonArray
 
hashCode() - Method in class name.martingeisse.grumpyjson.json_model.JsonBoolean
 
hashCode() - Method in class name.martingeisse.grumpyjson.json_model.JsonNull
 
hashCode() - Method in class name.martingeisse.grumpyjson.json_model.JsonNumber
 
hashCode() - Method in class name.martingeisse.grumpyjson.json_model.JsonObject
 
hashCode() - Method in class name.martingeisse.grumpyjson.json_model.JsonString
 
hashCode() - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Returns a hash code value for this object.
hashCode() - Method in record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
Returns a hash code value for this object.

I

IgnoredField - Record Class in name.martingeisse.grumpyjson.builtin.helper_types
This can be used to implement a property that gets ignored during deserialization, and is absent during serialization.
IgnoredField() - Constructor for record class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredField
Creates an instance of a IgnoredField record class.
IgnoredFieldConverter - Class in name.martingeisse.grumpyjson.builtin.helper_types
The converter for IgnoredField.
IgnoredFieldConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredFieldConverter
Constructor.
ignoreUnknownProperties() - Method in record class name.martingeisse.grumpyjson.builtin.record.RecordConverter.Options
Returns the value of the ignoreUnknownProperties record component.
in(String) - Method in class name.martingeisse.grumpyjson.FieldErrorNode
Adds the nesting within a single field as a prefix to the field path of this node, returning the result as a new node.
INSTANCE - Static variable in record class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNull
The shared instance of this class.
INSTANCE - Static variable in record class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredField
The shared instance of this class.
INSTANCE - Static variable in class name.martingeisse.grumpyjson.json_model.JsonNull
Shared instance of this class.
IntegerConverter - Class in name.martingeisse.grumpyjson.builtin
A converter for the primitive type int and its boxed type, Integer.
IntegerConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.IntegerConverter
Constructor
INTERNAL_ERROR - Static variable in class name.martingeisse.grumpyjson.ExceptionMessages
Generic error message for internal errors that we don't want to expose any details about.
invokeConstructor(Object[]) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordInfo
...
invokeGetter(Object) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordInfo.ComponentInfo
...
isAbsent() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
Checks if this instance is absent.
isNonNull() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
Checks if this instance is non-null.
isNull() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
Checks if this instance is null.
isParameterizedType(Type, Class<?>, int) - Static method in class name.martingeisse.grumpyjson.util.TypeUtil
A common thing to check in deserializers is whether a requested type is a parameterized type with a specific raw type and a specific number of type parameters, but without further restricting the type arguments used for these parameters -- instead, obtaining the type arguments to do something with them.
isPresent() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
Checks if this instance is present.
isSingleParameterizedType(Type, Class<?>) - Static method in class name.martingeisse.grumpyjson.util.TypeUtil
Like isParameterizedType(), but with expectedNumberOfTypeArguments=1 and returns the single type argument directly, not as an array.

J

join(List<?>, String) - Static method in class name.martingeisse.grumpyjson.util.StringUtil
...
JsonArray - Class in name.martingeisse.grumpyjson.json_model
This class represents JSON arrays.
JsonBoolean - Class in name.martingeisse.grumpyjson.json_model
This class represents the JSON values true and false.
JsonDeserializationException - Exception Class in name.martingeisse.grumpyjson.deserialize
This exception type gets thrown when the incoming JSON does not match the expected structure.
JsonDeserializationException(Exception) - Constructor for exception class name.martingeisse.grumpyjson.deserialize.JsonDeserializationException
Creates an exception for a single-field error caused by an exception from the deserializer.
JsonDeserializationException(String) - Constructor for exception class name.martingeisse.grumpyjson.deserialize.JsonDeserializationException
Creates an exception for a single error message without a field path.
JsonDeserializationException(FieldErrorNode) - Constructor for exception class name.martingeisse.grumpyjson.deserialize.JsonDeserializationException
Creates an exception for a FieldErrorNode that wraps one or more actual errors.
JsonDeserializer - Interface in name.martingeisse.grumpyjson.deserialize
Defines the conversion from JSON to a Java object / value for one or more types.
JsonDeserializerProvider - Interface in name.martingeisse.grumpyjson.deserialize
Abstracts the run-time methods from the JsonDeserializerRegistry so that deserializers which have to look up dependencies don't depend on the full registry.
JsonDeserializerRegistry - Class in name.martingeisse.grumpyjson.deserialize
This registry keeps the JsonDeserializers used by a JsonEngine.
JsonDeserializerRegistry(RecordConverterFactory) - Constructor for class name.martingeisse.grumpyjson.deserialize.JsonDeserializerRegistry
NOT PUBLIC API
JsonElement - Class in name.martingeisse.grumpyjson.json_model
Base class for all JSON elements.
JsonElementConverter - Class in name.martingeisse.grumpyjson.builtin
A converter for JsonElement.
JsonElementConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.JsonElementConverter
Constructor
JsonEngine - Class in name.martingeisse.grumpyjson
This class is the main entry point into the JSON conversion system.
JsonEngine() - Constructor for class name.martingeisse.grumpyjson.JsonEngine
Creates a new JSON engine with standard converters registered.
JsonNull - Class in name.martingeisse.grumpyjson.json_model
This class represents JSON null.
JsonNumber - Class in name.martingeisse.grumpyjson.json_model
This class represents JSON numbers.
JsonObject - Class in name.martingeisse.grumpyjson.json_model
This class represents JSON objects.
JsonProviders - Interface in name.martingeisse.grumpyjson
Combines JsonSerializerProvider and JsonDeserializerProvider.
JsonRegistries - Record Class in name.martingeisse.grumpyjson
JsonRegistries(JsonSerializerRegistry, JsonDeserializerRegistry) - Constructor for record class name.martingeisse.grumpyjson.JsonRegistries
Creates an instance of a JsonRegistries record class.
JsonSerializationException - Exception Class in name.martingeisse.grumpyjson.serialize
This exception type gets thrown when the state of the objects being serialized is not possible to map to JSON.
JsonSerializationException(Exception) - Constructor for exception class name.martingeisse.grumpyjson.serialize.JsonSerializationException
Creates an exception for a single-field error caused by an exception from the serializer.
JsonSerializationException(String) - Constructor for exception class name.martingeisse.grumpyjson.serialize.JsonSerializationException
Creates an exception for a single-field error message without a field path.
JsonSerializationException(FieldErrorNode) - Constructor for exception class name.martingeisse.grumpyjson.serialize.JsonSerializationException
Creates an exception for a FieldErrorNode that wraps one or more actual errors.
JsonSerializer<T> - Interface in name.martingeisse.grumpyjson.serialize
Defines the conversion of Java objects to JSON for one or more classes.
JsonSerializerProvider - Interface in name.martingeisse.grumpyjson.serialize
Abstracts the run-time methods from the JsonSerializerRegistry so that serializers which have to look up dependencies don't depend on the full registry.
JsonSerializerRegistry - Class in name.martingeisse.grumpyjson.serialize
This registry keeps the JsonSerializers used by a JsonEngine.
JsonSerializerRegistry(RecordConverterFactory) - Constructor for class name.martingeisse.grumpyjson.serialize.JsonSerializerRegistry
NOT PUBLIC API
JsonString - Class in name.martingeisse.grumpyjson.json_model
This class represents JSON strings.

L

ListConverter - Class in name.martingeisse.grumpyjson.builtin
This converter handles type List<...> for deserialization, and the List interface and its implementing classes for serialization.
ListConverter(JsonProviders) - Constructor for class name.martingeisse.grumpyjson.builtin.ListConverter
Constructor.
ListUtil - Class in name.martingeisse.grumpyjson.util
NOT PUBLIC API
LocalDateConverter - Class in name.martingeisse.grumpyjson.builtin
A converter for LocalDate.
LocalDateConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.LocalDateConverter
Constructor
LocalDateTimeConverter - Class in name.martingeisse.grumpyjson.builtin
A converter for LocalDateTime.
LocalDateTimeConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.LocalDateTimeConverter
Constructor
LocalTimeConverter - Class in name.martingeisse.grumpyjson.builtin
A converter for LocalTime.
LocalTimeConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.LocalTimeConverter
Constructor
LongConverter - Class in name.martingeisse.grumpyjson.builtin
A converter for the primitive type long and its boxed type, Long.
LongConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.LongConverter
Constructor

M

MapConverter - Class in name.martingeisse.grumpyjson.builtin
This converter handles type Map<...> for deserialization, and the Map interface and its implementing classes for serialization.
MapConverter(JsonProviders) - Constructor for class name.martingeisse.grumpyjson.builtin.MapConverter
Constructor.
message() - Method in record class name.martingeisse.grumpyjson.FieldErrorNode.FlattenedError
Returns the value of the message record component.
MISSING_PROPERTY - Static variable in class name.martingeisse.grumpyjson.ExceptionMessages
Error message for an missing property in a JSON object.

N

name.martingeisse.grumpyjson - package name.martingeisse.grumpyjson
 
name.martingeisse.grumpyjson.builtin - package name.martingeisse.grumpyjson.builtin
 
name.martingeisse.grumpyjson.builtin.helper_types - package name.martingeisse.grumpyjson.builtin.helper_types
 
name.martingeisse.grumpyjson.builtin.record - package name.martingeisse.grumpyjson.builtin.record
 
name.martingeisse.grumpyjson.deserialize - package name.martingeisse.grumpyjson.deserialize
 
name.martingeisse.grumpyjson.json_model - package name.martingeisse.grumpyjson.json_model
 
name.martingeisse.grumpyjson.registry - package name.martingeisse.grumpyjson.registry
 
name.martingeisse.grumpyjson.serialize - package name.martingeisse.grumpyjson.serialize
 
name.martingeisse.grumpyjson.util - package name.martingeisse.grumpyjson.util
 
notNull(T, String) - Static method in class name.martingeisse.grumpyjson.util.Parameters
NOT PUBLIC API
NotRegisteredException - Exception Class in name.martingeisse.grumpyjson.registry
Thrown if the registrable for an unknown key is fetched from a Registry.
NotRegisteredException() - Constructor for exception class name.martingeisse.grumpyjson.registry.NotRegisteredException
Constructor.
NotRegisteredException(String) - Constructor for exception class name.martingeisse.grumpyjson.registry.NotRegisteredException
Constructor.
NotRegisteredException(String, Throwable) - Constructor for exception class name.martingeisse.grumpyjson.registry.NotRegisteredException
Constructor.
NotRegisteredException(Throwable) - Constructor for exception class name.martingeisse.grumpyjson.registry.NotRegisteredException
Constructor.
NullableField<T> - Class in name.martingeisse.grumpyjson.builtin.helper_types
This can be used to wrap a property and allow JSON null instead of an actual value.
NullableFieldConverter - Class in name.martingeisse.grumpyjson.builtin.helper_types
The converter for NullableField.
NullableFieldConverter(JsonProviders) - Constructor for class name.martingeisse.grumpyjson.builtin.helper_types.NullableFieldConverter
Constructor.

O

of() - Static method in class name.martingeisse.grumpyjson.json_model.JsonNull
This method just returns the shared instance JsonNull.INSTANCE and is provided for uniformity with the other JSON classes.
of() - Static method in class name.martingeisse.grumpyjson.json_model.JsonObject
Creates an empty instance of this class.
of(boolean) - Static method in class name.martingeisse.grumpyjson.json_model.JsonBoolean
Returns an instance of this class for a plain boolean value.
of(Number) - Static method in class name.martingeisse.grumpyjson.json_model.JsonNumber
Creates an instance of this class for the specified plain numeric value.
of(String) - Static method in class name.martingeisse.grumpyjson.json_model.JsonString
Creates an instance of this class for the specified plain string value.
of(String, JsonElement) - Static method in class name.martingeisse.grumpyjson.json_model.JsonObject
Creates an instance of this class from one directly specified key/value pair.
of(String, JsonElement, String, JsonElement) - Static method in class name.martingeisse.grumpyjson.json_model.JsonObject
Creates an instance of this class from two directly specified key/value pairs.
of(String, JsonElement, String, JsonElement, String, JsonElement) - Static method in class name.martingeisse.grumpyjson.json_model.JsonObject
Creates an instance of this class from three directly specified key/value pairs.
of(List<JsonElement>) - Static method in class name.martingeisse.grumpyjson.json_model.JsonArray
Creates an instance of this class from a List containing the elements of the JSON array.
of(Map<String, JsonElement>) - Static method in class name.martingeisse.grumpyjson.json_model.JsonObject
Creates an instance of this class from a Map containing the properties of the JSON object.
of(JsonElement...) - Static method in class name.martingeisse.grumpyjson.json_model.JsonArray
Creates an instance of this class from elements passed as varargs.
ofNothing() - Static method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
Creates a new instance that is absent.
ofNull() - Static method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
Creates a new instance that is null.
ofValue(T) - Static method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
Creates a new instance that is non-null, i.e. has a value.
ofValue(T) - Static method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
Creates a new instance that is present, i.e. has a value.
ofValueOrNull(T) - Static method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
Creates a new instance that is non-null if the argument is non-null, and null if the argument is null.
ofValueOrNullAsNothing(T) - Static method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
Creates a new instance that is present if the argument is non-null, and absent if the argument is null.
onSeal() - Method in class name.martingeisse.grumpyjson.registry.Registry
 
onSeal() - Method in class name.martingeisse.grumpyjson.registry.Sealable
Subclasses may perform seal-time operations here, e.g. optimize their internal data structures to prepare for run-time.
OptionalField<T> - Class in name.martingeisse.grumpyjson.builtin.helper_types
This can be used to wrap a property and allow it to be absent in JSON.
OptionalFieldConverter - Class in name.martingeisse.grumpyjson.builtin.helper_types
The converter for OptionalField.
OptionalFieldConverter(JsonProviders) - Constructor for class name.martingeisse.grumpyjson.builtin.helper_types.OptionalFieldConverter
Constructor.
Options(boolean) - Constructor for record class name.martingeisse.grumpyjson.builtin.record.RecordConverter.Options
Creates an instance of a Options record class.
orElse(T) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
Returns this field's value if NullableField.isNonNull(), otherwise the argument.
orElse(T) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
Returns this field's value if OptionalField.isPresent(), otherwise the argument.
orElseGet(Supplier<T>) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
Returns this field's value if NullableField.isNonNull(), otherwise a value obtained from the argument.
orElseGet(Supplier<T>) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
Returns this field's value if OptionalField.isPresent(), otherwise a value obtained from the argument.
owner() - Method in record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
Returns the value of the owner record component.

P

ParameterizedTypeImpl - Record Class in name.martingeisse.grumpyjson.util
NOT PUBLIC API
ParameterizedTypeImpl(Type, Type, Type...) - Constructor for record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
NOT PUBLIC API
Parameters - Class in name.martingeisse.grumpyjson.util
NOT PUBLIC API

R

raw() - Method in record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
Returns the value of the raw record component.
RecordConverter<T> - Class in name.martingeisse.grumpyjson.builtin.record
Maps a record class to and from a JSON object.
RecordConverter(Class<T>, JsonProviders) - Constructor for class name.martingeisse.grumpyjson.builtin.record.RecordConverter
Application code usually does not have to call this constructor because instances of this class will be auto-generated for unknown records, and this constructor does not add any features on top of that.
RecordConverter(Class<T>, JsonProviders, RecordConverter.Options) - Constructor for class name.martingeisse.grumpyjson.builtin.record.RecordConverter
This constructor adds extra options.
RecordConverter.Options - Record Class in name.martingeisse.grumpyjson.builtin.record
Controls the behavior of a RecordConverter.
RecordConverterFactory - Class in name.martingeisse.grumpyjson.builtin.record
NOT PUBLIC API
RecordConverterFactory() - Constructor for class name.martingeisse.grumpyjson.builtin.record.RecordConverterFactory
NOT PUBLIC API
RecordInfo - Class in name.martingeisse.grumpyjson.builtin.record
NOT PUBLIC API
RecordInfo(Class<?>) - Constructor for class name.martingeisse.grumpyjson.builtin.record.RecordInfo
NOT PUBLIC API
RecordInfo.ComponentInfo - Class in name.martingeisse.grumpyjson.builtin.record
NOT PUBLIC API
register(V) - Method in class name.martingeisse.grumpyjson.registry.Registry
Registers a registrable with this registry.
registerDeserializer(JsonDeserializer) - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Registers the specified deserializer.
registerDeserializer(JsonDeserializer) - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Registers the specified deserializer.
registerDualConverter(T) - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Registers the specified dual converter.
registerDualConverter(T) - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Registers the specified dual converter.
registerSerializer(JsonSerializer<?>) - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Registers the specified serializer.
registerSerializer(JsonSerializer<?>) - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Registers the specified serializer.
registrableSupports(JsonDeserializer, Type) - Method in class name.martingeisse.grumpyjson.deserialize.JsonDeserializerRegistry
 
registrableSupports(JsonSerializer<?>, Class<?>) - Method in class name.martingeisse.grumpyjson.serialize.JsonSerializerRegistry
 
registrableSupports(V, K) - Method in class name.martingeisse.grumpyjson.registry.Registry
Checks whether the specified registrable supports the specified key.
Registry<K,V> - Class in name.martingeisse.grumpyjson.registry
Base class for a registry which acts somewhat like a Map, but with the following differences: For each registrable ("value" in Map terminology), the registry can determine the keys which that registrable supports, i.e. the keys that can be used to obtain that registrable from the registry.
Registry() - Constructor for class name.martingeisse.grumpyjson.registry.Registry
Constructor.
replaceTypeVariables(Type, Map<String, Type>) - Static method in class name.martingeisse.grumpyjson.util.TypeUtil
Returns a type like the original, but with all its type variables replaced by the bound types.
reverseInPlace(List<T>) - Static method in class name.martingeisse.grumpyjson.util.ListUtil
NOT PUBLIC API

S

seal() - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Seals the registries, moving from the configuration phase to the run-time phase.
seal() - Method in class name.martingeisse.grumpyjson.registry.Sealable
Seals this object, moving from the configuration phase to the run-time phase.
seal() - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Seals this JSON engine, moving from the configuration phase to the run-time phase.
Sealable - Class in name.martingeisse.grumpyjson.registry
Base class for everything whose lifecycle is divided into configuration phase and run-time phase.
Sealable() - Constructor for class name.martingeisse.grumpyjson.registry.Sealable
Constructor
serialize(Boolean) - Method in class name.martingeisse.grumpyjson.builtin.BooleanConverter
 
serialize(Integer) - Method in class name.martingeisse.grumpyjson.builtin.IntegerConverter
 
serialize(Long) - Method in class name.martingeisse.grumpyjson.builtin.LongConverter
 
serialize(Object) - Method in interface name.martingeisse.grumpyjson.serialize.JsonSerializerProvider
Turns a value into a JsonElement.
serialize(String) - Method in class name.martingeisse.grumpyjson.builtin.StringConverter
 
serialize(LocalDate) - Method in class name.martingeisse.grumpyjson.builtin.LocalDateConverter
 
serialize(LocalDateTime) - Method in class name.martingeisse.grumpyjson.builtin.LocalDateTimeConverter
 
serialize(LocalTime) - Method in class name.martingeisse.grumpyjson.builtin.LocalTimeConverter
 
serialize(List<?>) - Method in class name.martingeisse.grumpyjson.builtin.ListConverter
 
serialize(Map<?, ?>) - Method in class name.martingeisse.grumpyjson.builtin.MapConverter
 
serialize(FieldMustBeNull) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNullConverter
 
serialize(IgnoredField) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredFieldConverter
 
serialize(NullableField<?>) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableFieldConverter
 
serialize(OptionalField<?>) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalFieldConverter
 
serialize(JsonElement) - Method in class name.martingeisse.grumpyjson.builtin.JsonElementConverter
 
serialize(T) - Method in class name.martingeisse.grumpyjson.builtin.EnumConverter
 
serialize(T) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordConverter
 
serialize(T) - Method in interface name.martingeisse.grumpyjson.serialize.CustomJsonSerializer.SerializerBody
Serializes a value.
serialize(T) - Method in interface name.martingeisse.grumpyjson.serialize.JsonSerializer
Converts a value to JSON.
serializeOptional(Object) - Method in interface name.martingeisse.grumpyjson.serialize.JsonSerializerProvider
Turns a value into an optional JsonElement.
serializeOptional(IgnoredField) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredFieldConverter
 
serializeOptional(OptionalField<?>) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalFieldConverter
 
serializeOptional(T) - Method in interface name.martingeisse.grumpyjson.serialize.JsonSerializer
Converts a value to JSON in a context in which a non-existing JSON value can be handled, and therefore supports values that turn out to vanish during serialization, such as OptionalField.
serializerRegistry() - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Returns the value of the serializerRegistry record component.
serializeToString(Object) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
serializeToString(Object) - Method in class name.martingeisse.grumpyjson.JsonEngine
Turns a value into a JSON string.
setProviders(JsonProviders) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordConverterFactory
NOT PUBLIC API
StringConverter - Class in name.martingeisse.grumpyjson.builtin
A converter for type String.
StringConverter() - Constructor for class name.martingeisse.grumpyjson.builtin.StringConverter
Constructor
StringUtil - Class in name.martingeisse.grumpyjson.util
NOT PUBLIC API
StructuralJsonEngine - Class in name.martingeisse.grumpyjson
This base class of JsonEngine implements the "conversion" part of the JSON engine and can be used if actual (de-)serialization from and to JSON syntax is not needed.
StructuralJsonEngine() - Constructor for class name.martingeisse.grumpyjson.StructuralJsonEngine
Creates a new JSON engine with standard converters registered.
supports(K) - Method in class name.martingeisse.grumpyjson.registry.Registry
Checks whether the specified key is supported by any registrable that is registered with this registry or can be auto-generated on the fly.
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.BooleanConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.EnumConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNullConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredFieldConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableFieldConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalFieldConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.IntegerConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.JsonElementConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.ListConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.LocalDateConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.LocalDateTimeConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.LocalTimeConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.LongConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.MapConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordConverter
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.builtin.StringConverter
 
supportsClassForSerialization(Class<?>) - Method in record class name.martingeisse.grumpyjson.JsonRegistries
 
supportsClassForSerialization(Class<?>) - Method in interface name.martingeisse.grumpyjson.serialize.JsonSerializer
Checks if this serializer supports the specified class.
supportsClassForSerialization(Class<?>) - Method in interface name.martingeisse.grumpyjson.serialize.JsonSerializerProvider
Checks whether the specified class is supported for serialization by any serializer that is known to this provider.
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.serialize.JsonSerializerRegistry
 
supportsClassForSerialization(Class<?>) - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Checks whether the specified class is supported for serialization by this engine
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.BooleanConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.EnumConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNullConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredFieldConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableFieldConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalFieldConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.IntegerConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.JsonElementConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.ListConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.LocalDateConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.LocalDateTimeConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.LocalTimeConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.LongConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.MapConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.record.RecordConverter
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.builtin.StringConverter
 
supportsTypeForDeserialization(Type) - Method in interface name.martingeisse.grumpyjson.deserialize.JsonDeserializer
Checks if this deserializer supports the specified type.
supportsTypeForDeserialization(Type) - Method in interface name.martingeisse.grumpyjson.deserialize.JsonDeserializerProvider
Checks whether the specified type is supported for deserialization by any deserializer that is known to this provider.
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.deserialize.JsonDeserializerRegistry
 
supportsTypeForDeserialization(Type) - Method in record class name.martingeisse.grumpyjson.JsonRegistries
 
supportsTypeForDeserialization(Type) - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Checks whether the specified type is supported for deserialization by this engine

T

toJsonElement(Object) - Method in class name.martingeisse.grumpyjson.StructuralJsonEngine
Turns a value into a JsonElement.
toString() - Method in record class name.martingeisse.grumpyjson.builtin.helper_types.FieldMustBeNull
Returns a string representation of this record class.
toString() - Method in record class name.martingeisse.grumpyjson.builtin.helper_types.IgnoredField
Returns a string representation of this record class.
toString() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.NullableField
 
toString() - Method in class name.martingeisse.grumpyjson.builtin.helper_types.OptionalField
 
toString() - Method in record class name.martingeisse.grumpyjson.builtin.record.RecordConverter.Options
Returns a string representation of this record class.
toString() - Method in record class name.martingeisse.grumpyjson.FieldErrorNode.FlattenedError
Returns a string representation of this record class.
toString() - Method in class name.martingeisse.grumpyjson.FieldErrorNode
This method turns the node to a string for simple output / debugging purposes.
toString() - Method in class name.martingeisse.grumpyjson.json_model.JsonArray
 
toString() - Method in class name.martingeisse.grumpyjson.json_model.JsonBoolean
 
toString() - Method in class name.martingeisse.grumpyjson.json_model.JsonNull
 
toString() - Method in class name.martingeisse.grumpyjson.json_model.JsonNumber
 
toString() - Method in class name.martingeisse.grumpyjson.json_model.JsonObject
 
toString() - Method in class name.martingeisse.grumpyjson.json_model.JsonString
 
toString() - Method in record class name.martingeisse.grumpyjson.JsonRegistries
Returns a string representation of this record class.
toString() - Method in record class name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
Returns a string representation of this record class.
TRUE - Static variable in class name.martingeisse.grumpyjson.json_model.JsonBoolean
The JSON true value
TypeToken<T> - Class in name.martingeisse.grumpyjson
This class is an easier way to represent a (parameterized) type than Type.
TypeToken() - Constructor for class name.martingeisse.grumpyjson.TypeToken
Constructor
TypeUtil - Class in name.martingeisse.grumpyjson.util
NOT PUBLIC API

U

UNEXPECTED_PROPERTY - Static variable in class name.martingeisse.grumpyjson.ExceptionMessages
Error message for an unexpected property in a JSON object.

W

writeTo(Object, OutputStream) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
writeTo(Object, OutputStream) - Method in class name.martingeisse.grumpyjson.JsonEngine
Turns a value into JSON that is written to an output stream.
writeTo(Object, Writer) - Method in class name.martingeisse.grumpyjson.GsonBasedJsonEngine
 
writeTo(Object, Writer) - Method in class name.martingeisse.grumpyjson.JsonEngine
Turns a value into JSON that is written to a writer.
A B C D E F G H I J L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form