Uses of Interface
io.github.grumpystuff.grumpyjson.serialize.JsonSerializer
Packages that use JsonSerializer
Package
Description
-
Uses of JsonSerializer in io.github.grumpystuff.grumpyjson
Methods in io.github.grumpystuff.grumpyjson with type parameters of type JsonSerializerModifier and TypeMethodDescription<T extends JsonSerializer<?> & JsonDeserializer>
voidJsonRegistries.registerDualConverter(T converter) Registers the specified dual converter.final <T extends JsonSerializer<?> & JsonDeserializer>
voidStructuralJsonEngine.registerDualConverter(T converter) Registers the specified dual converter.Methods in io.github.grumpystuff.grumpyjson that return JsonSerializerModifier and TypeMethodDescription<T> JsonSerializer<T>JsonRegistries.getSerializer(Class<T> clazz) Methods in io.github.grumpystuff.grumpyjson with parameters of type JsonSerializerModifier and TypeMethodDescriptionvoidJsonRegistries.registerSerializer(JsonSerializer<?> serializer) Registers the specified serializer.final voidStructuralJsonEngine.registerSerializer(JsonSerializer<?> serializer) Registers the specified serializer. -
Uses of JsonSerializer in io.github.grumpystuff.grumpyjson.builtin
Classes in io.github.grumpystuff.grumpyjson.builtin that implement JsonSerializerModifier and TypeClassDescriptionfinal classA converter for the primitive type boolean and its boxed type,Boolean.final classEnumConverter<T extends Enum<T>>A converter for enum types.final classA converter for the primitive type int and its boxed type,Integer.final classA converter forJsonElement.final classThis converter handles type List<...> for deserialization, and the List interface and its implementing classes for serialization.final classA converter forLocalDate.final classA converter forLocalDateTime.final classA converter forLocalTime.final classA converter for the primitive type long and its boxed type,Long.final classThis converter handles type Map<...> for deserialization, and the Map interface and its implementing classes for serialization.final classA converter for typeString. -
Uses of JsonSerializer in io.github.grumpystuff.grumpyjson.builtin.helper_types
Classes in io.github.grumpystuff.grumpyjson.builtin.helper_types that implement JsonSerializerModifier and TypeClassDescriptionfinal classThe converter forFieldMustBeNull.final classThe converter forIgnoredField.final classThe converter forNullableField.final classThe converter forOptionalField. -
Uses of JsonSerializer in io.github.grumpystuff.grumpyjson.builtin.record
Classes in io.github.grumpystuff.grumpyjson.builtin.record that implement JsonSerializerModifier and TypeClassDescriptionfinal classMaps a record class to and from a JSON object.Methods in io.github.grumpystuff.grumpyjson.builtin.record that return JsonSerializerModifier and TypeMethodDescription<T> JsonSerializer<T>RecordConverterFactory.getSerializer(Class<T> clazz) NOT PUBLIC API -
Uses of JsonSerializer in io.github.grumpystuff.grumpyjson.serialize
Methods in io.github.grumpystuff.grumpyjson.serialize that return JsonSerializerModifier and TypeMethodDescriptionstatic <T> JsonSerializer<T>CustomJsonSerializer.from(Class<T> clazz, CustomJsonSerializer.SerializerBody<T> body) Builds a serializer for a single class type from a code body.protected JsonSerializer<?>JsonSerializerRegistry.generateRegistrable(Class<?> clazz) <T> JsonSerializer<T>JsonSerializerProvider.getSerializer(Class<T> clazz) Returns a registered serializer for the specified class, auto-generating it if necessary and possible.<T> JsonSerializer<T>JsonSerializerRegistry.getSerializer(Class<T> clazz) Methods in io.github.grumpystuff.grumpyjson.serialize with parameters of type JsonSerializerModifier and TypeMethodDescriptionprotected booleanJsonSerializerRegistry.registrableSupports(JsonSerializer<?> registrable, Class<?> key)