public class ResourceSerializer
extends com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.sling.api.resource.Resource>
resources
in the most straightforward manner available: By providing the
resource path
.Modifier and Type | Method and Description |
---|---|
void |
serialize(org.apache.sling.api.resource.Resource 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 org.apache.sling.api.resource.Resource 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<org.apache.sling.api.resource.Resource>
IOException
Copyright © 2024. All rights reserved.