Uses of Enum Class
tools.jackson.core.JsonEncoding
Packages that use JsonEncoding
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.Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
-
Uses of JsonEncoding in tools.jackson.core
Methods in tools.jackson.core that return JsonEncodingModifier and TypeMethodDescriptionstatic JsonEncodingReturns the enum constant of this class with the specified name.static JsonEncoding[]JsonEncoding.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in tools.jackson.core with parameters of type JsonEncodingModifier and TypeMethodDescriptionprotected IOContextTokenStreamFactory._createContext(ContentReference contentRef, boolean resourceManaged, JsonEncoding enc) Overridable factory method that actually instantiates desired context object.default JsonGeneratorObjectWriteContext.createGenerator(OutputStream out, JsonEncoding enc) TokenStreamFactory.createGenerator(OutputStream out, JsonEncoding enc) Deprecated.abstract JsonGeneratorTokenStreamFactory.createGenerator(ObjectWriteContext writeCtxt, File f, JsonEncoding enc) Method for constructing generator that writes contents to specified file, overwriting contents it might have (or creating it if such file does not yet exist).abstract JsonGeneratorTokenStreamFactory.createGenerator(ObjectWriteContext writeCtxt, OutputStream out, JsonEncoding enc) Method for constructing generator that writes contents using specifiedOutputStreamwith specified textual encoding (if applicable).abstract JsonGeneratorTokenStreamFactory.createGenerator(ObjectWriteContext writeCtxt, Path p, JsonEncoding enc) Method for constructing generator that writes contents to specified path, overwriting contents it might have (or creating it if such path does not yet exist). -
Uses of JsonEncoding in tools.jackson.core.base
Methods in tools.jackson.core.base with parameters of type JsonEncodingModifier and TypeMethodDescriptionprotected WriterTextualTSFactory._createWriter(IOContext ioCtxt, OutputStream out, JsonEncoding enc) BinaryTSFactory.createGenerator(ObjectWriteContext writeCtxt, File f, JsonEncoding enc) BinaryTSFactory.createGenerator(ObjectWriteContext writeCtxt, OutputStream out, JsonEncoding enc) BinaryTSFactory.createGenerator(ObjectWriteContext writeCtxt, Path p, JsonEncoding enc) TextualTSFactory.createGenerator(ObjectWriteContext writeCtxt, File f, JsonEncoding enc) TextualTSFactory.createGenerator(ObjectWriteContext writeCtxt, OutputStream out, JsonEncoding enc) TextualTSFactory.createGenerator(ObjectWriteContext writeCtxt, Path p, JsonEncoding enc) -
Uses of JsonEncoding in tools.jackson.core.io
Fields in tools.jackson.core.io declared as JsonEncodingModifier and TypeFieldDescriptionprotected JsonEncodingIOContext._encodingEncoding used by the underlying stream, if known.Methods in tools.jackson.core.io that return JsonEncodingMethods in tools.jackson.core.io with parameters of type JsonEncodingConstructors in tools.jackson.core.io with parameters of type JsonEncodingModifierConstructorDescriptionIOContext(StreamReadConstraints src, StreamWriteConstraints swc, ErrorReportConfiguration erc, BufferRecycler br, ContentReference contentRef, boolean managedResource, JsonEncoding enc) Main constructor to use. -
Uses of JsonEncoding in tools.jackson.core.json
Methods in tools.jackson.core.json that return JsonEncodingModifier and TypeMethodDescriptionByteSourceJsonBootstrapper.detectEncoding()Method that should be called after constructing an instace.