java.lang.Object
tools.jackson.databind.ObjectMapper
tools.jackson.dataformat.yaml.YAMLMapper
- All Implemented Interfaces:
Serializable,tools.jackson.core.TreeCodec,tools.jackson.core.Versioned
public class YAMLMapper
extends tools.jackson.databind.ObjectMapper
Convenience version of
ObjectMapper which is configured
with YAMLFactory.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBase implementation for "Vanilla"ObjectMapper, used with YAML backend. -
Field Summary
Fields inherited from class tools.jackson.databind.ObjectMapper
_deserializationConfig, _deserializationContexts, _injectableValues, _rootDeserializers, _savedBuilderState, _serializationConfig, _serializationContexts, _streamFactory, _typeFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic YAMLMapper.Builderbuilder()static YAMLMapper.Builderbuilder(YAMLFactory streamFactory) protected Objectrebuild()static YAMLMappershared()Accessor method for getting globally shared "default"YAMLMapperinstance: one that has default configuration, no modules registered, no config overrides.final YAMLFactoryOverridden with more specific type, since factory we have is always of typeYAMLFactorytools.jackson.core.Versionversion()protected ObjectMethods inherited from class tools.jackson.databind.ObjectMapper
_assertNotNull, _configAndWriteValue, _convert, _deserializationContext, _deserializationContext, _deserializationContext, _findRootDeserializer, _initForReading, _newReader, _newReader, _newWriter, _newWriter, _newWriter, _readMapAndClose, _readTreeAndClose, _readValue, _serializationContext, _serializationContext, _verifyNoTrailingTokens, _verifySchemaType, _writeCloseableValue, acceptJsonFormatVisitor, acceptJsonFormatVisitor, acceptJsonFormatVisitor, booleanNode, clearCaches, constructType, constructType, convertValue, convertValue, convertValue, createArrayNode, createGenerator, createGenerator, createGenerator, createGenerator, createGenerator, createGenerator, createNonBlockingByteArrayParser, createNonBlockingByteBufferParser, createObjectNode, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, deserializationConfig, getInjectableValues, getNodeFactory, getTypeFactory, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, missingNode, nullNode, reader, reader, reader, reader, reader, reader, reader, reader, reader, readerFor, readerFor, readerFor, readerForArrayOf, readerForListOf, readerForMapOf, readerForUpdating, readerWithView, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValues, readValues, readValues, registeredModules, serializationConfig, stringNode, treeAsTokens, treeToValue, treeToValue, treeToValue, updateValue, valueToTree, writer, writer, writer, writer, writer, writer, writer, writer, writer, writer, writerFor, writerFor, writerFor, writerWithDefaultPrettyPrinter, writerWithView, writeTree, writeValue, writeValue, writeValue, writeValue, writeValue, writeValue, writeValueAsBytes, writeValueAsString, writeValueIntoBuffer
-
Constructor Details
-
YAMLMapper
public YAMLMapper() -
YAMLMapper
-
YAMLMapper
-
-
Method Details
-
builder
-
builder
-
rebuild
- Overrides:
rebuildin classtools.jackson.databind.ObjectMapper
-
writeReplace
- Overrides:
writeReplacein classtools.jackson.databind.ObjectMapper
-
readResolve
- Overrides:
readResolvein classtools.jackson.databind.ObjectMapper
-
version
public tools.jackson.core.Version version()- Specified by:
versionin interfacetools.jackson.core.Versioned- Overrides:
versionin classtools.jackson.databind.ObjectMapper
-
tokenStreamFactory
Overridden with more specific type, since factory we have is always of typeYAMLFactory- Overrides:
tokenStreamFactoryin classtools.jackson.databind.ObjectMapper
-