Uses of Interface
com.fasterxml.jackson.core.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
(JsonGenerator)
instances.Utility classes used by Jackson Core functionality.
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 FormatSchemaModifier and TypeMethodDescriptionJsonGenerator.getSchema()Method for accessing Schema that this generator uses, if any;nullif none.JsonParser.getSchema()Method for accessing Schema that this parser uses, if any.Methods in com.fasterxml.jackson.core with parameters of type FormatSchemaModifier and TypeMethodDescriptionbooleanJsonFactory.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 FormatSchemaModifier and TypeMethodDescriptionJsonGeneratorDelegate.getSchema()JsonParserDelegate.getSchema()Methods in com.fasterxml.jackson.core.util with parameters of type FormatSchemaModifier and TypeMethodDescriptionbooleanJsonGeneratorDelegate.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 FormatSchemaModifier and TypeFieldDescriptionprotected final FormatSchemaObjectReader._schemaWhen using data format that uses a schema, schema is passed to parser.final FormatSchemaObjectWriter.GeneratorSettings.schemaWhen using data format that uses a schema, schema is passed to generator.Methods in com.fasterxml.jackson.databind that return FormatSchemaModifier and TypeMethodDescriptionMappingIterator.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 FormatSchemaModifier and TypeMethodDescriptionprotected 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) DeserializationConfig.initialize(JsonParser p, FormatSchema schema) ObjectMapper.reader(FormatSchema schema) Factory method for constructingObjectReaderthat will pass specific schema object toJsonParserused for reading content.ObjectReader.with(FormatSchema schema) Method for constructing a new instance with configuration that passes specifiedFormatSchematoJsonParserthat is constructed for parsing content.ObjectWriter.GeneratorSettings.with(FormatSchema sch) ObjectWriter.with(FormatSchema schema) Method that will construct a new instance that uses specific format schema for serialization.ObjectWriter.withSchema(FormatSchema schema) Deprecated.ObjectMapper.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 FormatSchemaModifierConstructorDescriptionGeneratorSettings(PrettyPrinter pp, FormatSchema sch, CharacterEscapes esc, SerializableString rootSep) protectedObjectReader(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.protectedObjectReader(ObjectReader base, DeserializationConfig config, JavaType valueType, JsonDeserializer<Object> rootDeser, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues, DataFormatReaders dataFormatReaders) Copy constructor used for building variations.protectedObjectWriter(ObjectMapper mapper, SerializationConfig config, FormatSchema s) Alternative constructor for initial instantiation byObjectMapper
ObjectWriter.with(FormatSchema)instead