public class SmartObjectMapper
extends com.fasterxml.jackson.databind.ObjectMapper
@Sensitive
annotation._defaultPrettyPrinter, _deserializationConfig, _deserializationContext, _injectableValues, _jsonFactory, _mixIns, _registeredModuleTypes, _rootDeserializers, _serializationConfig, _serializerFactory, _serializerProvider, _subtypeResolver, _typeFactory, DEFAULT_ANNOTATION_INTROSPECTOR, DEFAULT_BASE, STD_VISIBILITY_CHECKER| Constructor and Description |
|---|
SmartObjectMapper(com.fasterxml.jackson.databind.Module... modules)
This constructor creates a new smart object mapper for the specified modules.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.core.PrettyPrinter |
_defaultPrettyPrinter()
This method overrides the same method in the super class and returns a better
pretty printer implementation.
|
protected com.fasterxml.jackson.core.PrettyPrinter |
_defaultPrettyPrinter(String indentation)
This method behaves similarly to the
_defaultPrettyPrinter() method
except that it includes an indentation prefix that will be prepended to each line of the
resulting string (except the first line). |
String |
writeValueAsString(Object value) |
String |
writeValueAsString(Object value,
String indentation)
This method behaves similarly to the
writeValueAsString(Object value) method
except that it includes an indentation prefix that will be prepended to each line of the
resulting string (except the first line). |
_checkInvalidCopy, _configAndWriteValue, _configAndWriteValue, _convert, _findRootDeserializer, _initForReading, _newReader, _newReader, _newWriter, _newWriter, _newWriter, _readMapAndClose, _readValue, _serializerProvider, _unwrapAndDeserialize, _verifySchemaType, acceptJsonFormatVisitor, acceptJsonFormatVisitor, addHandler, addMixIn, addMixInAnnotations, canDeserialize, canDeserialize, canSerialize, canSerialize, clearProblemHandlers, configure, configure, configure, configure, configure, constructType, convertValue, convertValue, convertValue, copy, createArrayNode, createDeserializationContext, createObjectNode, defaultClassIntrospector, disable, disable, disable, disable, disable, disable, disable, disableDefaultTyping, enable, enable, enable, enable, enable, enable, enable, enableDefaultTyping, enableDefaultTyping, enableDefaultTyping, enableDefaultTypingAsProperty, findAndRegisterModules, findMixInClassFor, findModules, findModules, generateJsonSchema, getDateFormat, getDeserializationConfig, getDeserializationContext, getFactory, getInjectableValues, getJsonFactory, getNodeFactory, getPropertyNamingStrategy, getSerializationConfig, getSerializerFactory, getSerializerProvider, getSubtypeResolver, getTypeFactory, getVisibilityChecker, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, mixInCount, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, readerFor, readerFor, readerFor, readerForUpdating, readerWithView, 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, readValues, readValues, readValues, readValues, registerModule, registerModules, registerModules, registerSubtypes, registerSubtypes, setAnnotationIntrospector, setAnnotationIntrospectors, setBase64Variant, setConfig, setConfig, setDateFormat, setDefaultPrettyPrinter, setDefaultTyping, setFilterProvider, setFilters, setHandlerInstantiator, setInjectableValues, setLocale, setMixInAnnotations, setMixInResolver, setMixIns, setNodeFactory, setPropertyNamingStrategy, setSerializationInclusion, setSerializerFactory, setSerializerProvider, setSubtypeResolver, setTimeZone, setTypeFactory, setVisibility, setVisibility, setVisibilityChecker, treeAsTokens, treeToValue, valueToTree, version, writer, writer, writer, writer, writer, writer, writer, writer, writer, writer, writerFor, writerFor, writerFor, writerWithDefaultPrettyPrinter, writerWithType, writerWithType, writerWithType, writerWithView, writeTree, writeTree, writeValue, writeValue, writeValue, writeValue, writeValueAsBytespublic SmartObjectMapper(com.fasterxml.jackson.databind.Module... modules)
modules - The modules to be registered.public String writeValueAsString(Object value) throws com.fasterxml.jackson.core.JsonProcessingException
writeValueAsString in class com.fasterxml.jackson.databind.ObjectMappercom.fasterxml.jackson.core.JsonProcessingExceptionpublic String writeValueAsString(Object value, String indentation) throws com.fasterxml.jackson.core.JsonProcessingException
writeValueAsString(Object value) method
except that it includes an indentation prefix that will be prepended to each line of the
resulting string (except the first line).value - The smart object to be written out as a string.indentation - The indentation string to be prepended to each line.com.fasterxml.jackson.core.JsonProcessingException - The JSON object mapper was not able to serialize the object.protected com.fasterxml.jackson.core.PrettyPrinter _defaultPrettyPrinter()
_defaultPrettyPrinter in class com.fasterxml.jackson.databind.ObjectMapperprotected com.fasterxml.jackson.core.PrettyPrinter _defaultPrettyPrinter(String indentation)
_defaultPrettyPrinter() method
except that it includes an indentation prefix that will be prepended to each line of the
resulting string (except the first line).indentation - The indentation string to be prepended to each line.Copyright © 2015 Crater Dog Technologies(TM). All rights reserved.