Uses of Interface
com.fasterxml.jackson.core.FormatSchema
-
Packages that use FormatSchema Package Description com.fasterxml.jackson.core Main public API classes of the core streaming JSON processor: most importantlyJsonFactoryused for constructing JSON parser (JsonParser) and generator (JsonGenerator) instances.com.fasterxml.jackson.core.util Utility classes used by Jackson Core functionality.com.fasterxml.jackson.databind Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees (JsonNode), as well as writing Java Objects and trees as JSON. -
-
Uses of FormatSchema in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core that return FormatSchema Modifier and Type Method Description FormatSchemaJsonGenerator. getSchema()Method for accessing Schema that this generator uses, if any;nullif none.FormatSchemaJsonParser. getSchema()Method for accessing Schema that this parser uses, if any.Methods in com.fasterxml.jackson.core with parameters of type FormatSchema Modifier and Type Method Description booleanJsonFactory. canUseSchema(FormatSchema schema)Method that can be used to quickly check whether given schema is something that parsers and/or generators constructed by this factory could use.booleanJsonGenerator. canUseSchema(FormatSchema schema)Method that can be used to verify that given schema can be used with this generator (usingJsonGenerator.setSchema(com.fasterxml.jackson.core.FormatSchema)).booleanJsonParser. canUseSchema(FormatSchema schema)Method that can be used to verify that given schema can be used with this parser (usingJsonParser.setSchema(com.fasterxml.jackson.core.FormatSchema)).abstract booleanTokenStreamFactory. canUseSchema(FormatSchema schema)Method that can be used to quickly check whether given schema is something that parsers and/or generators constructed by this factory could use.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 com.fasterxml.jackson.core.util
Methods in com.fasterxml.jackson.core.util that return FormatSchema Modifier and Type Method Description FormatSchemaJsonGeneratorDelegate. getSchema()FormatSchemaJsonParserDelegate. getSchema()Methods in com.fasterxml.jackson.core.util with parameters of type FormatSchema Modifier and Type Method Description booleanJsonGeneratorDelegate. canUseSchema(FormatSchema schema)booleanJsonParserDelegate. canUseSchema(FormatSchema schema)voidJsonGeneratorDelegate. setSchema(FormatSchema schema)voidJsonParserDelegate. setSchema(FormatSchema schema) -
Uses of FormatSchema in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as FormatSchema Modifier and Type Field Description protected FormatSchemaObjectReader. _schemaWhen using data format that uses a schema, schema is passed to parser.FormatSchemaObjectWriter.GeneratorSettings. schemaWhen using data format that uses a schema, schema is passed to generator.Methods in com.fasterxml.jackson.databind that return FormatSchema Modifier and Type Method Description FormatSchemaMappingIterator. getParserSchema()Accessor for accessingFormatSchemathat the underlying parser (as perMappingIterator.getParser()) is using, if any; only parser of schema-aware formats use schemas.Methods in com.fasterxml.jackson.databind with parameters of type FormatSchema Modifier and Type Method Description protected ObjectReaderObjectReader. _new(ObjectReader base, DeserializationConfig config, JavaType valueType, JsonDeserializer<Object> rootDeser, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues, DataFormatReaders dataFormatReaders)Overridable factory method called by various "withXxx()" methodsprotected ObjectReaderObjectMapper. _newReader(DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues)Factory method sub-classes must override, to produceObjectReaderinstances of proper sub-typeprotected ObjectWriterObjectMapper. _newWriter(SerializationConfig config, FormatSchema schema)Factory method sub-classes must override, to produceObjectWriterinstances of proper sub-typeprotected voidObjectMapper. _verifySchemaType(FormatSchema schema)protected voidObjectReader. _verifySchemaType(FormatSchema schema)protected voidObjectWriter. _verifySchemaType(FormatSchema schema)JsonParserDeserializationConfig. initialize(JsonParser p, FormatSchema schema)ObjectReaderObjectMapper. reader(FormatSchema schema)Factory method for constructingObjectReaderthat will pass specific schema object toJsonParserused for reading content.ObjectReaderObjectReader. with(FormatSchema schema)Method for constructing a new instance with configuration that passes specifiedFormatSchematoJsonParserthat is constructed for parsing content.ObjectWriter.GeneratorSettingsObjectWriter.GeneratorSettings. with(FormatSchema sch)ObjectWriterObjectWriter. with(FormatSchema schema)Method that will construct a new instance that uses specific format schema for serialization.ObjectWriterObjectWriter. withSchema(FormatSchema schema)Deprecated.Since 2.5 useObjectWriter.with(FormatSchema)insteadObjectWriterObjectMapper. writer(FormatSchema schema)Factory method for constructingObjectWriterthat will pass specific schema object toJsonGeneratorused for writing content.Constructors in com.fasterxml.jackson.databind with parameters of type FormatSchema Constructor Description GeneratorSettings(PrettyPrinter pp, FormatSchema sch, CharacterEscapes esc, SerializableString rootSep)ObjectReader(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues)Constructor called when a root deserializer should be fetched based on other configuration.ObjectReader(ObjectReader base, DeserializationConfig config, JavaType valueType, JsonDeserializer<Object> rootDeser, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues, DataFormatReaders dataFormatReaders)Copy constructor used for building variations.ObjectWriter(ObjectMapper mapper, SerializationConfig config, FormatSchema s)Alternative constructor for initial instantiation byObjectMapper
-