Uses of Interface
org.codehaus.jackson.FormatSchema
-
Packages that use FormatSchema Package Description org.codehaus.jackson Main public API classes of the core streaming JSON processor: most importantlyJsonFactory
used for constructing JSON parser (JsonParser
) and generator (JsonParser
) instances.org.codehaus.jackson.map 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 viaObjectMapper
class, as well as convenience methods included inJsonParser
org.codehaus.jackson.util Utility classes used by Jackson Core functionality. -
-
Uses of FormatSchema in org.codehaus.jackson
Methods in org.codehaus.jackson with parameters of type FormatSchema Modifier and Type Method Description boolean
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 FormatSchema Modifier and Type Field Description protected FormatSchema
ObjectReader. _schema
When using data format that uses a schema, schema is passed to parser.protected 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 FormatSchema Modifier and Type Method Description ObjectReader
ObjectMapper. reader(FormatSchema schema)
Factory method for constructingObjectReader
that will pass specific schema object toJsonParser
used for reading content.ObjectReader
ObjectMapper. schemaBasedReader(FormatSchema schema)
Deprecated.Since 1.9, useObjectMapper.reader(FormatSchema)
instead.ObjectWriter
ObjectMapper. schemaBasedWriter(FormatSchema schema)
Deprecated.Since 1.9, useObjectMapper.writer(FilterProvider)
instead.ObjectReader
ObjectReader. withSchema(FormatSchema schema)
ObjectWriter
ObjectWriter. withSchema(FormatSchema schema)
ObjectWriter
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 FormatSchema Constructor Description ObjectReader(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues)
ObjectReader(ObjectReader base, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues)
Copy constructor used for building variations.ObjectWriter(ObjectMapper mapper, SerializationConfig config, FormatSchema s)
Alternative constructor for initial instantiation.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 FormatSchema Modifier and Type Method Description boolean
JsonGeneratorDelegate. canUseSchema(FormatSchema schema)
boolean
JsonParserDelegate. canUseSchema(FormatSchema schema)
void
JsonGeneratorDelegate. setSchema(FormatSchema schema)
void
JsonParserDelegate. setSchema(FormatSchema schema)
-