Uses of Interface
org.codehaus.jackson.FormatSchema
Packages that use FormatSchema
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser
)
and generator
(JsonParser
)
instances.Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper
class, as well
as convenience methods included in
JsonParser
Utility classes used by Jackson Core functionality.
-
Uses of FormatSchema in org.codehaus.jackson
Methods in org.codehaus.jackson with parameters of type FormatSchemaModifier and TypeMethodDescriptionboolean
JsonGenerator.canUseSchema
(FormatSchema schema) Method that can be used to verify that given schema can be used with this generator (usingJsonGenerator.setSchema(org.codehaus.jackson.FormatSchema)
).boolean
JsonParser.canUseSchema
(FormatSchema schema) Method that can be used to verify that given schema can be used with this parser (usingJsonParser.setSchema(org.codehaus.jackson.FormatSchema)
).void
JsonGenerator.setSchema
(FormatSchema schema) Method to call to make this generator use specified schema.void
JsonParser.setSchema
(FormatSchema schema) Method to call to make this parser use specified schema. -
Uses of FormatSchema in org.codehaus.jackson.map
Fields in org.codehaus.jackson.map declared as FormatSchemaModifier and TypeFieldDescriptionprotected final FormatSchema
ObjectReader._schema
When using data format that uses a schema, schema is passed to parser.protected final FormatSchema
ObjectWriter._schema
When using data format that uses a schema, schema is passed to generator.Methods in org.codehaus.jackson.map with parameters of type FormatSchemaModifier and TypeMethodDescriptionObjectMapper.reader
(FormatSchema schema) Factory method for constructingObjectReader
that will pass specific schema object toJsonParser
used for reading content.ObjectMapper.schemaBasedReader
(FormatSchema schema) Deprecated.ObjectMapper.schemaBasedWriter
(FormatSchema schema) Deprecated.Since 1.9, useObjectMapper.writer(FilterProvider)
instead.ObjectReader.withSchema
(FormatSchema schema) Method for constructing a new instance with configuration that passes specifiedFormatSchema
toJsonParser
that is constructed for parsing content.ObjectWriter.withSchema
(FormatSchema schema) ObjectMapper.writer
(FormatSchema schema) Factory method for constructingObjectWriter
that will pass specific schema object toJsonGenerator
used for writing content.Constructors in org.codehaus.jackson.map with parameters of type FormatSchemaModifierConstructorDescriptionprotected
ObjectReader
(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) protected
ObjectReader
(ObjectReader base, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Copy constructor used for building variations.protected
ObjectWriter
(ObjectMapper mapper, SerializationConfig config, FormatSchema s) Alternative constructor for initial instantiation.protected
ObjectWriter
(ObjectWriter base, SerializationConfig config, JavaType rootType, PrettyPrinter pp, FormatSchema s) Copy constructor used for building variations. -
Uses of FormatSchema in org.codehaus.jackson.util
Methods in org.codehaus.jackson.util with parameters of type FormatSchemaModifier and TypeMethodDescriptionboolean
JsonGeneratorDelegate.canUseSchema
(FormatSchema schema) boolean
JsonParserDelegate.canUseSchema
(FormatSchema schema) void
JsonGeneratorDelegate.setSchema
(FormatSchema schema) void
JsonParserDelegate.setSchema
(FormatSchema schema)
ObjectMapper.reader(FormatSchema)
instead.