public class LazyLoadingSerializer
extends com.fasterxml.jackson.databind.ser.std.StdSerializer<io.neba.api.resourcemodels.Lazy>
Lazy
fields, thus enabling declaration of lazy fields that are only loaded
when a model is serialized to JSON.Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty(com.fasterxml.jackson.databind.SerializerProvider provider,
io.neba.api.resourcemodels.Lazy value) |
void |
serialize(io.neba.api.resourcemodels.Lazy value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
public void serialize(@CheckForNull io.neba.api.resourcemodels.Lazy value, @Nonnull com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize
in class com.fasterxml.jackson.databind.ser.std.StdSerializer<io.neba.api.resourcemodels.Lazy>
IOException
public boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider provider, io.neba.api.resourcemodels.Lazy value)
isEmpty
in class com.fasterxml.jackson.databind.JsonSerializer<io.neba.api.resourcemodels.Lazy>
Copyright © 2024. All rights reserved.