Package org.codehaus.jackson.util
package org.codehaus.jackson.util
Utility classes used by Jackson Core functionality.
-
ClassDescriptionThis is a small utility class, whose main functionality is to allow simple reuse of raw byte/char buffers.Helper class that is similar to
ByteArrayOutputStream
in usage, but more geared to Jackson use cases internally.DefaultPrettyPrinter
implementation that uses 2-space indentation with platform-default linefeeds.This is a very simple indenter that only every adds a single space for indentation.Default linefeed-based indenter uses system-specific linefeeds and 2 spaces for indentation per level.Dummy implementation that adds no indentation whatsoeverSingleton class that adds a simple first-level cache in front of regular String.intern() functionality.Helper class that implements delegation pattern forJsonParser
, to allow for simple overridability of basic parsing functionality.Helper class that can be used to sequence multiple physicalJsonParser
s to create a single logical sequence of tokens, as a singleJsonParser
.PrettyPrinter
implementation that adds no indentation, just implements everything necessary for value output to work as expected, and provide simpler extension points to allow for creating simple custom implementations that add specific decoration or overrides.TextBuffer is a class similar toStringBuffer
, with following differences: TextBuffer uses segments character arrays, to avoid having to do additional array copies when array is not big enough.Utility class used for efficient storage ofJsonToken
sequences, needed for temporary buffering.Individual segment of TokenBuffer that can store up to 16 tokens (limited by 4 bits per token type marker requirement).Functionality for supporting exposing of componentVersion
s.