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
JsonParserUtility classes used by Jackson Core functionality.
-
Uses of FormatSchema in org.codehaus.jackson
Methods in org.codehaus.jackson with parameters of type FormatSchemaModifier and TypeMethodDescriptionbooleanJsonGenerator.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)).booleanJsonParser.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)).voidJsonGenerator.setSchema(FormatSchema schema) Method to call to make this generator use specified schema.voidJsonParser.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 FormatSchemaObjectReader._schemaWhen using data format that uses a schema, schema is passed to parser.protected final FormatSchemaObjectWriter._schemaWhen 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 constructingObjectReaderthat will pass specific schema object toJsonParserused 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 specifiedFormatSchematoJsonParserthat is constructed for parsing content.ObjectWriter.withSchema(FormatSchema schema) ObjectMapper.writer(FormatSchema schema) Factory method for constructingObjectWriterthat will pass specific schema object toJsonGeneratorused for writing content.Constructors in org.codehaus.jackson.map with parameters of type FormatSchemaModifierConstructorDescriptionprotectedObjectReader(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) protectedObjectReader(ObjectReader base, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Copy constructor used for building variations.protectedObjectWriter(ObjectMapper mapper, SerializationConfig config, FormatSchema s) Alternative constructor for initial instantiation.protectedObjectWriter(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 TypeMethodDescriptionbooleanJsonGeneratorDelegate.canUseSchema(FormatSchema schema) booleanJsonParserDelegate.canUseSchema(FormatSchema schema) voidJsonGeneratorDelegate.setSchema(FormatSchema schema) voidJsonParserDelegate.setSchema(FormatSchema schema)
ObjectMapper.reader(FormatSchema)instead.