diff --git a/docs/javadoc/jr-all/2.14/allclasses-frame.html b/docs/javadoc/jr-all/2.14/allclasses-frame.html new file mode 100644 index 00000000..212154ba --- /dev/null +++ b/docs/javadoc/jr-all/2.14/allclasses-frame.html @@ -0,0 +1,84 @@ + + + +
+ + +Modifier and Type | +Field and Description | +
---|---|
protected CollectionBuilder |
+_collectionBuilder |
+
protected com.fasterxml.jackson.jr.ob.JSON.ExtContextImpl |
+_extContext |
+
protected int |
+_features |
+
protected MapBuilder |
+_mapBuilder |
+
protected PrettyPrinter |
+_prettyPrinter |
+
protected JSONReader |
+_reader |
+
protected JsonFactory |
+_streamFactory |
+
protected TreeCodec |
+_treeCodec |
+
protected JSONWriter |
+_writer |
+
Constructor and Description | +
---|
Builder(JsonFactory f) |
+
protected int _features+
protected PrettyPrinter _prettyPrinter+
protected final JsonFactory _streamFactory+
protected TreeCodec _treeCodec+
protected JSONReader _reader+
protected JSONWriter _writer+
protected MapBuilder _mapBuilder+
protected CollectionBuilder _collectionBuilder+
protected com.fasterxml.jackson.jr.ob.JSON.ExtContextImpl _extContext+
public Builder(JsonFactory f)+
public JSON build()+
public JSON.Builder register(JacksonJrExtension extension)+
JSON
+ this builder builds.extension
- Extension to registerpublic JSON.Builder set(JSON.Feature feature, + boolean state)+
public JSON.Builder enable(JSON.Feature... features)+
JSON
to be built.features
- Features to enablepublic JSON.Builder disable(JSON.Feature... features)+
JSON
to be built.features
- Features to disablepublic JSON.Builder prettyPrinter(PrettyPrinter pp)+
PrettyPrinter
JSON
to be built
+ should use on serialization.pp
- Pretty printer to usepublic JSON.Builder treeCodec(TreeCodec tc)+
TreeCodec
JSON
to be built
+ should use for reading and writing TreeNode
values.
+
+ Note: by default no TreeCodec
is configured.
tc
- TreeCodec to usepublic JSON.Builder jsonReader(JSONReader r)+
public JSON.Builder jsonWriter(JSONWriter w)+
public JSON.Builder collectionBuilder(CollectionBuilder b)+
public JSON.Builder mapBuilder(MapBuilder b)+
public boolean isEnabled(JSON.Feature f)+
public int featureMask()+
public PrettyPrinter prettyPrinter()+
public JsonFactory streamFactory()+
public TreeCodec treeCodec()+
public ReaderWriterModifier readerWriterModifier()+
public ReaderWriterProvider readerWriterProvider()+
public JSONReader jsonReader()+
public JSONWriter jsonWriter()+
public MapBuilder mapBuilder()+
public CollectionBuilder collectionBuilder()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSON.Feature.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSON.Feature.html new file mode 100644 index 00000000..04a12ccf --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSON.Feature.html @@ -0,0 +1,931 @@ + + + + + + +public static enum JSON.Feature +extends Enum<JSON.Feature>+
JSON
; used for simple
+ configuration aspects.Enum Constant and Description | +
---|
ACCEPT_CASE_INSENSITIVE_ENUMS
+Feature that determines if Enum deserialization should be case sensitive or not.
+ |
+
ACCEPT_CASE_INSENSITIVE_PROPERTIES
+Feature that will allow for more forgiving deserialization of incoming JSON.
+ |
+
FAIL_ON_DUPLICATE_MAP_KEYS
+When encountering duplicate keys for JSON Objects, should an exception
+ be thrown or not? If exception is not thrown, the last instance
+ from input document will be used.
+ |
+
FAIL_ON_UNKNOWN_BEAN_PROPERTY
+When encountering a JSON Object property name for which there is no
+ matching Bean property, should an exception be thrown (true),
+ or should JSON Property value be quietly skipped (false)?
+ |
+
FAIL_ON_UNKNOWN_TYPE_WRITE
+Feature that determines what happens when we encounter a value of
+ unrecognized type for which we do not have standard handler: if enabled,
+ will throw a
+JSONObjectException , if disabled simply
+ calls Object.toString() and uses that JSON String as serialization. |
+
FLUSH_AFTER_WRITE_VALUE
+Feature that determines whether
+JsonGenerator.flush() is
+ called after write() method that takes JsonGenerator
+ as an argument completes (that is, does NOT affect methods
+ that use other destinations). |
+
FORCE_REFLECTION_ACCESS
+Feature that determines whether access to
+Method s and
+ Constructor s that are used with dynamically
+ introspected Beans may be forced using
+ AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean) or not. |
+
HANDLE_JAVA_BEANS
+Feature that determines whether Bean types (Java objects with
+ getters and setters that expose state to serialize) will be
+ recognized and handled or not.
+ |
+
INCLUDE_STATIC_FIELDS
+Feature that enables serialization and deserialization of non-final static fields.
+ |
+
PRESERVE_FIELD_ORDERING
+This feature can be used to indicate that the reader should preserve
+ order of the properties same as what input document has.
+ |
+
PRETTY_PRINT_OUTPUT
+Feature that can be enabled to use "pretty-printing", basic indentation
+ to make resulting JSON easier to read by humans by adding white space
+ such as line feeds and indentation.
+ |
+
READ_JSON_ARRAYS_AS_JAVA_ARRAYS
+When reading JSON Arrays, should matching Java value be of type
+
+Object[] (true) or List (false)? |
+
READ_ONLY
+This feature can be enabled to reduce memory usage for use cases where
+ resulting container objects (
+Map s and Collection s)
+ do not need to mutable (that is, their contents can not changed). |
+
USE_BIG_DECIMAL_FOR_FLOATS
+When reading JSON Numbers, should
+BigDecimal be used
+ for floating-point numbers; or should Double be used. |
+
USE_DEFERRED_MAPS
+This feature determines whether
+Map instances constructed use
+ deferred materialization (as implemented by DeferredMap ), in case
+ user has not specified custom Map implementation. |
+
USE_FIELDS
+Feature that enables use of public fields instead of setters and getters,
+ in cases where no setter/getter is available.
+ |
+
USE_IS_GETTERS
+Whether "is-getters" (like
+public boolean isValuable() ) are detected
+ for use or not. |
+
WRITE_DATES_AS_TIMESTAMP
+Feature that determines whether Date (and date/time) values
+ (and Date-based things like
+Calendar s) are to be
+ serialized as numeric timestamps (true),
+ or using a textual representation (false) |
+
WRITE_ENUMS_USING_INDEX
+Feature that determines whether Enum values are written using
+ numeric index (true), or String representation from calling
+
+Enum.toString() (false). |
+
WRITE_NULL_PROPERTIES
+Feature that defines what to do with
+Map entries and Java Bean
+ properties that have null as value: if enabled, they will be written out normally;
+ if disabled, such entries and properties will be ignored. |
+
WRITE_READONLY_BEAN_PROPERTIES
+Feature that determines whether "read-only" properties of Beans
+ (properties that only have a getter but no matching setter) are
+ to be included in Bean serialization or not; if disabled,
+ only properties have have both setter and getter are serialized.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+affectsCaching() |
+
static int |
+cacheBreakers()
+Method for calculating bitset of features that force flushing of
+ POJO handler caches.
+ |
+
static int |
+defaults() |
+
boolean |
+enabledByDefault() |
+
boolean |
+isDisabled(int flags) |
+
boolean |
+isEnabled(int flags) |
+
int |
+mask() |
+
static JSON.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static JSON.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final JSON.Feature USE_BIG_DECIMAL_FOR_FLOATS+
BigDecimal
be used
+ for floating-point numbers; or should Double
be used.
+ Trade-off is between accuracy -- only BigDecimal
is
+ guaranteed to store the EXACT decimal value parsed -- and performance
+ (Double
is typically faster to parse).
+
+ Default setting is false
, meaning that Double
+ is used.
public static final JSON.Feature READ_JSON_ARRAYS_AS_JAVA_ARRAYS+ +
public static final JSON.Feature READ_ONLY+
Map
s and Collection
s)
+ do not need to mutable (that is, their contents can not changed).
+ If set, reader is allowed to construct immutable (read-only)
+ container objects; and specifically empty Map
s and
+ Collection
s can be used to reduce number of
+ objects allocated. In addition, sizes of non-empty containers can
+ be trimmed to exact size.
+
+ Default setting is false
, meaning that reader will have to
+ construct mutable container instance when reading.
public static final JSON.Feature PRESERVE_FIELD_ORDERING+
MapBuilder
+ to support this feature; custom implementations may ignore the setting.
+
+ Default setting is true
, meaning that reader is expected to try to
+ preserve ordering of fields read.
public static final JSON.Feature USE_DEFERRED_MAPS+
Map
instances constructed use
+ deferred materialization (as implemented by DeferredMap
), in case
+ user has not specified custom Map
implementation.
+ Enabling feature typically reduces initial value read time and moves
+ overhead to actual access of contents (materialization occurs when first
+ key or value access happens); this makes sense when only a subset of
+ data is accessed. Conversely, when traversing full object hierarchy, it
+ makes sense to disable this feature.
+
+ Default setting is true
, meaning that reader is expected to try to
public static final JSON.Feature FAIL_ON_DUPLICATE_MAP_KEYS+
+ Default setting is true
, meaning that a
+ JSONObjectException
will be thrown if duplicates are encountered.
public static final JSON.Feature FAIL_ON_UNKNOWN_BEAN_PROPERTY+
+ Default setting is false
, meaning that unmappable
+ JSON Object properties will simply be ignored.
public static final JSON.Feature WRITE_NULL_PROPERTIES+
Map
entries and Java Bean
+ properties that have null as value: if enabled, they will be written out normally;
+ if disabled, such entries and properties will be ignored.
+
+ Default setting is false
so that any null-valued properties
+ are ignored during serialization.
public static final JSON.Feature WRITE_ENUMS_USING_INDEX+
Enum.toString()
(false).
++ Feature is disabled by default, + so that Enums are serialized as JSON Strings.
public static final JSON.Feature WRITE_DATES_AS_TIMESTAMP+
Calendar
s) are to be
+ serialized as numeric timestamps (true),
+ or using a textual representation (false)
++ Feature is disabled by default, so that date/time values are + serialized as text, NOT timestamp.
public static final JSON.Feature PRETTY_PRINT_OUTPUT+
+ Default setting is false
so that no pretty-printing is done
+ (unless explicitly constructed with a pretty printer object)
public static final JSON.Feature FLUSH_AFTER_WRITE_VALUE+
JsonGenerator.flush()
is
+ called after write()
method that takes JsonGenerator
+ as an argument completes (that is, does NOT affect methods
+ that use other destinations).
+ This usually makes sense; but there are cases where flushing
+ should not be forced: for example when underlying stream is
+ compressing and flush() causes compression state to be flushed
+ (which occurs with some compression codecs).
++ Feature is enabled by default.
public static final JSON.Feature FAIL_ON_UNKNOWN_TYPE_WRITE+
JSONObjectException
, if disabled simply
+ calls Object.toString()
and uses that JSON String as serialization.
+
+ NOTE: if HANDLE_JAVA_BEANS
is enabled, this setting typically
+ has no effect, since otherwise unknown types are recognized as
+ Bean types.
+
+
+ Feature is disabled by default + so that no exceptions are thrown.
public static final JSON.Feature HANDLE_JAVA_BEANS+
Object.toString()
method), and can not be deserialized.
++ Feature is enabled by default, but can be disabled do avoid use + of Bean reflection for cases where it is not desired.
public static final JSON.Feature WRITE_READONLY_BEAN_PROPERTIES+
HANDLE_JAVA_BEANS
+ is also enabled.
++ Feature is enabled by default, + so that all Bean properties are serialized.
public static final JSON.Feature FORCE_REFLECTION_ACCESS+
Method
s and
+ Constructor
s that are used with dynamically
+ introspected Beans may be forced using
+ AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)
or not.
++ Feature is enabled by default, so that access may be forced.
public static final JSON.Feature USE_IS_GETTERS+
public boolean isValuable()
) are detected
+ for use or not. Note that in addition to naming, and lack of arguments, return
+ value also has to be boolean
or java.lang.Boolean
.public static final JSON.Feature USE_FIELDS+
+ Feature is enabled by default since 2.10 (but was disabled for + 2.8 and 2.9), so public fields are discovered by default.
public static final JSON.Feature INCLUDE_STATIC_FIELDS+
+ Feature did not exist, but was implicitly enabled by default. disabled for + 2.13).
public static final JSON.Feature ACCEPT_CASE_INSENSITIVE_PROPERTIES+
+ Note that there is additional performance overhead since incoming property names need to be lower-cased + before comparison, for cases where there are upper-case letters. Overhead for names that are already + lower-case should be negligible however. +
+ Feature is disabled by default.
public static final JSON.Feature ACCEPT_CASE_INSENSITIVE_ENUMS+
+ Feature is disabled by default.
public static JSON.Feature[] values()+
+for (JSON.Feature c : JSON.Feature.values()) + System.out.println(c); +
public static JSON.Feature valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static int defaults()+
public static int cacheBreakers()+
public final boolean enabledByDefault()+
public final boolean affectsCaching()+
public final int mask()+
public final boolean isDisabled(int flags)+
public final boolean isEnabled(int flags)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSON.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSON.html new file mode 100644 index 00000000..6fbea640 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSON.html @@ -0,0 +1,1900 @@ + + + + + + +public class JSON +extends Object +implements Versioned+
+ Note that instances are fully immutable, and thereby thread-safe. +
+ Note on source types: source to read is declared as Object
+ but covers following types:
+
InputStream
Reader
byte[]
char[]
String
/CharSequence
URL
File
Modifier and Type | +Class and Description | +
---|---|
static class |
+JSON.Builder
+Builder class that needs to be used for certain kind of "static" configuration
+ (settings that can not vary on per-call basis for
+JSON ), such as
+ Extension registration. |
+
static class |
+JSON.Feature
+Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
Modifier and Type | +Field and Description | +
---|---|
protected int |
+_features |
+
protected JsonFactory |
+_jsonFactory
+Underlying JSON factory used for creating Streaming parsers and
+ generators.
+ |
+
protected PrettyPrinter |
+_prettyPrinter |
+
protected JSONReader |
+_reader
+Blueprint instance of the reader to use for reading JSON as simple
+ Objects.
+ |
+
protected TreeCodec |
+_treeCodec
+
+ |
+
protected ValueReaderLocator |
+_valueReaderLocator |
+
protected ValueWriterLocator |
+_valueWriterLocator |
+
protected JSONWriter |
+_writer
+Blueprint instance of the writer to use for writing JSON given
+ simple Objects.
+ |
+
static int |
+CACHE_FLAGS |
+
static JSON |
+std
+Singleton instance with standard, default configuration.
+ |
+
Modifier | +Constructor and Description | +
---|---|
|
+JSON() |
+
|
+JSON(JSON.Builder b)
+Constructor used when creating instance using
+JSON.Builder . |
+
|
+JSON(JsonFactory jsonF) |
+
protected |
+JSON(JSON base,
+ int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader r,
+ JSONWriter w,
+ PrettyPrinter pp) |
+
protected |
+JSON(JSON base,
+ ValueReaderLocator rloc,
+ ValueWriterLocator wloc) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_close(Closeable cl) |
+
protected <T> T |
+_closeWithError(Closeable cl,
+ Exception e) |
+
protected JsonGenerator |
+_config(JsonGenerator g) |
+
protected JsonParser |
+_config(JsonParser p) |
+
protected JSONReader |
+_defaultReader() |
+
protected JSONWriter |
+_defaultWriter() |
+
protected JsonParser |
+_initForReading(JsonParser p) |
+
protected void |
+_noTreeCodec(String msg) |
+
protected JsonParser |
+_parser(Object source) |
+
protected JSONReader |
+_readerForOperation(JsonParser p) |
+
protected <T> T |
+_throw(Exception e) |
+
protected JSON |
+_with(int features)
+Internal mutant factory method used for constructing
+ |
+
protected JSON |
+_with(int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader reader,
+ JSONWriter writer,
+ PrettyPrinter pp) |
+
protected void |
+_writeAndClose(Object value,
+ JsonGenerator g) |
+
protected JSONWriter |
+_writerForOperation(JsonGenerator gen) |
+
Object |
+anyFrom(Object source)
+
+ |
+
ValueIterator<Object> |
+anySequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map ,
+ List , String , Number or Boolean . |
+
Object[] |
+arrayFrom(Object source) |
+
<T> T[] |
+arrayOfFrom(Class<T> type,
+ Object source) |
+
byte[] |
+asBytes(Object value) |
+
ObjectCodec |
+asCodec()
+Convenience method for constructing an adapter that uses this
+ instance as a
+ObjectCodec |
+
String |
+asString(Object value) |
+
<T> T |
+beanFrom(Class<T> type,
+ Object source) |
+
<T> ValueIterator<T> |
+beanSequenceFrom(Class<T> type,
+ Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type. |
+
static JSON.Builder |
+builder() |
+
static JSON.Builder |
+builder(JsonFactory streamFactory) |
+
JSONComposer<byte[]> |
+composeBytes() |
+
<C extends Collection<Object>> |
+composeCollection(C collection) |
+
CollectionComposer<?,List<Object>> |
+composeList() |
+
MapComposer<?> |
+composeMap() |
+
MapComposer<?> |
+composeMap(Map<String,Object> map) |
+
JSONComposer<String> |
+composeString() |
+
JSONComposer<OutputStream> |
+composeTo(File f) |
+
JSONComposer<OutputStream> |
+composeTo(OutputStream out) |
+
JSONComposer<OutputStream> |
+composeTo(Writer w) |
+
JSONComposer<OutputStream> |
+composeUsing(JsonGenerator gen) |
+
<T extends TreeNode> |
+createArrayNode()
+Convenience method, equivalent to:
+ |
+
<T extends TreeNode> |
+createObjectNode()
+Convenience method, equivalent to:
+ |
+
JsonParser |
+createParser(Object source)
+Factory method for opening a
+JsonParser to read content from one of
+ following supported sources
+
+ InputStream
+ Reader
+ byte[]
+ char[]
+ String /CharSequence
+ URL
+ File
+ |
+
JsonFactory |
+getStreamingFactory() |
+
TreeCodec |
+getTreeCodec() |
+
boolean |
+isEnabled(JSON.Feature f) |
+
List<Object> |
+listFrom(Object source) |
+
<T> List<T> |
+listOfFrom(Class<T> type,
+ Object source) |
+
Map<String,Object> |
+mapFrom(Object source) |
+
<T> Map<String,T> |
+mapOfFrom(Class<T> type,
+ Object source)
+Read method for reading a
+Map of type (usually POJO) values. |
+
<T extends TreeNode> |
+treeFrom(Object source)
+Method for reading content as a JSON Tree (of type that configured
+
+TreeCodec , see with(TreeCodec) ) supports. |
+
<T extends TreeNode> |
+treeSequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec , see with(TreeCodec) ) supports. |
+
Version |
+version() |
+
JSON |
+with(CollectionBuilder b)
+Mutant factory for constructing an instance with specified
+CollectionBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+with(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ enabled.
+ |
+
JSON |
+with(JSON.Feature feature,
+ boolean state)
+Mutant factory for constructing an instance with specified feature
+ enabled or disabled (depending on
+state ), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance. |
+
JSON |
+with(JsonFactory f)
+Deprecated.
+
+Since 2.11 should not try changing underlying stream factory but create
+ a new instance if necessary: method will be removed from 3.0 at latest
+ |
+
JSON |
+with(JSONReader r)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+with(JSONWriter w)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+with(MapBuilder b)
+Mutant factory for constructing an instance with specified
+MapBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+with(PrettyPrinter pp)
+Mutant factory for constructing an instance with specified
+PrettyPrinter ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+with(ReaderWriterProvider rwp)
+Deprecated.
+
+Since 2.11 should register using
+JacksonJrExtension |
+
JSON |
+with(TreeCodec c)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+without(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ disabled.
+ |
+
void |
+write(Object value,
+ File f) |
+
void |
+write(Object value,
+ JsonGenerator gen) |
+
void |
+write(Object value,
+ OutputStream out) |
+
void |
+write(Object value,
+ Writer w) |
+
public static final int CACHE_FLAGS+
public static final JSON std+
+ String json = JSON.std.asString(map); +
protected final JsonFactory _jsonFactory+
protected final TreeCodec _treeCodec+ +
protected final ValueReaderLocator _valueReaderLocator+
protected final ValueWriterLocator _valueWriterLocator+
protected final JSONReader _reader+
protected final JSONWriter _writer+
protected final int _features+
protected final PrettyPrinter _prettyPrinter+
public JSON()+
public JSON(JsonFactory jsonF)+
public JSON(JSON.Builder b)+
JSON.Builder
.b
- Builder that has configured settings to use.protected JSON(JSON base, + int features, + JsonFactory jsonF, + TreeCodec trees, + JSONReader r, + JSONWriter w, + PrettyPrinter pp)+
protected JSON(JSON base, + ValueReaderLocator rloc, + ValueWriterLocator wloc)+
public static JSON.Builder builder()+
public static JSON.Builder builder(JsonFactory streamFactory)+
protected JSONReader _defaultReader()+
protected JSONWriter _defaultWriter()+
public ObjectCodec asCodec()+
ObjectCodec
ObjectCodec
APIpublic JSON with(PrettyPrinter pp)+
PrettyPrinter
,
+ and returning new instance (or, if there would be no change, this instance).pp
- PrettyPrinter
to use for pretty-printing output (of null
to disable
+ pretty-printing)PrettyPrinter
(if not same as currently configured);
+ this
otherwise.public JSON with(JSON.Feature feature, + boolean state)+
state
), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance.public JSON with(JSON.Feature... features)+
public JSON without(JSON.Feature... features)+
protected final JSON _with(int features)+
@Deprecated +public JSON with(JsonFactory f)+
JsonFactory
+ if different from currently configured one (if not, return this
as-is)f
- Jackson core format factory to use for low-level decoding/encodingthis
otherwise.@Deprecated +public JSON with(TreeCodec c)+
builder()
and create
+ properly configured instanceTreeCodec
,
+ and returning new instance (or, if there would be no change, this instance).c
- Tree codec to use for reading/writing of tree representationthis
otherwise.@Deprecated +public JSON with(JSONReader r)+
builder()
and create
+ properly configured instanceJSONReader
,
+ and returning new instance (or, if there would be no change, this instance).r
- Customized JSONReader
to use instead of standard oneJSONReader
(if not same as currently configured);
+ this
otherwise.@Deprecated +public JSON with(JSONWriter w)+
builder()
and create
+ properly configured instanceJSONWriter
,
+ and returning new instance (or, if there would be no change, this instance).w
- Customized JSONWriter
to use instead of standard oneJSONWriter
(if not same as currently configured);
+ this
otherwise.public JSON with(MapBuilder b)+
MapBuilder
,
+ and returning new instance (or, if there would be no change, this instance).public JSON with(CollectionBuilder b)+
CollectionBuilder
,
+ and returning new instance (or, if there would be no change, this instance).@Deprecated +public JSON with(ReaderWriterProvider rwp)+
JacksonJrExtension
ReaderWriterProvider
,
+ and returning new instance (or, if there would be no change, this instance).protected JSON _with(int features, + JsonFactory jsonF, + TreeCodec trees, + JSONReader reader, + JSONWriter writer, + PrettyPrinter pp)+
public TreeCodec getTreeCodec()+
public JsonFactory getStreamingFactory()+
public final boolean isEnabled(JSON.Feature f)+
public JsonParser createParser(Object source) + throws IOException, + JSONObjectException+
JsonParser
to read content from one of
+ following supported sources
+InputStream
Reader
byte[]
char[]
String
/CharSequence
URL
File
+ Rules regarding closing of the underlying source follow rules
+ that JsonFactory
has for its createParser
method.
IOException
JSONObjectException
public String asString(Object value) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public byte[] asBytes(Object value) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public void write(Object value, + JsonGenerator gen) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public void write(Object value, + OutputStream out) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public void write(Object value, + Writer w) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public void write(Object value, + File f) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<OutputStream> composeUsing(JsonGenerator gen) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<OutputStream> composeTo(OutputStream out) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<OutputStream> composeTo(Writer w) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<OutputStream> composeTo(File f) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<String> composeString() + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<byte[]> composeBytes() + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public CollectionComposer<?,List<Object>> composeList()+
public <C extends Collection<Object>> CollectionComposer<?,C> composeCollection(C collection)+
public MapComposer<?> composeMap()+
public MapComposer<?> composeMap(Map<String,Object> map)+
public List<Object> listFrom(Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public <T> List<T> listOfFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public Object[] arrayFrom(Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public <T> T[] arrayOfFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public Map<String,Object> mapFrom(Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public <T> Map<String,T> mapOfFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
Map
of type
(usually POJO) values.IOException
JSONObjectException
public <T> T beanFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public Object anyFrom(Object source) + throws IOException+
Map
+ for JSON Objects, List
for JSON Arrays, String
+ for JSON Strings, null for JSON null, Boolean
for JSON booleans
+ and Number
for JSON numbers.
++ Supported source types include: +
InputStream
Reader
File
URL
String
byte[]
char[]
IOException
public <T extends TreeNode> T treeFrom(Object source) + throws IOException, + JSONObjectException+
TreeCodec
, see with(TreeCodec)
) supports.IOException
JSONObjectException
public <T> ValueIterator<T> beanSequenceFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type.IOException
JSONObjectException
public ValueIterator<Object> anySequenceFrom(Object source) + throws IOException, + JSONObjectException+
ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map
,
+ List
, String
, Number
or Boolean
.IOException
JSONObjectException
public <T extends TreeNode> ValueIterator<T> treeSequenceFrom(Object source) + throws IOException, + JSONObjectException+
ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec
, see with(TreeCodec)
) supports.IOException
JSONObjectException
public <T extends TreeNode> T createArrayNode()+
+ getTreeCodec().createArrayNode(); ++ Note that for call to succeed a
TreeCodec
must have been
+ configured with this instance using with(TreeCodec)
method.public <T extends TreeNode> T createObjectNode()+
+ getTreeCodec().createObjectNode(); ++ Note that for call to succeed a
TreeCodec
must have been
+ configured with this instance using with(TreeCodec)
method.protected final void _writeAndClose(Object value, + JsonGenerator g) + throws IOException+
IOException
protected JSONWriter _writerForOperation(JsonGenerator gen)+
protected JSONReader _readerForOperation(JsonParser p)+
protected JsonParser _parser(Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
protected JsonParser _initForReading(JsonParser p) + throws IOException+
IOException
protected JsonGenerator _config(JsonGenerator g)+
protected JsonParser _config(JsonParser p)+
protected <T> T _closeWithError(Closeable cl, + Exception e) + throws IOException+
IOException
protected void _close(Closeable cl)+
protected <T> T _throw(Exception e) + throws IOException+
IOException
protected void _noTreeCodec(String msg)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSONComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSONComposer.html new file mode 100644 index 00000000..a26e085b --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSONComposer.html @@ -0,0 +1,601 @@ + + + + + + +T
- Type of result being composed.public class JSONComposer<T> +extends SequenceComposer<JSONComposer<T>>+
JsonGenerator
object.
+ This is similar to ArrayComposer
, but does not
+ have parent composer (so no end()
method),
+ but does implement Closeable
Modifier and Type | +Field and Description | +
---|---|
protected ByteArrayBuilder |
+_byteWriter |
+
protected boolean |
+_closeGenerator |
+
protected int |
+_features |
+
protected T |
+_result |
+
protected SegmentedStringWriter |
+_stringWriter |
+
_generator
_child, _open
Modifier | +Constructor and Description | +
---|---|
|
+JSONComposer(int features,
+ JsonGenerator gen,
+ boolean closeGenerator) |
+
protected |
+JSONComposer(int features,
+ JsonGenerator gen,
+ ByteArrayBuilder w) |
+
protected |
+JSONComposer(int features,
+ JsonGenerator gen,
+ SegmentedStringWriter w) |
+
protected |
+JSONComposer(int features,
+ T result) |
+
Modifier and Type | +Method and Description | +
---|---|
protected Object |
+_finish() |
+
protected JSONComposer<T> |
+_start() |
+
static JSONComposer<byte[]> |
+bytesComposer(int features,
+ JsonGenerator gen,
+ ByteArrayBuilder w) |
+
static <T extends Collection<Object>> |
+collectionComposer(int features,
+ T coll) |
+
T |
+finish()
+Method to call to complete composition, flush any pending content,
+ and return instance of specified result type.
+ |
+
static JSONComposer<Map<String,Object>> |
+mapComposer(int features,
+ Map<String,Object> map) |
+
static <RESULT> JSONComposer<RESULT> |
+streamComposer(int features,
+ JsonGenerator gen,
+ boolean closeGenerator) |
+
static JSONComposer<String> |
+stringComposer(int features,
+ JsonGenerator gen,
+ SegmentedStringWriter w) |
+
_closeChild, _this, add, add, add, add, add, add, addNull, addObject, flush, startArray, startObject
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final int _features+
protected final boolean _closeGenerator+
protected T _result+
protected SegmentedStringWriter _stringWriter+
protected ByteArrayBuilder _byteWriter+
public JSONComposer(int features, + JsonGenerator gen, + boolean closeGenerator)+
protected JSONComposer(int features, + JsonGenerator gen, + SegmentedStringWriter w)+
protected JSONComposer(int features, + JsonGenerator gen, + ByteArrayBuilder w)+
protected JSONComposer(int features, + T result)+
public static <RESULT> JSONComposer<RESULT> streamComposer(int features, + JsonGenerator gen, + boolean closeGenerator)+
public static JSONComposer<String> stringComposer(int features, + JsonGenerator gen, + SegmentedStringWriter w)+
public static JSONComposer<byte[]> bytesComposer(int features, + JsonGenerator gen, + ByteArrayBuilder w)+
public static <T extends Collection<Object>> JSONComposer<T> collectionComposer(int features, + T coll)+
public static JSONComposer<Map<String,Object>> mapComposer(int features, + Map<String,Object> map)+
public T finish() + throws IOException+
IOException
protected JSONComposer<T> _start() + throws IOException+
_start
in class ComposerBase
IOException
protected Object _finish() + throws IOException+
_finish
in class ComposerBase
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.Reference.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.Reference.html new file mode 100644 index 00000000..d70ae449 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.Reference.html @@ -0,0 +1,500 @@ + + + + + + +public static class JSONObjectException.Reference +extends Object +implements Serializable+
Modifier and Type | +Field and Description | +
---|---|
protected String |
+_fieldName
+Name of field (for beans) or key (for Maps) that is part
+ of the reference.
+ |
+
protected Object |
+_from
+Object through which reference was resolved.
+ |
+
protected int |
+_index
+Index within a
+Collection instance that contained
+ the reference; used if index is relevant and available. |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+Reference()
+Default constructor for deserialization/sub-classing purposes
+ |
+
|
+Reference(Object from) |
+
|
+Reference(Object from,
+ int index) |
+
|
+Reference(Object from,
+ String fieldName) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getFieldName() |
+
Object |
+getFrom() |
+
int |
+getIndex() |
+
void |
+setFieldName(String n) |
+
void |
+setFrom(Object o) |
+
void |
+setIndex(int ix) |
+
String |
+toString() |
+
protected Object _from+
protected String _fieldName+
_index
defined), or when resolving
+ Map classes without (yet) having an instance to operate on.protected int _index+
Collection
instance that contained
+ the reference; used if index is relevant and available.
+ If either not applicable, or not available, -1 is used to
+ denote "not known".protected Reference()+
public Reference(Object from)+
public Reference(Object from, + int index)+
public void setFrom(Object o)+
public void setFieldName(String n)+
public void setIndex(int ix)+
public Object getFrom()+
public String getFieldName()+
public int getIndex()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.html new file mode 100644 index 00000000..3f2dea16 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.html @@ -0,0 +1,754 @@ + + + + + + +public class JSONObjectException +extends JsonProcessingException+
com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package).Modifier and Type | +Class and Description | +
---|---|
static class |
+JSONObjectException.Reference
+Simple bean class used to contain references.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected LinkedList<JSONObjectException.Reference> |
+_path
+Path through which problem that triggering throwing of
+ this exception was reached.
+ |
+
_location
Constructor and Description | +
---|
JSONObjectException(String msg) |
+
JSONObjectException(String msg,
+ JsonLocation loc) |
+
JSONObjectException(String msg,
+ JsonLocation loc,
+ Throwable rootCause) |
+
JSONObjectException(String msg,
+ Throwable rootCause) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_appendPathDesc(StringBuilder sb) |
+
protected String |
+_buildMessage() |
+
static JSONObjectException |
+from(JsonParser p,
+ String msg) |
+
static JSONObjectException |
+from(JsonParser p,
+ String msg,
+ Object... args) |
+
static JSONObjectException |
+from(JsonParser p,
+ Throwable problem,
+ String msg,
+ Object... args) |
+
static JSONObjectException |
+fromUnexpectedIOE(IOException src)
+Factory method used when "upgrading" an
+IOException into
+ JSONObjectException : usually only needed to comply with
+ a signature. |
+
String |
+getLocalizedMessage() |
+
String |
+getMessage()
+Method is overridden so that we can properly inject description
+ of problem path, if such is defined.
+ |
+
List<JSONObjectException.Reference> |
+getPath()
+Method for accessing full structural path within type hierarchy
+ down to problematic property.
+ |
+
String |
+getPathReference()
+Method for accesing description of path that lead to the
+ problem that triggered this exception
+ |
+
StringBuilder |
+getPathReference(StringBuilder sb) |
+
void |
+prependPath(JSONObjectException.Reference r) |
+
void |
+prependPath(Object referrer,
+ int index)
+Method called to prepend a reference information in front of
+ current path
+ |
+
void |
+prependPath(Object referrer,
+ String fieldName)
+Method called to prepend a reference information in front of
+ current path
+ |
+
String |
+toString() |
+
static JSONObjectException |
+wrapWithPath(Throwable src,
+ JSONObjectException.Reference ref)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
static JSONObjectException |
+wrapWithPath(Throwable src,
+ Object refFrom,
+ int index)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
static JSONObjectException |
+wrapWithPath(Throwable src,
+ Object refFrom,
+ String refFieldName)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
clearLocation, getLocation, getMessageSuffix, getOriginalMessage, getProcessor
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected LinkedList<JSONObjectException.Reference> _path+
public JSONObjectException(String msg)+
public JSONObjectException(String msg, + JsonLocation loc)+
public JSONObjectException(String msg, + JsonLocation loc, + Throwable rootCause)+
public static JSONObjectException from(JsonParser p, + String msg)+
public static JSONObjectException from(JsonParser p, + String msg, + Object... args)+
public static JSONObjectException from(JsonParser p, + Throwable problem, + String msg, + Object... args)+
public static JSONObjectException fromUnexpectedIOE(IOException src)+
IOException
into
+ JSONObjectException
: usually only needed to comply with
+ a signature.public static JSONObjectException wrapWithPath(Throwable src, + Object refFrom, + String refFieldName)+
public static JSONObjectException wrapWithPath(Throwable src, + Object refFrom, + int index)+
public static JSONObjectException wrapWithPath(Throwable src, + JSONObjectException.Reference ref)+
public List<JSONObjectException.Reference> getPath()+
public String getPathReference()+
public StringBuilder getPathReference(StringBuilder sb)+
public void prependPath(Object referrer, + String fieldName)+
public void prependPath(Object referrer, + int index)+
public void prependPath(JSONObjectException.Reference r)+
public String getLocalizedMessage()+
getLocalizedMessage
in class Throwable
public String getMessage()+
getMessage
in class JsonProcessingException
protected String _buildMessage()+
public String toString()+
toString
in class JsonProcessingException
protected void _appendPathDesc(StringBuilder sb)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JacksonJrExtension.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JacksonJrExtension.html new file mode 100644 index 00000000..0c8c7305 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/JacksonJrExtension.html @@ -0,0 +1,295 @@ + + + + + + +public abstract class JacksonJrExtension +extends Object+
JSON
.
+ Extensions typically provide things like custom readers (ValueReader
)
+ and writers (ValueWriter
) (via ReaderWriterProvider
), and
+ modifers (ReaderWriterModifier
) that allow customizing aspects of
+ JSON reading and writing.Constructor and Description | +
---|
JacksonJrExtension() |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract void |
+register(ExtensionContext ctxt)
+Method called by
+JSON to let extension register handlers
+ it wants to. |
+
protected abstract void register(ExtensionContext ctxt)+
JSON
to let extension register handlers
+ it wants to.ctxt
- Context that allows extension to register handlersCopyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/PackageVersion.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/PackageVersion.html new file mode 100644 index 00000000..61249249 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/PackageVersion.html @@ -0,0 +1,320 @@ + + + + + + +Modifier and Type | +Field and Description | +
---|---|
static Version |
+VERSION |
+
Constructor and Description | +
---|
PackageVersion() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/ValueIterator.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/ValueIterator.html new file mode 100644 index 00000000..0d12dd62 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/ValueIterator.html @@ -0,0 +1,918 @@ + + + + + + +public class ValueIterator<T> +extends Object +implements Iterator<T>, Closeable+
JSON
when binding sequence of
+ objects. Extension is done to allow more convenient exposing of
+ IOException
(which basic Iterator
does not expose).
+
+ NOTE: adapted from `jackson-databind` MappingIterator
Modifier and Type | +Field and Description | +
---|---|
protected boolean |
+_closeParser
+Flag that indicates whether input
+JsonParser should be closed
+ when we are done or not; generally only called when caller did not
+ pass JsonParser. |
+
protected int |
+_mode
+Mode: kind of values we are iterating over
+ |
+
protected JsonParser |
+_parser
+Underlying parser used for reading content to bind.
+ |
+
protected JSONReader |
+_reader
+Context for deserialization, needed to pass through to deserializer
+ |
+
protected JsonStreamContext |
+_seqContext
+Context to resynchronize to, in case an exception is encountered
+ but caller wants to try to read more elements.
+ |
+
protected int |
+_state
+State of the iterator
+ |
+
protected TreeCodec |
+_treeCodec
+If "Tree" values are read, codec we need to use for binding
+ |
+
protected Class<?> |
+_type
+Type to bind individual elements to.
+ |
+
protected static ValueIterator<?> |
+EMPTY_ITERATOR |
+
protected static int |
+MODE_ANY
+
+ |
+
protected static int |
+MODE_BEAN
+Mode in which values are read as POJOs/Beans.
+ |
+
protected static int |
+MODE_TREE
+Mode in which values are read as "Tree" values, as bound
+ by registered
+TreeCodec . |
+
protected static int |
+STATE_CLOSED
+State in which iterator is closed
+ |
+
protected static int |
+STATE_HAS_VALUE
+State in which "hasNextValue()" has been successfully called
+ and deserializer can be called to fetch value
+ |
+
protected static int |
+STATE_MAY_HAVE_VALUE
+State in which no recovery is needed, but "hasNextValue()" needs
+ to be called first
+ |
+
protected static int |
+STATE_NEED_RESYNC
+State in which value read failed
+ |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+ValueIterator(int mode,
+ Class<?> type,
+ JsonParser p,
+ JSONReader reader,
+ TreeCodec treeCodec,
+ boolean managedParser) |
+
Modifier and Type | +Method and Description | +
---|---|
protected <R> R |
+_handleIOException(IOException e) |
+
protected <R> R |
+_handleMappingException(JSONObjectException e) |
+
protected void |
+_resync() |
+
protected <R> R |
+_throwNoSuchElement() |
+
void |
+close() |
+
protected static <T> ValueIterator<T> |
+emptyIterator() |
+
JsonLocation |
+getCurrentLocation()
+Convenience method, functionally equivalent to:
+
+
+ iterator.getParser().getCurrentLocation()
+ |
+
JsonParser |
+getParser()
+Accessor for getting underlying parser this iterator uses.
+ |
+
boolean |
+hasNext() |
+
boolean |
+hasNextValue()
+Equivalent of
+next() but one that may throw checked
+ exceptions from Jackson due to invalid input. |
+
T |
+next() |
+
T |
+nextValue() |
+
List<T> |
+readAll()
+Convenience method for reading all entries accessible via
+ this iterator; resulting container will be a
+ArrayList . |
+
<C extends Collection<? super T>> |
+readAll(C results)
+Convenience method for reading all entries accessible via this iterator
+ |
+
<L extends List<? super T>> |
+readAll(L resultList)
+Convenience method for reading all entries accessible via
+ this iterator
+ |
+
void |
+remove() |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected static final int MODE_BEAN+
protected static final int MODE_ANY+ +
protected static final int MODE_TREE+
TreeCodec
.protected static final ValueIterator<?> EMPTY_ITERATOR+
protected static final int STATE_CLOSED+
protected static final int STATE_NEED_RESYNC+
protected static final int STATE_MAY_HAVE_VALUE+
protected static final int STATE_HAS_VALUE+
protected final int _mode+
protected final Class<?> _type+
protected final JSONReader _reader+
protected final TreeCodec _treeCodec+
protected final JsonParser _parser+
null
but set as null
when
+ iterator is closed, to denote closing.protected final JsonStreamContext _seqContext+
protected final boolean _closeParser+
JsonParser
should be closed
+ when we are done or not; generally only called when caller did not
+ pass JsonParser.protected int _state+
protected ValueIterator(int mode, + Class<?> type, + JsonParser p, + JSONReader reader, + TreeCodec treeCodec, + boolean managedParser)+
managedParser
- Whether we "own" the JsonParser
passed or not:
+ if true, it was created by Json
and code here needs to
+ close it; if false, it was passed by calling code and should not be
+ closed by iterator.protected static <T> ValueIterator<T> emptyIterator()+
public void close() + throws IOException+
close
in interface Closeable
close
in interface AutoCloseable
IOException
public boolean hasNextValue() + throws IOException+
next()
but one that may throw checked
+ exceptions from Jackson due to invalid input.IOException
public T nextValue() + throws IOException+
IOException
public List<T> readAll() + throws IOException+
ArrayList
.IOException
public <L extends List<? super T>> L readAll(L resultList) + throws IOException+
IOException
public <C extends Collection<? super T>> C readAll(C results) + throws IOException+
IOException
public JsonParser getParser()+
public JsonLocation getCurrentLocation()+
+ iterator.getParser().getCurrentLocation()
+
protected void _resync() + throws IOException+
IOException
protected <R> R _throwNoSuchElement()+
protected <R> R _handleMappingException(JSONObjectException e)+
protected <R> R _handleIOException(IOException e)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.Default.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.Default.html new file mode 100644 index 00000000..1d774f08 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.Default.html @@ -0,0 +1,510 @@ + + + + + + +public static class CollectionBuilder.Default +extends CollectionBuilder+
CollectionBuilder
implementation, which uses ArrayList
+ as the type of List
to build, unless instructed otherwise.
+
+ When sub-classing to use different underlying mutable List
+ type, you need to sub-class following methods:
+
newBuilder(int)
: factory method for constructing new builder instance
+ _list(int)
: factory method for constructing List
to build
+
+ If constructing builders that use different approaches (like, say, produce
+ immutable Guava Lists), you may need to override more methods; or perhaps
+ just extend basic CollectionBuilder
.
CollectionBuilder.Default
Modifier and Type | +Field and Description | +
---|---|
protected Collection<Object> |
+_current |
+
_collectionType, _features, EMPTY_ARRAY
Modifier | +Constructor and Description | +
---|---|
protected |
+Default(int features,
+ Class<?> collImpl) |
+
Modifier and Type | +Method and Description | +
---|---|
protected Collection<Object> |
+_list(int initialSize)
+Overridable factory method for constructing underlying List.
+ |
+
CollectionBuilder |
+add(Object value) |
+
Object[] |
+buildArray()
+Alternative build method used when desired result type is
+
+Object[] |
+
Collection<Object> |
+buildCollection()
+The usual build method to use for constructing
+Collection |
+
Collection<Object> |
+emptyCollection()
+Specialized method that is called when an empty Collection needs to
+ be constructed; this may be a new Collection, or an immutable shared
+ one, depending on implementation.
+ |
+
CollectionBuilder |
+newBuilder(Class<?> collType) |
+
CollectionBuilder |
+newBuilder(int features) |
+
CollectionBuilder |
+start() |
+
buildArray, defaultImpl, emptyArray, emptyArray, isEnabled, newBuilder, singletonArray, singletonArray, singletonCollection
protected Collection<Object> _current+
protected Default(int features, + Class<?> collImpl)+
public CollectionBuilder newBuilder(int features)+
newBuilder
in class CollectionBuilder
public CollectionBuilder newBuilder(Class<?> collType)+
newBuilder
in class CollectionBuilder
public CollectionBuilder start()+
start
in class CollectionBuilder
public Collection<Object> buildCollection()+
CollectionBuilder
Collection
buildCollection
in class CollectionBuilder
public Object[] buildArray()+
CollectionBuilder
Object[]
buildArray
in class CollectionBuilder
public CollectionBuilder add(Object value)+
add
in class CollectionBuilder
public Collection<Object> emptyCollection()+
CollectionBuilder
+ Default implementation simply calls: +
+ start().buildCollection(); +
emptyCollection
in class CollectionBuilder
protected Collection<Object> _list(int initialSize)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.html new file mode 100644 index 00000000..1f1d993d --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.html @@ -0,0 +1,628 @@ + + + + + + +public abstract class CollectionBuilder +extends Object+
Collection
s
+ to map JSON Array values in.
+
+ Objects server both as "factories" for creating new builders (blueprint
+ style), and as actual builders. For each distinct read operation,
+ newBuilder(int)
will be called at least once; this instance
+ may be used and reused multiple times, as calling start()
+ will reset the state so that more Collection
s may be built.
Modifier and Type | +Class and Description | +
---|---|
static class |
+CollectionBuilder.Default
+Default
+CollectionBuilder implementation, which uses ArrayList
+ as the type of List to build, unless instructed otherwise. |
+
Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_collectionType
+Optional
+Collection implementation class, used when specific
+ implementation is desired. |
+
protected int |
+_features |
+
protected static Object[] |
+EMPTY_ARRAY |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+CollectionBuilder(int features,
+ Class<?> collImpl) |
+
Modifier and Type | +Method and Description | +
---|---|
abstract CollectionBuilder |
+add(Object value) |
+
Object[] |
+buildArray()
+Alternative build method used when desired result type is
+
+Object[] |
+
<T> T[] |
+buildArray(Class<T> type) |
+
abstract Collection<Object> |
+buildCollection()
+The usual build method to use for constructing
+Collection |
+
static CollectionBuilder |
+defaultImpl()
+Factory method for getting a blueprint instance of the default
+
+CollectionBuilder implementation. |
+
Object[] |
+emptyArray()
+Specialized method that is called when an empty
+Object[] needs to
+ be returned. |
+
<T> T[] |
+emptyArray(Class<T> type) |
+
Collection<Object> |
+emptyCollection()
+Specialized method that is called when an empty Collection needs to
+ be constructed; this may be a new Collection, or an immutable shared
+ one, depending on implementation.
+ |
+
boolean |
+isEnabled(JSON.Feature f) |
+
CollectionBuilder |
+newBuilder() |
+
abstract CollectionBuilder |
+newBuilder(Class<?> collImpl) |
+
abstract CollectionBuilder |
+newBuilder(int features) |
+
<T> T[] |
+singletonArray(Class<?> type,
+ T value) |
+
Object[] |
+singletonArray(Object value)
+Specialized method that is called when a single-entry array needs to
+ be constructed.
+ |
+
Collection<Object> |
+singletonCollection(Object value)
+Specialized method that is called when a single-entry Collection needs to
+ be constructed.
+ |
+
abstract CollectionBuilder |
+start() |
+
protected static final Object[] EMPTY_ARRAY+
protected final int _features+
protected final Class<?> _collectionType+
Collection
implementation class, used when specific
+ implementation is desired.protected CollectionBuilder(int features, + Class<?> collImpl)+
public static CollectionBuilder defaultImpl()+
CollectionBuilder
implementation.public abstract CollectionBuilder newBuilder(int features)+
public abstract CollectionBuilder newBuilder(Class<?> collImpl)+
public CollectionBuilder newBuilder()+
public final boolean isEnabled(JSON.Feature f)+
public abstract CollectionBuilder start()+
public abstract CollectionBuilder add(Object value)+
public abstract Collection<Object> buildCollection()+
Collection
public Object[] buildArray()+
Object[]
public <T> T[] buildArray(Class<T> type)+
public Collection<Object> emptyCollection()+
+ Default implementation simply calls: +
+ start().buildCollection(); +
public Object[] emptyArray()+
Object[]
needs to
+ be returned.
++ Default implementation simply returns a shared empty array instance.
public <T> T[] emptyArray(Class<T> type)+
public Collection<Object> singletonCollection(Object value)+
+ Default implementation simply calls: +
+ start().add(value).buildCollection(); +
public Object[] singletonArray(Object value)+
+ Default implementation simply returns equivalent of: +
+ new Object[] { value } +
public <T> T[] singletonArray(Class<?> type, + T value)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ExtensionContext.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ExtensionContext.html new file mode 100644 index 00000000..31912638 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ExtensionContext.html @@ -0,0 +1,402 @@ + + + + + + +public abstract class ExtensionContext +extends Object+
JacksonJrExtension
s to register handlers
+ it needs to.Constructor and Description | +
---|
ExtensionContext() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract ExtensionContext |
+appendModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the lowest priority
+ modifier (that is, being called after all other modifiers registered). |
+
abstract ExtensionContext |
+appendProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the lowest priority
+ provider (that is, having lower precedence than anything registered so far) |
+
abstract ExtensionContext |
+insertModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the highest priority
+ modifier (that is, being called before any other modifiers registered). |
+
abstract ExtensionContext |
+insertProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the highest priority
+ provider (that is, having higher precedence than anything registered so far) |
+
abstract ExtensionContext |
+setTreeCodec(TreeCodec tc)
+Method for setting
+TreeCodec to use, replacing codec that was formerly configured
+ (if any). |
+
abstract TreeCodec |
+treeCodec() |
+
public abstract ExtensionContext setTreeCodec(TreeCodec tc)+
TreeCodec
to use, replacing codec that was formerly configured
+ (if any).tc
- (optional) Tree Codec to use, or null
for removing currently configured onepublic abstract TreeCodec treeCodec()+
null
if none).public abstract ExtensionContext insertProvider(ReaderWriterProvider provider)+
ReaderWriterProvider
as the highest priority
+ provider (that is, having higher precedence than anything registered so far)provider
- Provider to registerpublic abstract ExtensionContext appendProvider(ReaderWriterProvider provider)+
ReaderWriterProvider
as the lowest priority
+ provider (that is, having lower precedence than anything registered so far)provider
- Provider to registerpublic abstract ExtensionContext insertModifier(ReaderWriterModifier modifier)+
ReaderWriterModifier
as the highest priority
+ modifier (that is, being called before any other modifiers registered).modifier
- Modifier to registerpublic abstract ExtensionContext appendModifier(ReaderWriterModifier modifier)+
ReaderWriterModifier
as the lowest priority
+ modifier (that is, being called after all other modifiers registered).modifier
- Modifier to registerCopyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.Default.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.Default.html new file mode 100644 index 00000000..71e2cce0 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.Default.html @@ -0,0 +1,461 @@ + + + + + + +public static class MapBuilder.Default +extends MapBuilder+
MapBuilder
implementation which builds
+ either HashMap
or LinkedHashMap
instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING
).
+ It may also, with alternate configuration,
+ use Collections.emptyMap()
for empty Maps,
+ if allowed with JSON.Feature.READ_ONLY
.MapBuilder.Default
Modifier and Type | +Field and Description | +
---|---|
protected Map<String,Object> |
+_current |
+
_checkDups, _features, _mapType
Modifier | +Constructor and Description | +
---|---|
protected |
+Default(int features,
+ Class<?> type) |
+
Modifier and Type | +Method and Description | +
---|---|
Map<String,Object> |
+build() |
+
Map<String,Object> |
+emptyMap()
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
MapBuilder |
+newBuilder(Class<?> mapImpl) |
+
MapBuilder |
+newBuilder(int features) |
+
MapBuilder |
+put(String key,
+ Object value) |
+
MapBuilder |
+start() |
+
defaultImpl, isEnabled, newBuilder, singletonMap
protected Default(int features, + Class<?> type)+
public MapBuilder newBuilder(int features)+
newBuilder
in class MapBuilder
public MapBuilder newBuilder(Class<?> mapImpl)+
newBuilder
in class MapBuilder
public MapBuilder start()+
start
in class MapBuilder
public Map<String,Object> build()+
build
in class MapBuilder
public MapBuilder put(String key, + Object value)+
put
in class MapBuilder
public Map<String,Object> emptyMap()+
MapBuilder
+ Default implementation simply calls: +
+ start().build(); ++ which assumes that a builder has been constructed with
MapBuilder.newBuilder(int)
emptyMap
in class MapBuilder
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.html new file mode 100644 index 00000000..ccef77e0 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.html @@ -0,0 +1,539 @@ + + + + + + +public abstract class MapBuilder +extends Object+
Map
s
+ to map JSON Object values in.
+
+ Objects server both as "factories" for creating new builders (blueprint
+ style), and as actual builders. For each distinct read operation,
+ newBuilder(int)
will be called at least once; this instance
+ may be used and reused multiple times, as calling start()
+ will reset the state so that more List
s may be built.
Modifier and Type | +Class and Description | +
---|---|
static class |
+MapBuilder.Default
+Default
+MapBuilder implementation which builds
+ either HashMap or LinkedHashMap instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING ). |
+
Modifier and Type | +Field and Description | +
---|---|
protected boolean |
+_checkDups |
+
protected int |
+_features |
+
protected Class<?> |
+_mapType
+Optional
+Map implementation class, used when specific
+ implementation is desired. |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+MapBuilder(int features,
+ Class<?> type) |
+
Modifier and Type | +Method and Description | +
---|---|
abstract Map<String,Object> |
+build() |
+
static MapBuilder |
+defaultImpl()
+Factory method for getting a blueprint instance of the default
+
+MapBuilder implementation. |
+
Map<String,Object> |
+emptyMap()
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
boolean |
+isEnabled(JSON.Feature f) |
+
MapBuilder |
+newBuilder() |
+
abstract MapBuilder |
+newBuilder(Class<?> mapImpl) |
+
abstract MapBuilder |
+newBuilder(int features) |
+
abstract MapBuilder |
+put(String key,
+ Object value) |
+
Map<String,Object> |
+singletonMap(String key,
+ Object value)
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
abstract MapBuilder |
+start() |
+
protected final int _features+
protected final boolean _checkDups+
protected MapBuilder(int features, + Class<?> type)+
public static MapBuilder defaultImpl()+
MapBuilder
implementation.public abstract MapBuilder newBuilder(int features)+
public abstract MapBuilder newBuilder(Class<?> mapImpl)+
public MapBuilder newBuilder()+
public final boolean isEnabled(JSON.Feature f)+
public abstract MapBuilder start()+
public abstract MapBuilder put(String key, + Object value)+
public Map<String,Object> emptyMap() + throws JSONObjectException+
+ Default implementation simply calls: +
+ start().build(); ++ which assumes that a builder has been constructed with
newBuilder(int)
JSONObjectException
public Map<String,Object> singletonMap(String key, + Object value) + throws JSONObjectException+
+ Default implementation simply calls: +
+ start().put(key, value).build(); +
JSONObjectException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.Pair.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.Pair.html new file mode 100644 index 00000000..d983a41b --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.Pair.html @@ -0,0 +1,527 @@ + + + + + + +public static class ReaderWriterModifier.Pair +extends ReaderWriterModifier+
ReaderWriterModifier.Pair
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterModifier |
+_primary |
+
protected ReaderWriterModifier |
+_secondary |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+Pair(ReaderWriterModifier p,
+ ReaderWriterModifier s) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+modifyValueReader(JSONReader ctxt,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+modifyValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
static ReaderWriterModifier |
+of(ReaderWriterModifier primary,
+ ReaderWriterModifier secondary)
+Factory method for "combining" given 2 modifiers so that if neither is
+null ,
+ a ReaderWriterModifier.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
ValueWriter |
+overrideStandardValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ int stdTypeId)
+Method called instead of
+ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter) for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter and are
+ normally directly serialized by JSONWriter itself. |
+
POJODefinition |
+pojoDefinitionForDeserialization(JSONReader ctxt,
+ Class<?> pojoType) |
+
POJODefinition |
+pojoDefinitionForSerialization(JSONWriter ctxt,
+ Class<?> pojoType) |
+
protected final ReaderWriterModifier _primary+
protected final ReaderWriterModifier _secondary+
protected Pair(ReaderWriterModifier p, + ReaderWriterModifier s)+
public static ReaderWriterModifier of(ReaderWriterModifier primary, + ReaderWriterModifier secondary)+
null
,
+ a ReaderWriterModifier.Pair
is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null
s, null
is returned.primary
- Primary providersecondary
- Secondary providernull
.public POJODefinition pojoDefinitionForDeserialization(JSONReader ctxt, + Class<?> pojoType)+
pojoDefinitionForDeserialization
in class ReaderWriterModifier
public POJODefinition pojoDefinitionForSerialization(JSONWriter ctxt, + Class<?> pojoType)+
pojoDefinitionForSerialization
in class ReaderWriterModifier
public ValueReader modifyValueReader(JSONReader ctxt, + Class<?> type, + ValueReader defaultReader)+
ReaderWriterModifier
ValueReader
to use has been constructed, but
+ before it is to be used for the first time. Method may either return that
+ reader as-is, or construct a different ValueReader
and return that
+ to be used.
+
+ This method is often used to create a new ValueReader
that needs to
+ delegate to the original reader for some uses, but not all.
modifyValueReader
in class ReaderWriterModifier
ctxt
- Context that may be used to access configurationtype
- Type of values to readdefaultReader
- ValueReader
that is to be useddefaultReader
as-is, or an alternate ValueReader
to use.public ValueWriter modifyValueWriter(JSONWriter ctxt, + Class<?> type, + ValueWriter defaultWriter)+
ReaderWriterModifier
ValueWriter
to use has been constructed, but
+ before it is to be used for the first time. Method may either return that
+ writer as-is, or construct a different ValueWriter
and return that
+ to be used.
+
+ Note that this method is NOT called for non-POJO JDK "standard" values that
+ jackson-jr supports (such as Number
s, String
+ and URL
); for these types, ReaderWriterModifier.overrideStandardValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, int)
+ is called instead.
+
+ This method is often used to create a new ValueReader
that needs to
+ delegate to the original reader for some uses, but not all.
modifyValueWriter
in class ReaderWriterModifier
ctxt
- Context that may be used to access configurationtype
- Type of values to writedefaultWriter
- ValueReader
that is to be useddefaultReader
as-is, or an alternate ValueWriter
to use;
+ must not return null
.public ValueWriter overrideStandardValueWriter(JSONWriter ctxt, + Class<?> type, + int stdTypeId)+
ReaderWriterModifier
ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter)
for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter
and are
+ normally directly serialized by JSONWriter
itself.
+ Handler may either return null
to indicate "no override" or return
+ custom ValueWriter
to use.overrideStandardValueWriter
in class ReaderWriterModifier
ctxt
- Context that may be used to access configurationtype
- Type of values to writestdTypeId
- Internal identifier of standard type (not usually useful,
+ but could potentially be used for delegating)null
if no override should occur, or ValueWriter
+ to use.Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.html new file mode 100644 index 00000000..59de71fb --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.html @@ -0,0 +1,434 @@ + + + + + + +public abstract class ReaderWriterModifier +extends Object+
ValueReader
s and
+ ValueWriter
s of all kinds (default scalar ones, custom ones,
+ POJO ones).Modifier and Type | +Class and Description | +
---|---|
static class |
+ReaderWriterModifier.Pair
+Implementation that allows chaining of two modifiers, one (first) with higher precedence
+ than the other (second).
+ |
+
Constructor and Description | +
---|
ReaderWriterModifier() |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+modifyValueReader(JSONReader readContext,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+modifyValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+overrideStandardValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ int stdTypeId)
+Method called instead of
+modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter) for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter and are
+ normally directly serialized by JSONWriter itself. |
+
POJODefinition |
+pojoDefinitionForDeserialization(JSONReader readContext,
+ Class<?> pojoType) |
+
POJODefinition |
+pojoDefinitionForSerialization(JSONWriter writeContext,
+ Class<?> pojoType) |
+
public POJODefinition pojoDefinitionForDeserialization(JSONReader readContext, + Class<?> pojoType)+
public POJODefinition pojoDefinitionForSerialization(JSONWriter writeContext, + Class<?> pojoType)+
public ValueReader modifyValueReader(JSONReader readContext, + Class<?> type, + ValueReader defaultReader)+
ValueReader
to use has been constructed, but
+ before it is to be used for the first time. Method may either return that
+ reader as-is, or construct a different ValueReader
and return that
+ to be used.
+
+ This method is often used to create a new ValueReader
that needs to
+ delegate to the original reader for some uses, but not all.
readContext
- Context that may be used to access configurationtype
- Type of values to readdefaultReader
- ValueReader
that is to be useddefaultReader
as-is, or an alternate ValueReader
to use.public ValueWriter modifyValueWriter(JSONWriter writeContext, + Class<?> type, + ValueWriter defaultWriter)+
ValueWriter
to use has been constructed, but
+ before it is to be used for the first time. Method may either return that
+ writer as-is, or construct a different ValueWriter
and return that
+ to be used.
+
+ Note that this method is NOT called for non-POJO JDK "standard" values that
+ jackson-jr supports (such as Number
s, String
+ and URL
); for these types, overrideStandardValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, int)
+ is called instead.
+
+ This method is often used to create a new ValueReader
that needs to
+ delegate to the original reader for some uses, but not all.
writeContext
- Context that may be used to access configurationtype
- Type of values to writedefaultWriter
- ValueReader
that is to be useddefaultReader
as-is, or an alternate ValueWriter
to use;
+ must not return null
.public ValueWriter overrideStandardValueWriter(JSONWriter writeContext, + Class<?> type, + int stdTypeId)+
modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter)
for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter
and are
+ normally directly serialized by JSONWriter
itself.
+ Handler may either return null
to indicate "no override" or return
+ custom ValueWriter
to use.writeContext
- Context that may be used to access configurationtype
- Type of values to writestdTypeId
- Internal identifier of standard type (not usually useful,
+ but could potentially be used for delegating)null
if no override should occur, or ValueWriter
+ to use.Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.Pair.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.Pair.html new file mode 100644 index 00000000..3d4cef88 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.Pair.html @@ -0,0 +1,468 @@ + + + + + + +public static class ReaderWriterProvider.Pair +extends ReaderWriterProvider+
ReaderWriterProvider.Pair
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterProvider |
+_primary |
+
protected ReaderWriterProvider |
+_secondary |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+Pair(ReaderWriterProvider p,
+ ReaderWriterProvider s) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+findValueReader(JSONReader ctxt,
+ Class<?> type)
+Method called to find custom reader for given type that is NOT one of
+ special container types (
+Collection ,
+ Map ): typically value is a scalar, Bean or Enum. |
+
ValueWriter |
+findValueWriter(JSONWriter ctxt,
+ Class<?> type) |
+
static ReaderWriterProvider |
+of(ReaderWriterProvider primary,
+ ReaderWriterProvider secondary)
+Factory method for "combining" given 2 providers so that if neither is
+null ,
+ a ReaderWriterProvider.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
protected final ReaderWriterProvider _primary+
protected final ReaderWriterProvider _secondary+
protected Pair(ReaderWriterProvider p, + ReaderWriterProvider s)+
public static ReaderWriterProvider of(ReaderWriterProvider primary, + ReaderWriterProvider secondary)+
null
,
+ a ReaderWriterProvider.Pair
is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null
s, null
is returned.primary
- Primary providersecondary
- Secondary providernull
.public ValueReader findValueReader(JSONReader ctxt, + Class<?> type)+
ReaderWriterProvider
Collection
,
+ Map
): typically value is a scalar, Bean or Enum.findValueReader
in class ReaderWriterProvider
ctxt
- context object that may be needed for resolving dependant
+ readerstype
- Raw type of bean to find reader forpublic ValueReader findCollectionReader(JSONReader ctxt, + Class<?> type, + ResolvedType valueType, + ValueReader readerForValues)+
findCollectionReader
in class ReaderWriterProvider
public ValueReader findMapReader(JSONReader ctxt, + Class<?> type, + ResolvedType valueType, + ValueReader readerForValues)+
findMapReader
in class ReaderWriterProvider
public ValueWriter findValueWriter(JSONWriter ctxt, + Class<?> type)+
findValueWriter
in class ReaderWriterProvider
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.html new file mode 100644 index 00000000..8ce04b81 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.html @@ -0,0 +1,372 @@ + + + + + + +public abstract class ReaderWriterProvider +extends Object+
ValueReader
s and
+ ValueWriter
s.Modifier and Type | +Class and Description | +
---|---|
static class |
+ReaderWriterProvider.Pair
+Implementation that allows chaining of two providers, one (first) with higher precedence
+ than the other (second).
+ |
+
Constructor and Description | +
---|
ReaderWriterProvider() |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+findValueReader(JSONReader readContext,
+ Class<?> type)
+Method called to find custom reader for given type that is NOT one of
+ special container types (
+Collection ,
+ Map ): typically value is a scalar, Bean or Enum. |
+
ValueWriter |
+findValueWriter(JSONWriter writeContext,
+ Class<?> type) |
+
public ValueReader findValueReader(JSONReader readContext, + Class<?> type)+
Collection
,
+ Map
): typically value is a scalar, Bean or Enum.readContext
- context object that may be needed for resolving dependant
+ readerstype
- Raw type of bean to find reader forpublic ValueReader findCollectionReader(JSONReader readContext, + Class<?> type, + ResolvedType valueType, + ValueReader readerForValues)+
public ValueReader findMapReader(JSONReader readContext, + Class<?> type, + ResolvedType valueType, + ValueReader readerForValues)+
public ValueWriter findValueWriter(JSONWriter writeContext, + Class<?> type)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ValueReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ValueReader.html new file mode 100644 index 00000000..2d64f2d1 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ValueReader.html @@ -0,0 +1,445 @@ + + + + + + +public abstract class ValueReader +extends Object+
Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_valueType
+Type of values this reader will read
+ |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+ValueReader(Class<?> valueType) |
+
Modifier and Type | +Method and Description | +
---|---|
static String |
+_tokenDesc(JsonParser p)
+Helper method for getting description of the token parser currently points to,
+ for use in descriptions and exception messages.
+ |
+
static String |
+_tokenDesc(JsonParser p,
+ JsonToken t)
+Helper method for getting description of given token
+ for use in descriptions and exception messages.
+ |
+
abstract Object |
+read(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Class<?> |
+valueType()
+Accessor for non-generic (type-erased) type of values this reader
+ produces from input.
+ |
+
protected final Class<?> _valueType+
public abstract Object read(JSONReader reader, + JsonParser p) + throws IOException+
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object readNext(JSONReader reader, + JsonParser p) + throws IOException+
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Class<?> valueType()+
public static String _tokenDesc(JsonParser p) + throws IOException+
IOException
public static String _tokenDesc(JsonParser p, + JsonToken t) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ValueWriter.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ValueWriter.html new file mode 100644 index 00000000..9a67e982 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/ValueWriter.html @@ -0,0 +1,261 @@ + + + + + + +public interface ValueWriter
+Modifier and Type | +Method and Description | +
---|---|
Class<?> |
+valueType()
+Accessor for non-generic (type-erased) type of values this reader
+ produces from input.
+ |
+
void |
+writeValue(JSONWriter context,
+ JsonGenerator g,
+ Object value) |
+
void writeValue(JSONWriter context, + JsonGenerator g, + Object value) + throws IOException+
IOException
Class<?> valueType()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.Default.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.Default.html new file mode 100644 index 00000000..5107561d --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.Default.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.html new file mode 100644 index 00000000..6ecfb426 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.html @@ -0,0 +1,359 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected CollectionBuilder |
+JSON.Builder._collectionBuilder |
+
Modifier and Type | +Method and Description | +
---|---|
CollectionBuilder |
+JSON.Builder.collectionBuilder() |
+
Modifier and Type | +Method and Description | +
---|---|
JSON.Builder |
+JSON.Builder.collectionBuilder(CollectionBuilder b) |
+
JSON |
+JSON.with(CollectionBuilder b)
+Mutant factory for constructing an instance with specified
+CollectionBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
Modifier and Type | +Class and Description | +
---|---|
static class |
+CollectionBuilder.Default
+Default
+CollectionBuilder implementation, which uses ArrayList
+ as the type of List to build, unless instructed otherwise. |
+
Modifier and Type | +Method and Description | +
---|---|
abstract CollectionBuilder |
+CollectionBuilder.add(Object value) |
+
CollectionBuilder |
+CollectionBuilder.Default.add(Object value) |
+
static CollectionBuilder |
+CollectionBuilder.defaultImpl()
+Factory method for getting a blueprint instance of the default
+
+CollectionBuilder implementation. |
+
CollectionBuilder |
+CollectionBuilder.newBuilder() |
+
abstract CollectionBuilder |
+CollectionBuilder.newBuilder(Class<?> collImpl) |
+
CollectionBuilder |
+CollectionBuilder.Default.newBuilder(Class<?> collType) |
+
abstract CollectionBuilder |
+CollectionBuilder.newBuilder(int features) |
+
CollectionBuilder |
+CollectionBuilder.Default.newBuilder(int features) |
+
abstract CollectionBuilder |
+CollectionBuilder.start() |
+
CollectionBuilder |
+CollectionBuilder.Default.start() |
+
Modifier and Type | +Field and Description | +
---|---|
protected CollectionBuilder |
+JSONReader._collectionBuilder
+Handler that takes care of constructing
+Map s as needed |
+
Modifier and Type | +Method and Description | +
---|---|
protected CollectionBuilder |
+JSONReader._collectionBuilder(Class<?> collType) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONReader |
+JSONReader._with(CollectionBuilder lb,
+ MapBuilder mb)
+Overridable method that all mutant factories call if a new instance
+ is to be constructed
+ |
+
Object[] |
+AnyReader.readArrayFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Collection<Object> |
+AnyReader.readCollectionFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
JSONReader |
+JSONReader.with(CollectionBuilder lb) |
+
Constructor and Description | +
---|
JSONReader(CollectionBuilder lb,
+ MapBuilder mb)
+Constructor used for creating the blueprint instances.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ExtensionContext.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ExtensionContext.html new file mode 100644 index 00000000..1df929be --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ExtensionContext.html @@ -0,0 +1,243 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected abstract void |
+JacksonJrExtension.register(ExtensionContext ctxt)
+Method called by
+JSON to let extension register handlers
+ it wants to. |
+
Modifier and Type | +Method and Description | +
---|---|
abstract ExtensionContext |
+ExtensionContext.appendModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the lowest priority
+ modifier (that is, being called after all other modifiers registered). |
+
abstract ExtensionContext |
+ExtensionContext.appendProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the lowest priority
+ provider (that is, having lower precedence than anything registered so far) |
+
abstract ExtensionContext |
+ExtensionContext.insertModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the highest priority
+ modifier (that is, being called before any other modifiers registered). |
+
abstract ExtensionContext |
+ExtensionContext.insertProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the highest priority
+ provider (that is, having higher precedence than anything registered so far) |
+
abstract ExtensionContext |
+ExtensionContext.setTreeCodec(TreeCodec tc)
+Method for setting
+TreeCodec to use, replacing codec that was formerly configured
+ (if any). |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+JrSimpleTreeExtension.register(ExtensionContext ctxt) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.Default.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.Default.html new file mode 100644 index 00000000..6b865218 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.Default.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.html new file mode 100644 index 00000000..4f5edd80 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.html @@ -0,0 +1,356 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected MapBuilder |
+JSON.Builder._mapBuilder |
+
Modifier and Type | +Method and Description | +
---|---|
MapBuilder |
+JSON.Builder.mapBuilder() |
+
Modifier and Type | +Method and Description | +
---|---|
JSON.Builder |
+JSON.Builder.mapBuilder(MapBuilder b) |
+
JSON |
+JSON.with(MapBuilder b)
+Mutant factory for constructing an instance with specified
+MapBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
Modifier and Type | +Class and Description | +
---|---|
static class |
+MapBuilder.Default
+Default
+MapBuilder implementation which builds
+ either HashMap or LinkedHashMap instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING ). |
+
Modifier and Type | +Method and Description | +
---|---|
static MapBuilder |
+MapBuilder.defaultImpl()
+Factory method for getting a blueprint instance of the default
+
+MapBuilder implementation. |
+
MapBuilder |
+MapBuilder.newBuilder() |
+
abstract MapBuilder |
+MapBuilder.newBuilder(Class<?> mapImpl) |
+
MapBuilder |
+MapBuilder.Default.newBuilder(Class<?> mapImpl) |
+
abstract MapBuilder |
+MapBuilder.newBuilder(int features) |
+
MapBuilder |
+MapBuilder.Default.newBuilder(int features) |
+
abstract MapBuilder |
+MapBuilder.put(String key,
+ Object value) |
+
MapBuilder |
+MapBuilder.Default.put(String key,
+ Object value) |
+
abstract MapBuilder |
+MapBuilder.start() |
+
MapBuilder |
+MapBuilder.Default.start() |
+
Modifier and Type | +Field and Description | +
---|---|
protected MapBuilder |
+JSONReader._mapBuilder
+Handler that takes care of constructing
+Map s as needed |
+
Modifier and Type | +Method and Description | +
---|---|
protected MapBuilder |
+JSONReader._mapBuilder(Class<?> mapType) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONReader |
+JSONReader._with(CollectionBuilder lb,
+ MapBuilder mb)
+Overridable method that all mutant factories call if a new instance
+ is to be constructed
+ |
+
Map<String,Object> |
+AnyReader.readFromObject(JSONReader r,
+ JsonParser p,
+ MapBuilder b) |
+
JSONReader |
+JSONReader.with(MapBuilder mb) |
+
Constructor and Description | +
---|
JSONReader(CollectionBuilder lb,
+ MapBuilder mb)
+Constructor used for creating the blueprint instances.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.Pair.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.Pair.html new file mode 100644 index 00000000..5e60f74d --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.Pair.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.html new file mode 100644 index 00000000..66cc101c --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.html @@ -0,0 +1,365 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
ReaderWriterModifier |
+JSON.Builder.readerWriterModifier() |
+
Modifier and Type | +Class and Description | +
---|---|
static class |
+ReaderWriterModifier.Pair
+Implementation that allows chaining of two modifiers, one (first) with higher precedence
+ than the other (second).
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterModifier |
+ReaderWriterModifier.Pair._primary |
+
protected ReaderWriterModifier |
+ReaderWriterModifier.Pair._secondary |
+
Modifier and Type | +Method and Description | +
---|---|
static ReaderWriterModifier |
+ReaderWriterModifier.Pair.of(ReaderWriterModifier primary,
+ ReaderWriterModifier secondary)
+Factory method for "combining" given 2 modifiers so that if neither is
+null ,
+ a ReaderWriterModifier.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
Modifier and Type | +Method and Description | +
---|---|
abstract ExtensionContext |
+ExtensionContext.appendModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the lowest priority
+ modifier (that is, being called after all other modifiers registered). |
+
abstract ExtensionContext |
+ExtensionContext.insertModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the highest priority
+ modifier (that is, being called before any other modifiers registered). |
+
static ReaderWriterModifier |
+ReaderWriterModifier.Pair.of(ReaderWriterModifier primary,
+ ReaderWriterModifier secondary)
+Factory method for "combining" given 2 modifiers so that if neither is
+null ,
+ a ReaderWriterModifier.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
Constructor and Description | +
---|
Pair(ReaderWriterModifier p,
+ ReaderWriterModifier s) |
+
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterModifier |
+ValueReaderLocator._readerModifier
+Provider for reader customizer, if any; may be null.
+ |
+
protected ReaderWriterModifier |
+ValueWriterLocator._writerModifier
+Provider for reader customizer, if any; may be null.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ReaderWriterModifier |
+ValueReaderLocator.readerWriterModifier() |
+
Modifier and Type | +Method and Description | +
---|---|
static ValueWriterLocator |
+ValueWriterLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
static ValueReaderLocator |
+ValueReaderLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueWriterLocator |
+ValueWriterLocator.with(ReaderWriterModifier rwm) |
+
ValueReaderLocator |
+ValueReaderLocator.with(ReaderWriterModifier rwm) |
+
Constructor and Description | +
---|
ValueReaderLocator(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance
+ |
+
ValueReaderLocator(ValueReaderLocator base,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueWriterLocator(int features,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance (and variations)
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.Pair.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.Pair.html new file mode 100644 index 00000000..dfb7d804 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.Pair.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.html new file mode 100644 index 00000000..7561e533 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.html @@ -0,0 +1,382 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
ReaderWriterProvider |
+JSON.Builder.readerWriterProvider() |
+
Modifier and Type | +Method and Description | +
---|---|
JSON |
+JSON.with(ReaderWriterProvider rwp)
+Deprecated.
+
+Since 2.11 should register using
+JacksonJrExtension |
+
Modifier and Type | +Class and Description | +
---|---|
static class |
+ReaderWriterProvider.Pair
+Implementation that allows chaining of two providers, one (first) with higher precedence
+ than the other (second).
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterProvider |
+ReaderWriterProvider.Pair._primary |
+
protected ReaderWriterProvider |
+ReaderWriterProvider.Pair._secondary |
+
Modifier and Type | +Method and Description | +
---|---|
static ReaderWriterProvider |
+ReaderWriterProvider.Pair.of(ReaderWriterProvider primary,
+ ReaderWriterProvider secondary)
+Factory method for "combining" given 2 providers so that if neither is
+null ,
+ a ReaderWriterProvider.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
Modifier and Type | +Method and Description | +
---|---|
abstract ExtensionContext |
+ExtensionContext.appendProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the lowest priority
+ provider (that is, having lower precedence than anything registered so far) |
+
abstract ExtensionContext |
+ExtensionContext.insertProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the highest priority
+ provider (that is, having higher precedence than anything registered so far) |
+
static ReaderWriterProvider |
+ReaderWriterProvider.Pair.of(ReaderWriterProvider primary,
+ ReaderWriterProvider secondary)
+Factory method for "combining" given 2 providers so that if neither is
+null ,
+ a ReaderWriterProvider.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
Constructor and Description | +
---|
Pair(ReaderWriterProvider p,
+ ReaderWriterProvider s) |
+
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterProvider |
+ValueReaderLocator._readerProvider
+Provider for custom readers, if any; may be null.
+ |
+
protected ReaderWriterProvider |
+ValueWriterLocator._writerProvider
+Provider for custom writers, if any; may be null.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ReaderWriterProvider |
+ValueReaderLocator.readerWriterProvider() |
+
Modifier and Type | +Method and Description | +
---|---|
static ValueWriterLocator |
+ValueWriterLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
static ValueReaderLocator |
+ValueReaderLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueWriterLocator |
+ValueWriterLocator.with(ReaderWriterProvider rwp) |
+
ValueReaderLocator |
+ValueReaderLocator.with(ReaderWriterProvider rwp) |
+
Constructor and Description | +
---|
ValueReaderLocator(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance
+ |
+
ValueReaderLocator(ValueReaderLocator base,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueWriterLocator(int features,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance (and variations)
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueReader.html new file mode 100644 index 00000000..52b18e60 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueReader.html @@ -0,0 +1,488 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+ReaderWriterProvider.findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findValueReader(JSONReader readContext,
+ Class<?> type)
+Method called to find custom reader for given type that is NOT one of
+ special container types (
+Collection ,
+ Map ): typically value is a scalar, Bean or Enum. |
+
ValueReader |
+ReaderWriterProvider.Pair.findValueReader(JSONReader ctxt,
+ Class<?> type) |
+
ValueReader |
+ReaderWriterModifier.modifyValueReader(JSONReader readContext,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueReader |
+ReaderWriterModifier.Pair.modifyValueReader(JSONReader ctxt,
+ Class<?> type,
+ ValueReader defaultReader) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+ReaderWriterProvider.findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterModifier.modifyValueReader(JSONReader readContext,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueReader |
+ReaderWriterModifier.Pair.modifyValueReader(JSONReader ctxt,
+ Class<?> type,
+ ValueReader defaultReader) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AnyReader
+ValueReader used for "untyped" values; ones that are bound
+ to whatever Object is the natural mapping to JSON
+ value that parser currently points to |
+
class |
+ArrayReader
+Reader for typed Array values.
+ |
+
class |
+BeanReader
+Class that contains information about dynamically introspected
+ Bean types, to be able to deserialize (read) JSON into a POJO
+ and serialize (write) POJO as JSON.
+ |
+
class |
+CollectionReader
+Reader for typed
+Collection values. |
+
class |
+EnumReader
+Reader for Enum values: needed because we need a simple
+Map
+ for efficient conversion from id (gotten with Enum.toString()
+ to value. |
+
class |
+MapReader
+Reader for typed
+Map values. |
+
class |
+SimpleValueReader
+Default
+ValueReader used for simple scalar types and related,
+ not including POJO-, Map and Collection
+ types. |
+
Modifier and Type | +Field and Description | +
---|---|
protected ValueReader |
+MapReader._valueReader |
+
protected ValueReader |
+CollectionReader._valueReader |
+
protected ValueReader |
+ArrayReader._valueReader |
+
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ValueReader> |
+ValueReaderLocator._incompleteReaders
+During resolution, some readers may be in-progress, but need to be
+ linked: for example, with cyclic type references.
+ |
+
protected ConcurrentHashMap<ClassKey,ValueReader> |
+ValueReaderLocator._knownReaders
+Set of
+ValueReader s that we have resolved |
+
Modifier and Type | +Method and Description | +
---|---|
protected ValueReader |
+ValueReaderLocator._createReader(Class<?> contextType,
+ Class<?> type,
+ Type genericType) |
+
protected ValueReader |
+ValueReaderLocator.arrayReader(Class<?> contextType,
+ Class<?> arrayType) |
+
protected ValueReader |
+ValueReaderLocator.beanReader(Class<?> type) |
+
protected ValueReader |
+ValueReaderLocator.collectionReader(Class<?> collectionType,
+ ResolvedType valueType) |
+
protected ValueReader |
+ValueReaderLocator.collectionReader(Class<?> contextType,
+ Type collectionType) |
+
protected ValueReader |
+ValueReaderLocator.createReader(Class<?> contextType,
+ Class<?> type,
+ Type genericType)
+Factory method for creating standard readers of any declared type.
+ |
+
protected ValueReader |
+ValueReaderLocator.enumReader(Class<?> enumType) |
+
ValueReader |
+ValueReaderLocator.findReader(Class<?> raw)
+Method used during deserialization to find handler for given
+ non-generic type: will first check for already resolved (and cached) readers
+ -- and return if one found -- and then if no cached reader found, create
+ one, cache, return.
+ |
+
ValueReader |
+BeanPropertyReader.getReader() |
+
protected ValueReader |
+ValueReaderLocator.mapReader(Class<?> mapType,
+ ResolvedType valueType) |
+
protected ValueReader |
+ValueReaderLocator.mapReader(Class<?> contextType,
+ Type mapType) |
+
Modifier and Type | +Method and Description | +
---|---|
BeanPropertyReader |
+BeanPropertyReader.withReader(ValueReader vr) |
+
Constructor and Description | +
---|
ArrayReader(Class<?> arrayType,
+ Class<?> elementType,
+ ValueReader vr) |
+
BeanPropertyReader(BeanPropertyReader src,
+ ValueReader vr) |
+
CollectionReader(Class<?> t,
+ ValueReader vr) |
+
MapReader(Class<?> mapType,
+ ValueReader vr) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueWriter.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueWriter.html new file mode 100644 index 00000000..94df7194 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueWriter.html @@ -0,0 +1,274 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
ValueWriter |
+ReaderWriterProvider.findValueWriter(JSONWriter writeContext,
+ Class<?> type) |
+
ValueWriter |
+ReaderWriterProvider.Pair.findValueWriter(JSONWriter ctxt,
+ Class<?> type) |
+
ValueWriter |
+ReaderWriterModifier.modifyValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+ReaderWriterModifier.Pair.modifyValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ ValueWriter defaultWriter) |
+
ValueWriter |
+ReaderWriterModifier.overrideStandardValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ int stdTypeId)
+Method called instead of
+ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter) for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter and are
+ normally directly serialized by JSONWriter itself. |
+
ValueWriter |
+ReaderWriterModifier.Pair.overrideStandardValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ int stdTypeId) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueWriter |
+ReaderWriterModifier.modifyValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+ReaderWriterModifier.Pair.modifyValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ ValueWriter defaultWriter) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BeanWriter |
+
Modifier and Type | +Field and Description | +
---|---|
protected CopyOnWriteArrayList<ValueWriter> |
+ValueWriterLocator._knownWriters |
+
Modifier and Type | +Method and Description | +
---|---|
ValueWriter |
+ValueWriterLocator.getValueWriter(int index) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/package-frame.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/package-frame.html new file mode 100644 index 00000000..93eb6c4f --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/package-frame.html @@ -0,0 +1,33 @@ + + + + + + +Interface | +Description | +
---|---|
ValueWriter | ++ |
Class | +Description | +
---|---|
CollectionBuilder | +
+ Helper class that is used for constructing
+Collection s
+ to map JSON Array values in. |
+
CollectionBuilder.Default | +
+ Default
+CollectionBuilder implementation, which uses ArrayList
+ as the type of List to build, unless instructed otherwise. |
+
ExtensionContext | +
+ API that lets
+JacksonJrExtension s to register handlers
+ it needs to. |
+
MapBuilder | +
+ Helper class that is used for constructing
+Map s
+ to map JSON Object values in. |
+
MapBuilder.Default | +
+ Default
+MapBuilder implementation which builds
+ either HashMap or LinkedHashMap instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING ). |
+
ReaderWriterModifier | +
+ API to implement to apply modifications to
+ValueReader s and
+ ValueWriter s of all kinds (default scalar ones, custom ones,
+ POJO ones). |
+
ReaderWriterModifier.Pair | +
+ Implementation that allows chaining of two modifiers, one (first) with higher precedence
+ than the other (second).
+ |
+
ReaderWriterProvider | +
+ API to implement to provide custom
+ValueReader s and
+ ValueWriter s. |
+
ReaderWriterProvider.Pair | +
+ Implementation that allows chaining of two providers, one (first) with higher precedence
+ than the other (second).
+ |
+
ValueReader | +
+ API and base class for all "deserializer" implementations used to actually read
+ values of Java types from (JSON) input.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/package-tree.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/package-tree.html new file mode 100644 index 00000000..1ba42a08 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/package-tree.html @@ -0,0 +1,163 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/package-use.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/package-use.html new file mode 100644 index 00000000..d18168cc --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/api/package-use.html @@ -0,0 +1,314 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.stree | ++ |
Class and Description | +
---|
CollectionBuilder
+ Helper class that is used for constructing
+Collection s
+ to map JSON Array values in. |
+
ExtensionContext
+ API that lets
+JacksonJrExtension s to register handlers
+ it needs to. |
+
MapBuilder
+ Helper class that is used for constructing
+Map s
+ to map JSON Object values in. |
+
ReaderWriterModifier
+ API to implement to apply modifications to
+ValueReader s and
+ ValueWriter s of all kinds (default scalar ones, custom ones,
+ POJO ones). |
+
ReaderWriterProvider
+ API to implement to provide custom
+ValueReader s and
+ ValueWriter s. |
+
Class and Description | +
---|
CollectionBuilder
+ Helper class that is used for constructing
+Collection s
+ to map JSON Array values in. |
+
ExtensionContext
+ API that lets
+JacksonJrExtension s to register handlers
+ it needs to. |
+
MapBuilder
+ Helper class that is used for constructing
+Map s
+ to map JSON Object values in. |
+
ReaderWriterModifier
+ API to implement to apply modifications to
+ValueReader s and
+ ValueWriter s of all kinds (default scalar ones, custom ones,
+ POJO ones). |
+
ReaderWriterProvider
+ API to implement to provide custom
+ValueReader s and
+ ValueWriter s. |
+
ValueReader
+ API and base class for all "deserializer" implementations used to actually read
+ values of Java types from (JSON) input.
+ |
+
ValueWriter | +
Class and Description | +
---|
CollectionBuilder
+ Helper class that is used for constructing
+Collection s
+ to map JSON Array values in. |
+
MapBuilder
+ Helper class that is used for constructing
+Map s
+ to map JSON Object values in. |
+
ReaderWriterModifier
+ API to implement to apply modifications to
+ValueReader s and
+ ValueWriter s of all kinds (default scalar ones, custom ones,
+ POJO ones). |
+
ReaderWriterProvider
+ API to implement to provide custom
+ValueReader s and
+ ValueWriter s. |
+
ValueReader
+ API and base class for all "deserializer" implementations used to actually read
+ values of Java types from (JSON) input.
+ |
+
ValueWriter | +
Class and Description | +
---|
ExtensionContext
+ API that lets
+JacksonJrExtension s to register handlers
+ it needs to. |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Builder.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Builder.html new file mode 100644 index 00000000..f2b5f647 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Builder.html @@ -0,0 +1,236 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
Modifier and Type | +Method and Description | +
---|---|
static JSON.Builder |
+JSON.builder() |
+
static JSON.Builder |
+JSON.builder(JsonFactory streamFactory) |
+
JSON.Builder |
+JSON.Builder.collectionBuilder(CollectionBuilder b) |
+
JSON.Builder |
+JSON.Builder.disable(JSON.Feature... features)
+Method for disabling a set of Features for
+JSON to be built. |
+
JSON.Builder |
+JSON.Builder.enable(JSON.Feature... features)
+Method for enabling a set of Features for
+JSON to be built. |
+
JSON.Builder |
+JSON.Builder.jsonReader(JSONReader r) |
+
JSON.Builder |
+JSON.Builder.jsonWriter(JSONWriter w) |
+
JSON.Builder |
+JSON.Builder.mapBuilder(MapBuilder b) |
+
JSON.Builder |
+JSON.Builder.prettyPrinter(PrettyPrinter pp)
+Method for specifying
+PrettyPrinter JSON to be built
+ should use on serialization. |
+
JSON.Builder |
+JSON.Builder.register(JacksonJrExtension extension)
+Method for registering given extension to be used by
+JSON
+ this builder builds. |
+
JSON.Builder |
+JSON.Builder.set(JSON.Feature feature,
+ boolean state) |
+
JSON.Builder |
+JSON.Builder.treeCodec(TreeCodec tc)
+
+ |
+
Constructor and Description | +
---|
JSON(JSON.Builder b)
+Constructor used when creating instance using
+JSON.Builder . |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Feature.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Feature.html new file mode 100644 index 00000000..c17e1815 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Feature.html @@ -0,0 +1,284 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
static JSON.Feature |
+JSON.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static JSON.Feature[] |
+JSON.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
JSON.Builder |
+JSON.Builder.disable(JSON.Feature... features)
+Method for disabling a set of Features for
+JSON to be built. |
+
JSON.Builder |
+JSON.Builder.enable(JSON.Feature... features)
+Method for enabling a set of Features for
+JSON to be built. |
+
boolean |
+JSON.isEnabled(JSON.Feature f) |
+
boolean |
+JSON.Builder.isEnabled(JSON.Feature f) |
+
JSON.Builder |
+JSON.Builder.set(JSON.Feature feature,
+ boolean state) |
+
JSON |
+JSON.with(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ enabled.
+ |
+
JSON |
+JSON.with(JSON.Feature feature,
+ boolean state)
+Mutant factory for constructing an instance with specified feature
+ enabled or disabled (depending on
+state ), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance. |
+
JSON |
+JSON.without(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ disabled.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+MapBuilder.isEnabled(JSON.Feature f) |
+
boolean |
+CollectionBuilder.isEnabled(JSON.Feature f) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+JSONWriter.isEnabled(JSON.Feature f) |
+
boolean |
+JSONReader.isEnabled(JSON.Feature f) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.html new file mode 100644 index 00000000..1c7bb406 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.html @@ -0,0 +1,348 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
static JSON |
+JSON.std
+Singleton instance with standard, default configuration.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSON |
+JSON._with(int features)
+Internal mutant factory method used for constructing
+ |
+
protected JSON |
+JSON._with(int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader reader,
+ JSONWriter writer,
+ PrettyPrinter pp) |
+
JSON |
+JSON.Builder.build() |
+
JSON |
+JSON.with(CollectionBuilder b)
+Mutant factory for constructing an instance with specified
+CollectionBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+JSON.with(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ enabled.
+ |
+
JSON |
+JSON.with(JSON.Feature feature,
+ boolean state)
+Mutant factory for constructing an instance with specified feature
+ enabled or disabled (depending on
+state ), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance. |
+
JSON |
+JSON.with(JsonFactory f)
+Deprecated.
+
+Since 2.11 should not try changing underlying stream factory but create
+ a new instance if necessary: method will be removed from 3.0 at latest
+ |
+
JSON |
+JSON.with(JSONReader r)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+JSON.with(JSONWriter w)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+JSON.with(MapBuilder b)
+Mutant factory for constructing an instance with specified
+MapBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+JSON.with(PrettyPrinter pp)
+Mutant factory for constructing an instance with specified
+PrettyPrinter ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+JSON.with(ReaderWriterProvider rwp)
+Deprecated.
+
+Since 2.11 should register using
+JacksonJrExtension |
+
JSON |
+JSON.with(TreeCodec c)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+JSON.without(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ disabled.
+ |
+
Constructor and Description | +
---|
JSON(JSON base,
+ int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader r,
+ JSONWriter w,
+ PrettyPrinter pp) |
+
JSON(JSON base,
+ ValueReaderLocator rloc,
+ ValueWriterLocator wloc) |
+
Modifier and Type | +Field and Description | +
---|---|
protected JSON |
+JSONAsObjectCodec._json |
+
Constructor and Description | +
---|
JSONAsObjectCodec(JSON json) |
+
JSONAsObjectCodec(JSON json,
+ JsonFactory jf) |
+
JSONAsObjectCodec(JSON json,
+ JsonFactory jf,
+ TreeCodec treeCodec) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONComposer.html new file mode 100644 index 00000000..30a261d8 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONComposer.html @@ -0,0 +1,217 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected JSONComposer<T> |
+JSONComposer._start() |
+
static JSONComposer<byte[]> |
+JSONComposer.bytesComposer(int features,
+ JsonGenerator gen,
+ ByteArrayBuilder w) |
+
static <T extends Collection<Object>> |
+JSONComposer.collectionComposer(int features,
+ T coll) |
+
JSONComposer<byte[]> |
+JSON.composeBytes() |
+
JSONComposer<String> |
+JSON.composeString() |
+
JSONComposer<OutputStream> |
+JSON.composeTo(File f) |
+
JSONComposer<OutputStream> |
+JSON.composeTo(OutputStream out) |
+
JSONComposer<OutputStream> |
+JSON.composeTo(Writer w) |
+
JSONComposer<OutputStream> |
+JSON.composeUsing(JsonGenerator gen) |
+
static JSONComposer<Map<String,Object>> |
+JSONComposer.mapComposer(int features,
+ Map<String,Object> map) |
+
static <RESULT> JSONComposer<RESULT> |
+JSONComposer.streamComposer(int features,
+ JsonGenerator gen,
+ boolean closeGenerator) |
+
static JSONComposer<String> |
+JSONComposer.stringComposer(int features,
+ JsonGenerator gen,
+ SegmentedStringWriter w) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.Reference.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.Reference.html new file mode 100644 index 00000000..616b24e3 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.Reference.html @@ -0,0 +1,206 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected LinkedList<JSONObjectException.Reference> |
+JSONObjectException._path
+Path through which problem that triggering throwing of
+ this exception was reached.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<JSONObjectException.Reference> |
+JSONObjectException.getPath()
+Method for accessing full structural path within type hierarchy
+ down to problematic property.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+JSONObjectException.prependPath(JSONObjectException.Reference r) |
+
static JSONObjectException |
+JSONObjectException.wrapWithPath(Throwable src,
+ JSONObjectException.Reference ref)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.html new file mode 100644 index 00000000..c5c64bad --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.html @@ -0,0 +1,456 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
static JSONObjectException |
+JSONObjectException.from(JsonParser p,
+ String msg) |
+
static JSONObjectException |
+JSONObjectException.from(JsonParser p,
+ String msg,
+ Object... args) |
+
static JSONObjectException |
+JSONObjectException.from(JsonParser p,
+ Throwable problem,
+ String msg,
+ Object... args) |
+
static JSONObjectException |
+JSONObjectException.fromUnexpectedIOE(IOException src)
+Factory method used when "upgrading" an
+IOException into
+ JSONObjectException : usually only needed to comply with
+ a signature. |
+
static JSONObjectException |
+JSONObjectException.wrapWithPath(Throwable src,
+ JSONObjectException.Reference ref)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
static JSONObjectException |
+JSONObjectException.wrapWithPath(Throwable src,
+ Object refFrom,
+ int index)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
static JSONObjectException |
+JSONObjectException.wrapWithPath(Throwable src,
+ Object refFrom,
+ String refFieldName)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected <R> R |
+ValueIterator._handleMappingException(JSONObjectException e) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JsonParser |
+JSON._parser(Object source) |
+
ValueIterator<Object> |
+JSON.anySequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map ,
+ List , String , Number or Boolean . |
+
Object[] |
+JSON.arrayFrom(Object source) |
+
<T> T[] |
+JSON.arrayOfFrom(Class<T> type,
+ Object source) |
+
byte[] |
+JSON.asBytes(Object value) |
+
String |
+JSON.asString(Object value) |
+
<T> T |
+JSON.beanFrom(Class<T> type,
+ Object source) |
+
<T> ValueIterator<T> |
+JSON.beanSequenceFrom(Class<T> type,
+ Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type. |
+
JSONComposer<byte[]> |
+JSON.composeBytes() |
+
JSONComposer<String> |
+JSON.composeString() |
+
JSONComposer<OutputStream> |
+JSON.composeTo(File f) |
+
JSONComposer<OutputStream> |
+JSON.composeTo(OutputStream out) |
+
JSONComposer<OutputStream> |
+JSON.composeTo(Writer w) |
+
JSONComposer<OutputStream> |
+JSON.composeUsing(JsonGenerator gen) |
+
JsonParser |
+JSON.createParser(Object source)
+Factory method for opening a
+JsonParser to read content from one of
+ following supported sources
+
+ InputStream
+ Reader
+ byte[]
+ char[]
+ String /CharSequence
+ URL
+ File
+ |
+
List<Object> |
+JSON.listFrom(Object source) |
+
<T> List<T> |
+JSON.listOfFrom(Class<T> type,
+ Object source) |
+
Map<String,Object> |
+JSON.mapFrom(Object source) |
+
<T> Map<String,T> |
+JSON.mapOfFrom(Class<T> type,
+ Object source)
+Read method for reading a
+Map of type (usually POJO) values. |
+
<T extends TreeNode> |
+JSON.treeFrom(Object source)
+Method for reading content as a JSON Tree (of type that configured
+
+TreeCodec , see JSON.with(TreeCodec) ) supports. |
+
<T extends TreeNode> |
+JSON.treeSequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec , see JSON.with(TreeCodec) ) supports. |
+
void |
+JSON.write(Object value,
+ File f) |
+
void |
+JSON.write(Object value,
+ JsonGenerator gen) |
+
void |
+JSON.write(Object value,
+ OutputStream out) |
+
void |
+JSON.write(Object value,
+ Writer w) |
+
Modifier and Type | +Method and Description | +
---|---|
Map<String,Object> |
+MapBuilder.emptyMap()
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
Map<String,Object> |
+MapBuilder.singletonMap(String key,
+ Object value)
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONObjectException |
+JSONAsObjectCodec._noTypeReference() |
+
protected JSONObjectException |
+MapReader._reportProblem(JsonParser p) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+JSONAsObjectCodec._checkResultType(Class<?> valueType,
+ Object ob) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JacksonJrExtension.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JacksonJrExtension.html new file mode 100644 index 00000000..523cb052 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/JacksonJrExtension.html @@ -0,0 +1,193 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Method and Description | +
---|---|
JSON.Builder |
+JSON.Builder.register(JacksonJrExtension extension)
+Method for registering given extension to be used by
+JSON
+ this builder builds. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+JrSimpleTreeExtension
+Simple
+JacksonJrExtension for registering "simple Tree Model"
+ implementation (JacksonJrsTreeCodec ). |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/PackageVersion.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/PackageVersion.html new file mode 100644 index 00000000..331a7af9 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/PackageVersion.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/ValueIterator.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/ValueIterator.html new file mode 100644 index 00000000..c07c4b51 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/class-use/ValueIterator.html @@ -0,0 +1,208 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected static ValueIterator<?> |
+ValueIterator.EMPTY_ITERATOR |
+
Modifier and Type | +Method and Description | +
---|---|
ValueIterator<Object> |
+JSON.anySequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map ,
+ List , String , Number or Boolean . |
+
<T> ValueIterator<T> |
+JSON.beanSequenceFrom(Class<T> type,
+ Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type. |
+
protected static <T> ValueIterator<T> |
+ValueIterator.emptyIterator() |
+
<T extends TreeNode> |
+JSON.treeSequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec , see JSON.with(TreeCodec) ) supports. |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/ArrayComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/ArrayComposer.html new file mode 100644 index 00000000..e1afb785 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/ArrayComposer.html @@ -0,0 +1,405 @@ + + + + + + +public class ArrayComposer<PARENT extends ComposerBase> +extends SequenceComposer<ArrayComposer<PARENT>>+
Modifier and Type | +Field and Description | +
---|---|
protected PARENT |
+_parent |
+
_generator
_child, _open
Constructor and Description | +
---|
ArrayComposer(PARENT parent,
+ JsonGenerator g) |
+
Modifier and Type | +Method and Description | +
---|---|
protected Object |
+_finish() |
+
protected ArrayComposer<PARENT> |
+_start() |
+
PARENT |
+end() |
+
_closeChild, _this, add, add, add, add, add, add, addNull, addObject, flush, startArray, startObject
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final PARENT extends ComposerBase _parent+
public ArrayComposer(PARENT parent, + JsonGenerator g)+
protected ArrayComposer<PARENT> _start() + throws IOException, + JsonProcessingException+
_start
in class ComposerBase
IOException
JsonProcessingException
protected Object _finish() + throws IOException, + JsonProcessingException+
_finish
in class ComposerBase
IOException
JsonProcessingException
public PARENT end() + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/CollectionComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/CollectionComposer.html new file mode 100644 index 00000000..1c018795 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/CollectionComposer.html @@ -0,0 +1,600 @@ + + + + + + +public class CollectionComposer<PARENT extends ComposerBase,C extends Collection<Object>> +extends ComposerBase+
Modifier and Type | +Field and Description | +
---|---|
protected C |
+_collection |
+
protected PARENT |
+_parent |
+
_child, _open
Constructor and Description | +
---|
CollectionComposer(C coll) |
+
CollectionComposer(PARENT parent) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_closeChild() |
+
protected C |
+_finish() |
+
protected CollectionComposer<PARENT,C> |
+_start() |
+
CollectionComposer<PARENT,C> |
+add(boolean value) |
+
CollectionComposer<PARENT,C> |
+add(CharSequence value) |
+
CollectionComposer<PARENT,C> |
+add(double value) |
+
CollectionComposer<PARENT,C> |
+add(int value) |
+
CollectionComposer<PARENT,C> |
+add(long value) |
+
CollectionComposer<PARENT,C> |
+add(String value) |
+
CollectionComposer<PARENT,C> |
+addNull() |
+
CollectionComposer<PARENT,C> |
+addObject(Object pojo)
+Method used to add Java Object ("POJO") into sequence being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object. |
+
protected C |
+constructCollection() |
+
PARENT |
+end() |
+
C |
+finish() |
+
void |
+flush() |
+
static <T extends Collection<Object>> |
+rootComposer(T coll) |
+
CollectionComposer<CollectionComposer<PARENT,C>,?> |
+startArray() |
+
MapComposer<CollectionComposer<PARENT,C>> |
+startObject() |
+
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final PARENT extends ComposerBase _parent+
protected C extends Collection<Object> _collection+
public CollectionComposer(PARENT parent)+
public CollectionComposer(C coll)+
public static <T extends Collection<Object>> CollectionComposer<?,T> rootComposer(T coll)+
public void flush()+
protected CollectionComposer<PARENT,C> _start()+
_start
in class ComposerBase
protected C _finish()+
_finish
in class ComposerBase
public CollectionComposer<CollectionComposer<PARENT,C>,?> startArray()+
public MapComposer<CollectionComposer<PARENT,C>> startObject()+
public C finish()+
public CollectionComposer<PARENT,C> add(int value)+
public CollectionComposer<PARENT,C> add(long value)+
public CollectionComposer<PARENT,C> add(double value)+
public CollectionComposer<PARENT,C> add(String value)+
public CollectionComposer<PARENT,C> add(CharSequence value)+
public CollectionComposer<PARENT,C> addNull()+
public CollectionComposer<PARENT,C> add(boolean value)+
public CollectionComposer<PARENT,C> addObject(Object pojo)+
JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object.public PARENT end()+
protected C constructCollection()+
protected void _closeChild()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/ComposerBase.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/ComposerBase.html new file mode 100644 index 00000000..446755be --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/ComposerBase.html @@ -0,0 +1,479 @@ + + + + + + +public abstract class ComposerBase +extends Object +implements Flushable+
Modifier and Type | +Field and Description | +
---|---|
protected ComposerBase |
+_child |
+
protected boolean |
+_open |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+ComposerBase() |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_childClosed() |
+
protected abstract Object |
+_finish() |
+
protected IllegalStateException |
+_illegalCall() |
+
protected Object |
+_safeFinish()
+Helper method used to "peel away" bogus exception declaration
+ |
+
protected abstract ComposerBase |
+_start() |
+
protected <P extends ComposerBase> |
+_startArray(P parent,
+ JsonGenerator g) |
+
protected <P extends ComposerBase> |
+_startCollection(P parent) |
+
protected <P extends ComposerBase> |
+_startMap(P parent) |
+
protected <P extends ComposerBase> |
+_startObject(P parent,
+ JsonGenerator g) |
+
protected ComposerBase _child+
protected boolean _open+
protected abstract ComposerBase _start() + throws IOException+
IOException
protected abstract Object _finish() + throws IOException+
IOException
protected Object _safeFinish()+
protected final void _childClosed()+
protected IllegalStateException _illegalCall()+
protected <P extends ComposerBase> ArrayComposer<P> _startArray(P parent, + JsonGenerator g) + throws IOException+
IOException
protected <P extends ComposerBase> ObjectComposer<P> _startObject(P parent, + JsonGenerator g) + throws IOException+
IOException
protected <P extends ComposerBase> CollectionComposer<P,?> _startCollection(P parent)+
protected <P extends ComposerBase> MapComposer<P> _startMap(P parent)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/MapComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/MapComposer.html new file mode 100644 index 00000000..bb9178b0 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/MapComposer.html @@ -0,0 +1,630 @@ + + + + + + +public class MapComposer<PARENT extends ComposerBase> +extends ComposerBase+
Modifier and Type | +Field and Description | +
---|---|
protected String |
+_fieldName |
+
protected Map<String,Object> |
+_map |
+
protected PARENT |
+_parent |
+
_child, _open
Constructor and Description | +
---|
MapComposer(Map<String,Object> map) |
+
MapComposer(PARENT parent) |
+
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final PARENT extends ComposerBase _parent+
protected String _fieldName+
public MapComposer(PARENT parent)+
public static MapComposer<?> rootComposer(Map<String,Object> map)+
public void flush() + throws IOException+
IOException
protected MapComposer<PARENT> _start()+
_start
in class ComposerBase
protected Map<String,Object> _finish()+
_finish
in class ComposerBase
public CollectionComposer<MapComposer<PARENT>,?> startArrayField(String fieldName)+
public CollectionComposer<MapComposer<PARENT>,?> startArrayField(SerializableString fieldName)+
public MapComposer<MapComposer<PARENT>> startObjectField(String fieldName)+
public MapComposer<MapComposer<PARENT>> startObjectField(SerializableString fieldName)+
public PARENT end()+
public MapComposer<PARENT> put(String fieldName, + boolean value)+
public MapComposer<PARENT> putNull(String fieldName)+
public MapComposer<PARENT> put(String fieldName, + int value)+
public MapComposer<PARENT> put(String fieldName, + long value)+
public MapComposer<PARENT> put(String fieldName, + double value)+
public MapComposer<PARENT> put(String fieldName, + String value)+
public MapComposer<PARENT> put(String fieldName, + CharSequence value)+
protected void _closeChild()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/ObjectComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/ObjectComposer.html new file mode 100644 index 00000000..d5f27dcf --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/ObjectComposer.html @@ -0,0 +1,702 @@ + + + + + + +public class ObjectComposer<PARENT extends ComposerBase> +extends ComposerBase+
Modifier and Type | +Field and Description | +
---|---|
protected JsonGenerator |
+_generator |
+
protected PARENT |
+_parent |
+
_child, _open
Constructor and Description | +
---|
ObjectComposer(PARENT parent,
+ JsonGenerator g) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_closeChild() |
+
protected Object |
+_finish() |
+
protected ObjectComposer<PARENT> |
+_start() |
+
PARENT |
+end() |
+
void |
+flush() |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ boolean value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ CharSequence value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ double value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ int value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ long value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ String value) |
+
ObjectComposer<PARENT> |
+putNull(String fieldName) |
+
ObjectComposer<PARENT> |
+putObject(String fieldName,
+ Object value)
+Method used to put a Java Object ("POJO") value into Object being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object. |
+
ArrayComposer<ObjectComposer<PARENT>> |
+startArrayField(SerializableString fieldName) |
+
ArrayComposer<ObjectComposer<PARENT>> |
+startArrayField(String fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+startObjectField(SerializableString fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+startObjectField(String fieldName) |
+
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final PARENT extends ComposerBase _parent+
protected final JsonGenerator _generator+
public ObjectComposer(PARENT parent, + JsonGenerator g)+
public void flush() + throws IOException+
IOException
protected ObjectComposer<PARENT> _start() + throws IOException, + JsonProcessingException+
_start
in class ComposerBase
IOException
JsonProcessingException
protected Object _finish() + throws IOException, + JsonProcessingException+
_finish
in class ComposerBase
IOException
JsonProcessingException
public ArrayComposer<ObjectComposer<PARENT>> startArrayField(String fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ArrayComposer<ObjectComposer<PARENT>> startArrayField(SerializableString fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<ObjectComposer<PARENT>> startObjectField(String fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<ObjectComposer<PARENT>> startObjectField(SerializableString fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public PARENT end() + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + boolean value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> putNull(String fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> putObject(String fieldName, + Object value) + throws IOException, + JsonProcessingException+
JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object.IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + int value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + long value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + double value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + String value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + CharSequence value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
protected void _closeChild() + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/SequenceComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/SequenceComposer.html new file mode 100644 index 00000000..b9557198 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/SequenceComposer.html @@ -0,0 +1,563 @@ + + + + + + +public abstract class SequenceComposer<THIS extends SequenceComposer<THIS>> +extends ComposerBase+
Modifier and Type | +Field and Description | +
---|---|
protected JsonGenerator |
+_generator |
+
_child, _open
Constructor and Description | +
---|
SequenceComposer(JsonGenerator g) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_closeChild() |
+
protected THIS |
+_this() |
+
THIS |
+add(boolean value) |
+
THIS |
+add(CharSequence value) |
+
THIS |
+add(double value) |
+
THIS |
+add(int value) |
+
THIS |
+add(long value) |
+
THIS |
+add(String value) |
+
THIS |
+addNull() |
+
THIS |
+addObject(Object pojo)
+Method used to add Java Object ("POJO") into sequence being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configure ObjectCodec
+ to use for serializer object. |
+
void |
+flush()
+Calls
+JsonGenerator.flush() on underlying JsonGenerator . |
+
ArrayComposer<THIS> |
+startArray() |
+
ObjectComposer<THIS> |
+startObject() |
+
_childClosed, _finish, _illegalCall, _safeFinish, _start, _startArray, _startCollection, _startMap, _startObject
protected final JsonGenerator _generator+
public SequenceComposer(JsonGenerator g)+
public void flush() + throws IOException+
JsonGenerator.flush()
on underlying JsonGenerator
.IOException
public ArrayComposer<THIS> startArray() + throws IOException+
IOException
public ObjectComposer<THIS> startObject() + throws IOException+
IOException
public THIS add(int value) + throws IOException+
IOException
public THIS add(long value) + throws IOException+
IOException
public THIS add(double value) + throws IOException+
IOException
public THIS add(String value) + throws IOException+
IOException
public THIS add(CharSequence value) + throws IOException+
IOException
public THIS addNull() + throws IOException+
IOException
public THIS add(boolean value) + throws IOException+
IOException
public THIS addObject(Object pojo) + throws IOException+
JsonGenerator
+ has a properly configure ObjectCodec
+ to use for serializer object.IOException
protected void _closeChild() + throws IOException+
IOException
protected THIS _this()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ArrayComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ArrayComposer.html new file mode 100644 index 00000000..ae9699b2 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ArrayComposer.html @@ -0,0 +1,182 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected ArrayComposer<PARENT> |
+ArrayComposer._start() |
+
protected <P extends ComposerBase> |
+ComposerBase._startArray(P parent,
+ JsonGenerator g) |
+
ArrayComposer<THIS> |
+SequenceComposer.startArray() |
+
ArrayComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startArrayField(SerializableString fieldName) |
+
ArrayComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startArrayField(String fieldName) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/CollectionComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/CollectionComposer.html new file mode 100644 index 00000000..4b54d491 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/CollectionComposer.html @@ -0,0 +1,265 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Method and Description | +
---|---|
<C extends Collection<Object>> |
+JSON.composeCollection(C collection) |
+
CollectionComposer<?,List<Object>> |
+JSON.composeList() |
+
Modifier and Type | +Method and Description | +
---|---|
protected CollectionComposer<PARENT,C> |
+CollectionComposer._start() |
+
protected <P extends ComposerBase> |
+ComposerBase._startCollection(P parent) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(boolean value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(CharSequence value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(double value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(int value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(long value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(String value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.addNull() |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.addObject(Object pojo)
+Method used to add Java Object ("POJO") into sequence being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object. |
+
static <T extends Collection<Object>> |
+CollectionComposer.rootComposer(T coll) |
+
CollectionComposer<CollectionComposer<PARENT,C>,?> |
+CollectionComposer.startArray() |
+
CollectionComposer<MapComposer<PARENT>,?> |
+MapComposer.startArrayField(SerializableString fieldName) |
+
CollectionComposer<MapComposer<PARENT>,?> |
+MapComposer.startArrayField(String fieldName) |
+
Modifier and Type | +Method and Description | +
---|---|
CollectionComposer<CollectionComposer<PARENT,C>,?> |
+CollectionComposer.startArray() |
+
MapComposer<CollectionComposer<PARENT,C>> |
+CollectionComposer.startObject() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ComposerBase.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ComposerBase.html new file mode 100644 index 00000000..a6668b32 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ComposerBase.html @@ -0,0 +1,300 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+JSONComposer<T>
+Root-level composer object that acts as streaming "builder"
+ object, using an underlying
+JsonGenerator object. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ArrayComposer<PARENT extends ComposerBase> |
+
class |
+CollectionComposer<PARENT extends ComposerBase,C extends Collection<Object>> |
+
class |
+MapComposer<PARENT extends ComposerBase> |
+
class |
+ObjectComposer<PARENT extends ComposerBase> |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ArrayComposer<PARENT extends ComposerBase> |
+
class |
+CollectionComposer<PARENT extends ComposerBase,C extends Collection<Object>> |
+
class |
+MapComposer<PARENT extends ComposerBase> |
+
class |
+ObjectComposer<PARENT extends ComposerBase> |
+
class |
+SequenceComposer<THIS extends SequenceComposer<THIS>> |
+
Modifier and Type | +Field and Description | +
---|---|
protected ComposerBase |
+ComposerBase._child |
+
protected PARENT |
+ObjectComposer._parent |
+
protected PARENT |
+MapComposer._parent |
+
protected PARENT |
+CollectionComposer._parent |
+
protected PARENT |
+ArrayComposer._parent |
+
Modifier and Type | +Method and Description | +
---|---|
protected <P extends ComposerBase> |
+ComposerBase._startArray(P parent,
+ JsonGenerator g) |
+
protected <P extends ComposerBase> |
+ComposerBase._startCollection(P parent) |
+
protected <P extends ComposerBase> |
+ComposerBase._startMap(P parent) |
+
protected <P extends ComposerBase> |
+ComposerBase._startObject(P parent,
+ JsonGenerator g) |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract ComposerBase |
+ComposerBase._start() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/MapComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/MapComposer.html new file mode 100644 index 00000000..d86b9aa8 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/MapComposer.html @@ -0,0 +1,270 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Method and Description | +
---|---|
MapComposer<?> |
+JSON.composeMap() |
+
MapComposer<?> |
+JSON.composeMap(Map<String,Object> map) |
+
Modifier and Type | +Method and Description | +
---|---|
protected MapComposer<PARENT> |
+MapComposer._start() |
+
protected <P extends ComposerBase> |
+ComposerBase._startMap(P parent) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ boolean value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ CharSequence value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ double value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ int value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ long value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ String value) |
+
MapComposer<PARENT> |
+MapComposer.putNull(String fieldName) |
+
static MapComposer<?> |
+MapComposer.rootComposer(Map<String,Object> map) |
+
MapComposer<CollectionComposer<PARENT,C>> |
+CollectionComposer.startObject() |
+
MapComposer<MapComposer<PARENT>> |
+MapComposer.startObjectField(SerializableString fieldName) |
+
MapComposer<MapComposer<PARENT>> |
+MapComposer.startObjectField(String fieldName) |
+
Modifier and Type | +Method and Description | +
---|---|
CollectionComposer<MapComposer<PARENT>,?> |
+MapComposer.startArrayField(SerializableString fieldName) |
+
CollectionComposer<MapComposer<PARENT>,?> |
+MapComposer.startArrayField(String fieldName) |
+
MapComposer<MapComposer<PARENT>> |
+MapComposer.startObjectField(SerializableString fieldName) |
+
MapComposer<MapComposer<PARENT>> |
+MapComposer.startObjectField(String fieldName) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ObjectComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ObjectComposer.html new file mode 100644 index 00000000..4329657f --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ObjectComposer.html @@ -0,0 +1,251 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected ObjectComposer<PARENT> |
+ObjectComposer._start() |
+
protected <P extends ComposerBase> |
+ComposerBase._startObject(P parent,
+ JsonGenerator g) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ boolean value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ CharSequence value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ double value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ int value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ long value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ String value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.putNull(String fieldName) |
+
ObjectComposer<PARENT> |
+ObjectComposer.putObject(String fieldName,
+ Object value)
+Method used to put a Java Object ("POJO") value into Object being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object. |
+
ObjectComposer<THIS> |
+SequenceComposer.startObject() |
+
ObjectComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startObjectField(SerializableString fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startObjectField(String fieldName) |
+
Modifier and Type | +Method and Description | +
---|---|
ArrayComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startArrayField(SerializableString fieldName) |
+
ArrayComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startArrayField(String fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startObjectField(SerializableString fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startObjectField(String fieldName) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/SequenceComposer.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/SequenceComposer.html new file mode 100644 index 00000000..6ee78a2f --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/SequenceComposer.html @@ -0,0 +1,203 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+JSONComposer<T>
+Root-level composer object that acts as streaming "builder"
+ object, using an underlying
+JsonGenerator object. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+SequenceComposer<THIS extends SequenceComposer<THIS>> |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ArrayComposer<PARENT extends ComposerBase> |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/package-frame.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/package-frame.html new file mode 100644 index 00000000..7f0c7e84 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +Class | +Description | +
---|---|
ArrayComposer<PARENT extends ComposerBase> | ++ |
CollectionComposer<PARENT extends ComposerBase,C extends Collection<Object>> | ++ |
ComposerBase | +
+ Base class for all composer implementations.
+ |
+
MapComposer<PARENT extends ComposerBase> | ++ |
ObjectComposer<PARENT extends ComposerBase> | ++ |
SequenceComposer<THIS extends SequenceComposer<THIS>> | ++ |
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/package-tree.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/package-tree.html new file mode 100644 index 00000000..4e076817 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/package-use.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/package-use.html new file mode 100644 index 00000000..17a2bd9b --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/comp/package-use.html @@ -0,0 +1,205 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Class and Description | +
---|
CollectionComposer | +
ComposerBase
+ Base class for all composer implementations.
+ |
+
MapComposer | +
SequenceComposer | +
Class and Description | +
---|
ArrayComposer | +
CollectionComposer | +
ComposerBase
+ Base class for all composer implementations.
+ |
+
MapComposer | +
ObjectComposer | +
SequenceComposer | +
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/AnyReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/AnyReader.html new file mode 100644 index 00000000..0fb09e18 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/AnyReader.html @@ -0,0 +1,568 @@ + + + + + + +public class AnyReader +extends ValueReader+
ValueReader
used for "untyped" values; ones that are bound
+ to whatever Object
is the natural mapping to JSON
+ value that parser currently points toModifier and Type | +Field and Description | +
---|---|
static AnyReader |
+std |
+
_valueType
Modifier and Type | +Method and Description | +
---|---|
protected Object |
+fromBoolean(boolean b)
+Method called to let implementation change a
+Boolean value that has been
+ read from input. |
+
protected Object |
+fromEmbedded(Object value) |
+
protected String |
+fromKey(String key)
+Method called to let implementation change a key of an Object field
+ after being parsed from input.
+ |
+
protected Object |
+fromNull()
+Method called to let implementation change a null value that has been
+ read from input.
+ |
+
protected Object |
+fromString(String str)
+Method called to let implementation change a
+String value that has been
+ read from input. |
+
Object |
+read(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object[] |
+readArrayFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Collection<Object> |
+readCollectionFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Map<String,Object> |
+readFromObject(JSONReader r,
+ JsonParser p,
+ MapBuilder b) |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Map<String,Object> readFromObject(JSONReader r, + JsonParser p, + MapBuilder b) + throws IOException+
IOException
public Object[] readArrayFromArray(JSONReader r, + JsonParser p, + CollectionBuilder b) + throws IOException+
IOException
public Collection<Object> readCollectionFromArray(JSONReader r, + JsonParser p, + CollectionBuilder b) + throws IOException+
IOException
protected Object fromNull() + throws IOException+
IOException
protected Object fromBoolean(boolean b) + throws IOException+
Boolean
value that has been
+ read from input.
+ Default implementation returns Boolean value as is.IOException
protected String fromKey(String key) + throws IOException+
IOException
protected Object fromString(String str) + throws IOException+
String
value that has been
+ read from input.
+ Default implementation returns String value as is.IOException
protected Object fromEmbedded(Object value) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ArrayReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ArrayReader.html new file mode 100644 index 00000000..fffefd5c --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ArrayReader.html @@ -0,0 +1,403 @@ + + + + + + +public class ArrayReader +extends ValueReader+
Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_elementType |
+
protected ValueReader |
+_valueReader |
+
_valueType
Constructor and Description | +
---|
ArrayReader(Class<?> arrayType,
+ Class<?> elementType,
+ ValueReader vr) |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+read(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
protected final Class<?> _elementType+
protected final ValueReader _valueReader+
public ArrayReader(Class<?> arrayType, + Class<?> elementType, + ValueReader vr)+
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyIntrospector.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyIntrospector.html new file mode 100644 index 00000000..e8481b1c --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyIntrospector.html @@ -0,0 +1,348 @@ + + + + + + +public class BeanPropertyIntrospector +extends Object+
POJODefinition
) to build general POJO readers
+ (deserializers) and writers (serializers).
+
+ Note that most of the usage is via ValueReaderLocator
and
+ ValueWriterLocator
Modifier and Type | +Field and Description | +
---|---|
protected static POJODefinition.Prop[] |
+NO_PROPS |
+
Constructor and Description | +
---|
BeanPropertyIntrospector() |
+
Modifier and Type | +Method and Description | +
---|---|
static BeanPropertyIntrospector |
+instance() |
+
POJODefinition |
+pojoDefinitionForDeserialization(JSONReader r,
+ Class<?> pojoType) |
+
POJODefinition |
+pojoDefinitionForSerialization(JSONWriter w,
+ Class<?> pojoType) |
+
protected static final POJODefinition.Prop[] NO_PROPS+
public BeanPropertyIntrospector()+
public static BeanPropertyIntrospector instance()+
public POJODefinition pojoDefinitionForDeserialization(JSONReader r, + Class<?> pojoType)+
public POJODefinition pojoDefinitionForSerialization(JSONWriter w, + Class<?> pojoType)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyReader.html new file mode 100644 index 00000000..5722a60e --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyReader.html @@ -0,0 +1,412 @@ + + + + + + +public final class BeanPropertyReader +extends Object+
Modifier | +Constructor and Description | +
---|---|
protected |
+BeanPropertyReader(BeanPropertyReader src,
+ ValueReader vr) |
+
|
+BeanPropertyReader(String name,
+ Field f,
+ Method setter) |
+
Modifier and Type | +Method and Description | +
---|---|
protected String |
+_bean() |
+
protected Class<?> |
+_rawType() |
+
Type |
+genericSetterType() |
+
String |
+getName() |
+
ValueReader |
+getReader() |
+
Class<?> |
+rawSetterType() |
+
void |
+setValueFor(Object bean,
+ Object[] valueBuf) |
+
String |
+toString() |
+
BeanPropertyReader |
+withReader(ValueReader vr) |
+
protected BeanPropertyReader(BeanPropertyReader src, + ValueReader vr)+
public BeanPropertyReader withReader(ValueReader vr)+
public Type genericSetterType()+
public Class<?> rawSetterType()+
public ValueReader getReader()+
public String getName()+
public void setValueFor(Object bean, + Object[] valueBuf) + throws IOException+
IOException
protected String _bean()+
protected Class<?> _rawType()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyWriter.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyWriter.html new file mode 100644 index 00000000..e7c81de9 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyWriter.html @@ -0,0 +1,368 @@ + + + + + + +public final class BeanPropertyWriter +extends Object+
Modifier and Type | +Field and Description | +
---|---|
SerializedString |
+name |
+
int |
+typeId |
+
Constructor and Description | +
---|
BeanPropertyWriter(int typeId,
+ String n,
+ Field f,
+ Method getter) |
+
Modifier and Type | +Method and Description | +
---|---|
protected String |
+_bean() |
+
Object |
+getValueFor(Object bean) |
+
BeanPropertyWriter |
+withName(String newName) |
+
public final SerializedString name+
public final int typeId+
public BeanPropertyWriter withName(String newName)+
public Object getValueFor(Object bean) + throws IOException+
IOException
protected String _bean()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanReader.html new file mode 100644 index 00000000..50ad2fa6 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanReader.html @@ -0,0 +1,614 @@ + + + + + + +public class BeanReader +extends ValueReader+
Modifier and Type | +Field and Description | +
---|---|
protected Map<String,String> |
+_aliasMapping
+Mapping of aliased names to primary names (direct linkage unfortunately
+ impractical due to implementation limits).
+ |
+
protected Constructor<?> |
+_defaultCtor |
+
protected Set<String> |
+_ignorableNames |
+
protected Constructor<?> |
+_longCtor |
+
protected Map<String,BeanPropertyReader> |
+_propsByName |
+
protected Constructor<?> |
+_stringCtor |
+
_valueType
Constructor and Description | +
---|
BeanReader(Class<?> type,
+ Map<String,BeanPropertyReader> props,
+ Constructor<?> defaultCtor,
+ Constructor<?> stringCtor,
+ Constructor<?> longCtor)
+Deprecated.
+ |
+
BeanReader(Class<?> type,
+ Map<String,BeanPropertyReader> props,
+ Constructor<?> defaultCtor,
+ Constructor<?> stringCtor,
+ Constructor<?> longCtor,
+ Set<String> ignorableNames,
+ Map<String,String> aliasMapping)
+Constructors used for deserialization use case
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected IOException |
+_reportProblem(JsonParser p) |
+
protected Object |
+create() |
+
protected Object |
+create(long l) |
+
protected Object |
+create(String str) |
+
BeanPropertyReader |
+findProperty(String name) |
+
protected void |
+handleUnknown(JSONReader reader,
+ JsonParser parser,
+ String fieldName) |
+
Map<String,BeanPropertyReader> |
+propertiesByName() |
+
Object |
+read(JSONReader r,
+ JsonParser p)
+Method used for deserialization; will read an instance of the bean
+ type using given parser.
+ |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
protected final Map<String,BeanPropertyReader> _propsByName+
protected final Map<String,String> _aliasMapping+
protected final Constructor<?> _defaultCtor+
protected final Constructor<?> _stringCtor+
protected final Constructor<?> _longCtor+
public BeanReader(Class<?> type, + Map<String,BeanPropertyReader> props, + Constructor<?> defaultCtor, + Constructor<?> stringCtor, + Constructor<?> longCtor, + Set<String> ignorableNames, + Map<String,String> aliasMapping)+
@Deprecated +public BeanReader(Class<?> type, + Map<String,BeanPropertyReader> props, + Constructor<?> defaultCtor, + Constructor<?> stringCtor, + Constructor<?> longCtor)+
public Map<String,BeanPropertyReader> propertiesByName()+
public BeanPropertyReader findProperty(String name)+
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
protected void handleUnknown(JSONReader reader, + JsonParser parser, + String fieldName) + throws IOException+
IOException
protected IOException _reportProblem(JsonParser p)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanWriter.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanWriter.html new file mode 100644 index 00000000..ed891346 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/BeanWriter.html @@ -0,0 +1,362 @@ + + + + + + +public class BeanWriter +extends Object +implements ValueWriter+
Modifier and Type | +Field and Description | +
---|---|
protected BeanPropertyWriter[] |
+_properties |
+
protected Class<?> |
+_valueType |
+
Constructor and Description | +
---|
BeanWriter(Class<?> type,
+ BeanPropertyWriter[] props) |
+
Modifier and Type | +Method and Description | +
---|---|
Class<?> |
+valueType()
+Accessor for non-generic (type-erased) type of values this reader
+ produces from input.
+ |
+
void |
+writeValue(JSONWriter context,
+ JsonGenerator g,
+ Object value) |
+
protected final BeanPropertyWriter[] _properties+
protected final Class<?> _valueType+
public BeanWriter(Class<?> type, + BeanPropertyWriter[] props)+
public void writeValue(JSONWriter context, + JsonGenerator g, + Object value) + throws IOException+
writeValue
in interface ValueWriter
IOException
public Class<?> valueType()+
ValueWriter
valueType
in interface ValueWriter
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ClassKey.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ClassKey.html new file mode 100644 index 00000000..3c5cf17e --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ClassKey.html @@ -0,0 +1,352 @@ + + + + + + +public final class ClassKey +extends Object+
Map
s.
+
+ The reason for having a separate key class instead of
+ directly using Class
as key is mostly
+ to allow for redefining hashCode
method --
+ for some strange reason, Class
does not
+ redefine Object.hashCode()
and thus uses identity
+ hash, which is pretty slow. This makes key access using
+ Class
unnecessarily slow.
+
+ Note: since class is not strictly immutable, caller must + know what it is doing, if changing field values.
Constructor and Description | +
---|
ClassKey() |
+
ClassKey(Class<?> clz,
+ int flags) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/CollectionReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/CollectionReader.html new file mode 100644 index 00000000..13a02ee1 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/CollectionReader.html @@ -0,0 +1,401 @@ + + + + + + +public class CollectionReader +extends ValueReader+
Collection
values.Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_collectionType |
+
protected ValueReader |
+_valueReader |
+
_valueType
Constructor and Description | +
---|
CollectionReader(Class<?> t,
+ ValueReader vr) |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+read(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
protected final Class<?> _collectionType+
protected final ValueReader _valueReader+
public CollectionReader(Class<?> t, + ValueReader vr)+
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/DeferredMap.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/DeferredMap.html new file mode 100644 index 00000000..7c81d7b9 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/DeferredMap.html @@ -0,0 +1,635 @@ + + + + + + +public class DeferredMap +extends AbstractMap<String,Object>+
Map
implementation that will collect
+ entries during building, but only materialize full lookup structure
+ when needed; that is, actual building of hash lookup is deferred.
++ Inspired by lazily initialized Map used by Boon library.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description | +
---|
DeferredMap(boolean ordered) |
+
DeferredMap(boolean ordered,
+ int initialSize) |
+
Modifier and Type | +Method and Description | +
---|---|
protected Map<String,Object> |
+_buildMap(int expSize) |
+
protected void |
+buildIfNeeded() |
+
void |
+clear() |
+
protected Object |
+clone() |
+
boolean |
+containsKey(Object key) |
+
boolean |
+containsValue(Object value) |
+
Set<Map.Entry<String,Object>> |
+entrySet() |
+
boolean |
+equals(Object other) |
+
Object |
+get(Object key) |
+
int |
+hashCode() |
+
boolean |
+isEmpty() |
+
Set<String> |
+keySet() |
+
Object |
+put(String key,
+ Object value) |
+
Object |
+remove(Object key) |
+
int |
+size() |
+
String |
+toString() |
+
Collection<Object> |
+values() |
+
putAll
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public DeferredMap(boolean ordered)+
public DeferredMap(boolean ordered, + int initialSize)+
public int size()+ +
public boolean isEmpty()+ +
public boolean containsValue(Object value)+
containsValue
in interface Map<String,Object>
containsValue
in class AbstractMap<String,Object>
public boolean containsKey(Object key)+
containsKey
in interface Map<String,Object>
containsKey
in class AbstractMap<String,Object>
public void clear()+ +
public Collection<Object> values()+ +
public boolean equals(Object other)+ +
public int hashCode()+ +
public String toString()+
toString
in class AbstractMap<String,Object>
protected Object clone() + throws CloneNotSupportedException+
clone
in class AbstractMap<String,Object>
CloneNotSupportedException
protected void buildIfNeeded()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/EnumReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/EnumReader.html new file mode 100644 index 00000000..be042960 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/EnumReader.html @@ -0,0 +1,408 @@ + + + + + + +public class EnumReader +extends ValueReader+
Map
+ for efficient conversion from id (gotten with Enum.toString()
+ to value.
+
+ In future we could consider alternatively allowing use of
+ Enum.name()
for id.
Modifier and Type | +Field and Description | +
---|---|
protected Object[] |
+_byIndex |
+
protected Map<String,Object> |
+_byName |
+
_valueType
Constructor and Description | +
---|
EnumReader(Class<?> enumType,
+ Object[] byIndex,
+ Map<String,Object> byName) |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+read(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
public Object readNext(JSONReader reader, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader reader, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/JSONAsObjectCodec.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/JSONAsObjectCodec.html new file mode 100644 index 00000000..3f1146c3 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/JSONAsObjectCodec.html @@ -0,0 +1,796 @@ + + + + + + +public class JSONAsObjectCodec +extends ObjectCodec+
JSON
that implements ObjectCodec
.
+ Note that implementation is not complete, due to natural limitations of
+ JSON
and "simple" object binding.
+
+ The main use case is to give minimal context for other components that
+ expect to get a ObjectCodec
, such as JsonParser
and
+ JsonGenerator
.
Modifier and Type | +Field and Description | +
---|---|
protected JSON |
+_json |
+
protected JsonFactory |
+_jsonFactory |
+
protected TreeCodec |
+_treeCodec |
+
Constructor and Description | +
---|
JSONAsObjectCodec(JSON json) |
+
JSONAsObjectCodec(JSON json,
+ JsonFactory jf) |
+
JSONAsObjectCodec(JSON json,
+ JsonFactory jf,
+ TreeCodec treeCodec) |
+
protected final JSON _json+
protected final JsonFactory _jsonFactory+
protected final TreeCodec _treeCodec+
public JSONAsObjectCodec(JSON json)+
public JSONAsObjectCodec(JSON json, + JsonFactory jf)+
public JSONAsObjectCodec(JSON json, + JsonFactory jf, + TreeCodec treeCodec)+
public Version version()+
version
in interface Versioned
version
in class ObjectCodec
public <T> T readValue(JsonParser p, + Class<T> valueType) + throws IOException, + JsonProcessingException+
readValue
in class ObjectCodec
IOException
JsonProcessingException
public <T> T readValue(JsonParser p, + TypeReference<T> valueTypeRef) + throws IOException, + JsonProcessingException+
readValue
in class ObjectCodec
IOException
JsonProcessingException
public <T> T readValue(JsonParser p, + ResolvedType valueType) + throws IOException, + JsonProcessingException+
readValue
in class ObjectCodec
IOException
JsonProcessingException
public <T> Iterator<T> readValues(JsonParser p, + Class<T> valueType) + throws IOException, + JsonProcessingException+
readValues
in class ObjectCodec
IOException
JsonProcessingException
public <T> Iterator<T> readValues(JsonParser p, + TypeReference<T> valueTypeRef) + throws IOException, + JsonProcessingException+
readValues
in class ObjectCodec
IOException
JsonProcessingException
public <T> Iterator<T> readValues(JsonParser p, + ResolvedType valueType) + throws IOException, + JsonProcessingException+
readValues
in class ObjectCodec
IOException
JsonProcessingException
protected JSONObjectException _noTypeReference()+
public void writeValue(JsonGenerator jgen, + Object value) + throws IOException, + JsonProcessingException+
writeValue
in class ObjectCodec
IOException
JsonProcessingException
public TreeNode createObjectNode()+
createObjectNode
in class ObjectCodec
public TreeNode createArrayNode()+
createArrayNode
in class ObjectCodec
public TreeNode missingNode()+
missingNode
in class TreeCodec
public <T extends TreeNode> T readTree(JsonParser jp) + throws IOException, + JsonProcessingException+
readTree
in class ObjectCodec
IOException
JsonProcessingException
public void writeTree(JsonGenerator jg, + TreeNode tree) + throws IOException, + JsonProcessingException+
writeTree
in class ObjectCodec
IOException
JsonProcessingException
public JsonParser treeAsTokens(TreeNode n)+
treeAsTokens
in class ObjectCodec
public <T> T treeToValue(TreeNode n, + Class<T> valueType) + throws JsonProcessingException+
treeToValue
in class ObjectCodec
JsonProcessingException
public JsonFactory getFactory()+
getFactory
in class ObjectCodec
@Deprecated +public JsonFactory getJsonFactory()+
getJsonFactory
in class ObjectCodec
protected TreeCodec _checkTreeCodec()+
protected void _checkResultType(Class<?> valueType, + Object ob) + throws JSONObjectException+
JSONObjectException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/JSONReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/JSONReader.html new file mode 100644 index 00000000..cc68edcc --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/JSONReader.html @@ -0,0 +1,807 @@ + + + + + + +public class JSONReader +extends Object+
ValueReader
s), but does not handle
+ any of reading itself (despite name).
+
+ Life-cycle is such that initial instance (called blueprint)
+ is constructed first (including possible configuration
+ using mutant factory methods). This blueprint object
+ acts as a factory, and is never used for direct reading;
+ instead, per-call instance is created by calling
+ perOperationInstance(int, com.fasterxml.jackson.jr.ob.impl.ValueReaderLocator, com.fasterxml.jackson.core.TreeCodec, com.fasterxml.jackson.core.JsonParser)
.
Modifier and Type | +Field and Description | +
---|---|
protected CollectionBuilder |
+_collectionBuilder
+Handler that takes care of constructing
+Map s as needed |
+
protected int |
+_features |
+
protected MapBuilder |
+_mapBuilder
+Handler that takes care of constructing
+Map s as needed |
+
protected JsonParser |
+_parser
+Parser used by this reader instance.
+ |
+
protected ValueReaderLocator |
+_readerLocator
+Object that is used to find value readers dynamically.
+ |
+
protected Object[] |
+_setterBuffer
+Minor performance optimization:
+Object[1] reused to avoid
+ Reflection having to allocate it for every "setter" call. |
+
protected TreeCodec |
+_treeCodec
+
+ |
+
Modifier | +Constructor and Description | +
---|---|
|
+JSONReader(CollectionBuilder lb,
+ MapBuilder mb)
+Constructor used for creating the blueprint instances.
+ |
+
protected |
+JSONReader(JSONReader base,
+ int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p)
+Constructor used for per-operation (non-blueprint) instance.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected CollectionBuilder |
+_collectionBuilder(Class<?> collType) |
+
protected MapBuilder |
+_mapBuilder(Class<?> mapType) |
+
protected JSONReader |
+_with(CollectionBuilder lb,
+ MapBuilder mb)
+Overridable method that all mutant factories call if a new instance
+ is to be constructed
+ |
+
boolean |
+arraysAsLists() |
+
int |
+features() |
+
boolean |
+isEnabled(JSON.Feature f) |
+
JSONReader |
+perOperationInstance(int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p) |
+
Object[] |
+readArray()
+Method for reading a JSON Array from input and building a
+Object[]
+ out of it. |
+
<T> T[] |
+readArrayOf(Class<T> type) |
+
<T> T |
+readBean(Class<T> type)
+Method for reading a JSON Object from input and building a Bean of
+ specified type out of it; Bean has to conform to standard Java Bean
+ specification by having setters for passing JSON Object properties.
+ |
+
List<Object> |
+readList()
+Method for reading a JSON Array from input and building a
+List
+ out of it. |
+
<T> List<T> |
+readListOf(Class<T> type)
+Method for reading a JSON Array from input and building a
+List
+ out of it, binding values into specified type . |
+
Map<String,Object> |
+readMap()
+Method for reading a JSON Object from input and building a
+Map
+ out of it. |
+
<T> Map<String,T> |
+readMapOf(Class<T> type)
+Method for reading a JSON Object from input and building a
+Map
+ out of it, binding values into specified type . |
+
TreeNode |
+readTree() |
+
Object |
+readValue()
+
+ |
+
JSONReader |
+with(CollectionBuilder lb) |
+
JSONReader |
+with(MapBuilder mb) |
+
JSONReader |
+withCacheCheck(int features) |
+
protected final MapBuilder _mapBuilder+
Map
s as neededprotected final CollectionBuilder _collectionBuilder+
Map
s as neededprotected final int _features+
protected final TreeCodec _treeCodec+ +
protected final ValueReaderLocator _readerLocator+
protected final JsonParser _parser+
protected final Object[] _setterBuffer+
Object[1]
reused to avoid
+ Reflection having to allocate it for every "setter" call.public JSONReader(CollectionBuilder lb, + MapBuilder mb)+
protected JSONReader(JSONReader base, + int features, + ValueReaderLocator loc, + TreeCodec tc, + JsonParser p)+
public JSONReader withCacheCheck(int features)+
public JSONReader with(MapBuilder mb)+
public JSONReader with(CollectionBuilder lb)+
protected JSONReader _with(CollectionBuilder lb, + MapBuilder mb)+
public JSONReader perOperationInstance(int features, + ValueReaderLocator loc, + TreeCodec tc, + JsonParser p)+
public boolean arraysAsLists()+
public boolean isEnabled(JSON.Feature f)+
public int features()+
public Object readValue() + throws IOException+
Map
for JSON Object, Map
+ for JSON Array (or, Object[]
if so configured),
+ String
for JSON String value and so on.IOException
public Map<String,Object> readMap() + throws IOException+
Map
+ out of it. Note that if input does NOT contain a
+ JSON Object, JSONObjectException
will be thrown.IOException
public List<Object> readList() + throws IOException+
List
+ out of it. Note that if input does NOT contain a
+ JSON Array, JSONObjectException
will be thrown.IOException
public Object[] readArray() + throws IOException+
Object[]
+ out of it. Note that if input does NOT contain a
+ JSON Array, JSONObjectException
will be thrown.IOException
public <T> T readBean(Class<T> type) + throws IOException+
IOException
public <T> T[] readArrayOf(Class<T> type) + throws IOException+
IOException
public <T> List<T> readListOf(Class<T> type) + throws IOException+
List
+ out of it, binding values into specified type
.
+ Note that if input does NOT contain a JSON Array, JSONObjectException
will be thrown.IOException
public <T> Map<String,T> readMapOf(Class<T> type) + throws IOException+
Map
+ out of it, binding values into specified type
.
+ Note that if input does NOT contain a JSON Object, JSONObjectException
will be thrown.IOException
public TreeNode readTree() + throws IOException+
IOException
protected MapBuilder _mapBuilder(Class<?> mapType)+
protected CollectionBuilder _collectionBuilder(Class<?> collType)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/JSONWriter.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/JSONWriter.html new file mode 100644 index 00000000..4a567c9f --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/JSONWriter.html @@ -0,0 +1,1468 @@ + + + + + + +public class JSONWriter +extends Object+
JSONReader
, writer does actually implement write methods itself
+ and uses delegation for only some special cases.
+
+ Life-cycle is such that initial instance (called blueprint)
+ is constructed first (including possible configuration
+ using mutant factory methods). This blueprint object
+ acts as a factory, and is never used for direct writing;
+ instead, per-call instance is created by calling
+ perOperationInstance(int, com.fasterxml.jackson.jr.ob.impl.ValueWriterLocator, com.fasterxml.jackson.core.TreeCodec, com.fasterxml.jackson.core.JsonGenerator)
.
Modifier and Type | +Field and Description | +
---|---|
protected int |
+_features |
+
protected JsonGenerator |
+_generator |
+
protected TimeZone |
+_timezone |
+
protected TreeCodec |
+_treeCodec |
+
protected boolean |
+_writeNullValues |
+
protected ValueWriterLocator |
+_writerLocator
+Object that is used to dynamically find Bean (and custom type) value writers
+ |
+
Modifier | +Constructor and Description | +
---|---|
|
+JSONWriter()
+Constructor used for creating differently configured blueprint
+ instances
+ |
+
protected |
+JSONWriter(JSONWriter base,
+ int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g)
+Constructor for non-blueprint instances.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_checkUnknown(Object value) |
+
protected void |
+_writeValue(Object value,
+ int type) |
+
protected String |
+dateToString(Date v) |
+
int |
+features() |
+
boolean |
+isEnabled(JSON.Feature f) |
+
protected String |
+keyToString(Object rawKey) |
+
JSONWriter |
+perOperationInstance(int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g) |
+
JSONWriter |
+withCacheCheck(int features) |
+
void |
+writeBeanValue(BeanPropertyWriter[] props,
+ Object bean) |
+
protected void |
+writeBigDecimalField(String fieldName,
+ BigDecimal v) |
+
protected void |
+writeBigDecimalValue(BigDecimal v) |
+
protected void |
+writeBigIntegerField(String fieldName,
+ BigInteger v) |
+
protected void |
+writeBigIntegerValue(BigInteger v) |
+
protected void |
+writeBinaryField(String fieldName,
+ byte[] data) |
+
protected void |
+writeBinaryValue(byte[] data) |
+
protected void |
+writeBooleanArrayField(String fieldName,
+ boolean[] v) |
+
protected void |
+writeBooleanArrayValue(boolean[] v) |
+
protected void |
+writeBooleanField(String fieldName,
+ boolean v) |
+
protected void |
+writeBooleanValue(boolean v) |
+
protected void |
+writeCollectionField(String fieldName,
+ Collection<?> v) |
+
protected void |
+writeCollectionValue(Collection<?> v) |
+
protected void |
+writeDateField(String fieldName,
+ Date v) |
+
protected void |
+writeDateValue(Date v) |
+
protected void |
+writeDoubleField(String fieldName,
+ double v) |
+
protected void |
+writeDoubleValue(double v) |
+
protected void |
+writeEnumField(String fieldName,
+ Enum<?> v) |
+
protected void |
+writeEnumValue(Enum<?> v) |
+
void |
+writeField(String fieldName,
+ Object value,
+ int type) |
+
protected void |
+writeIntArrayField(String fieldName,
+ int[] v) |
+
protected void |
+writeIntArrayValue(int[] v) |
+
protected void |
+writeIntField(String fieldName,
+ int v) |
+
protected void |
+writeIntValue(int v) |
+
protected void |
+writeIterableField(String fieldName,
+ Iterable<?> v) |
+
protected void |
+writeIterableValue(Iterable<?> v) |
+
protected void |
+writeListField(String fieldName,
+ List<?> v) |
+
protected void |
+writeListValue(List<?> list) |
+
protected void |
+writeLongArrayField(String fieldName,
+ long[] v) |
+
protected void |
+writeLongArrayValue(long[] v) |
+
protected void |
+writeLongField(String fieldName,
+ long v) |
+
protected void |
+writeLongValue(long v) |
+
protected void |
+writeMapField(String fieldName,
+ Map<?,?> v) |
+
protected void |
+writeMapValue(Map<?,?> v) |
+
protected void |
+writeNullField(SerializedString fieldName) |
+
protected void |
+writeNullField(String fieldName) |
+
protected void |
+writeNullValue() |
+
protected void |
+writeObjectArrayField(String fieldName,
+ Object[] v) |
+
protected void |
+writeObjectArrayValue(Object[] v) |
+
protected void |
+writeStringField(String fieldName,
+ String v) |
+
protected void |
+writeStringLikeField(String fieldName,
+ String v,
+ int actualType) |
+
protected void |
+writeStringLikeValue(String v,
+ int actualType) |
+
protected void |
+writeStringValue(String v) |
+
protected void |
+writeTreeNodeField(String fieldName,
+ TreeNode v) |
+
protected void |
+writeTreeNodeValue(TreeNode v) |
+
protected void |
+writeUnknownField(String fieldName,
+ Object data) |
+
protected void |
+writeUnknownValue(Object data) |
+
void |
+writeValue(Object value)
+Main entry point for non-blueprint instances: called for the root value to
+ write it out.
+ |
+
protected final TreeCodec _treeCodec+
protected final ValueWriterLocator _writerLocator+
protected final JsonGenerator _generator+
protected final TimeZone _timezone+
protected final int _features+
protected final boolean _writeNullValues+
public JSONWriter()+
protected JSONWriter(JSONWriter base, + int features, + ValueWriterLocator loc, + TreeCodec tc, + JsonGenerator g)+
base
- Blueprint instance to base settings of the new instance onfeatures
- Active features for the write operationloc
- Helper object to use for dynamically located value writerstc
- TreeCodec to use for writing tree values, if anyg
- Underlying streaming encoder to usepublic JSONWriter withCacheCheck(int features)+
public JSONWriter perOperationInstance(int features, + ValueWriterLocator loc, + TreeCodec tc, + JsonGenerator g)+
public boolean isEnabled(JSON.Feature f)+
public int features()+
public void writeValue(Object value) + throws IOException+
IOException
public void writeField(String fieldName, + Object value, + int type) + throws IOException+
IOException
protected void _writeValue(Object value, + int type) + throws IOException+
IOException
protected void writeCollectionValue(Collection<?> v) + throws IOException+
IOException
protected void writeCollectionField(String fieldName, + Collection<?> v) + throws IOException+
IOException
protected void writeIterableValue(Iterable<?> v) + throws IOException+
IOException
protected void writeIterableField(String fieldName, + Iterable<?> v) + throws IOException+
IOException
protected void writeListValue(List<?> list) + throws IOException+
IOException
protected void writeListField(String fieldName, + List<?> v) + throws IOException+
IOException
protected void writeMapValue(Map<?,?> v) + throws IOException+
IOException
protected void writeMapField(String fieldName, + Map<?,?> v) + throws IOException+
IOException
protected void writeObjectArrayValue(Object[] v) + throws IOException+
IOException
protected void writeObjectArrayField(String fieldName, + Object[] v) + throws IOException+
IOException
protected void writeIntArrayValue(int[] v) + throws IOException+
IOException
protected void writeIntArrayField(String fieldName, + int[] v) + throws IOException+
IOException
protected void writeLongArrayValue(long[] v) + throws IOException+
IOException
protected void writeLongArrayField(String fieldName, + long[] v) + throws IOException+
IOException
protected void writeBooleanArrayValue(boolean[] v) + throws IOException+
IOException
protected void writeBooleanArrayField(String fieldName, + boolean[] v) + throws IOException+
IOException
protected void writeTreeNodeValue(TreeNode v) + throws IOException+
IOException
protected void writeTreeNodeField(String fieldName, + TreeNode v) + throws IOException+
IOException
protected void writeBooleanValue(boolean v) + throws IOException+
IOException
protected void writeBooleanField(String fieldName, + boolean v) + throws IOException+
IOException
protected void writeIntValue(int v) + throws IOException+
IOException
protected void writeIntField(String fieldName, + int v) + throws IOException+
IOException
protected void writeLongValue(long v) + throws IOException+
IOException
protected void writeBigIntegerValue(BigInteger v) + throws IOException+
IOException
protected void writeBigIntegerField(String fieldName, + BigInteger v) + throws IOException+
IOException
protected void writeLongField(String fieldName, + long v) + throws IOException+
IOException
protected void writeDoubleValue(double v) + throws IOException+
IOException
protected void writeDoubleField(String fieldName, + double v) + throws IOException+
IOException
protected void writeBigDecimalValue(BigDecimal v) + throws IOException+
IOException
protected void writeBigDecimalField(String fieldName, + BigDecimal v) + throws IOException+
IOException
protected void writeStringValue(String v) + throws IOException+
IOException
protected void writeStringField(String fieldName, + String v) + throws IOException+
IOException
protected void writeStringLikeValue(String v, + int actualType) + throws IOException+
IOException
protected void writeStringLikeField(String fieldName, + String v, + int actualType) + throws IOException+
IOException
protected void writeBinaryValue(byte[] data) + throws IOException+
IOException
protected void writeBinaryField(String fieldName, + byte[] data) + throws IOException+
IOException
protected void writeNullValue() + throws IOException+
IOException
protected void writeNullField(String fieldName) + throws IOException+
IOException
protected void writeNullField(SerializedString fieldName) + throws IOException+
IOException
protected void writeDateValue(Date v) + throws IOException+
IOException
protected void writeDateField(String fieldName, + Date v) + throws IOException+
IOException
protected void writeEnumValue(Enum<?> v) + throws IOException+
IOException
protected void writeEnumField(String fieldName, + Enum<?> v) + throws IOException+
IOException
public void writeBeanValue(BeanPropertyWriter[] props, + Object bean) + throws IOException+
IOException
protected void writeUnknownValue(Object data) + throws IOException+
IOException
protected void writeUnknownField(String fieldName, + Object data) + throws IOException+
IOException
protected void _checkUnknown(Object value) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/MapReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/MapReader.html new file mode 100644 index 00000000..972e66a4 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/MapReader.html @@ -0,0 +1,414 @@ + + + + + + +public class MapReader +extends ValueReader+
Map
values.Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_mapType |
+
protected ValueReader |
+_valueReader |
+
_valueType
Constructor and Description | +
---|
MapReader(Class<?> mapType,
+ ValueReader vr) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONObjectException |
+_reportProblem(JsonParser p) |
+
Object |
+read(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
protected final Class<?> _mapType+
protected final ValueReader _valueReader+
public MapReader(Class<?> mapType, + ValueReader vr)+
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
protected JSONObjectException _reportProblem(JsonParser p)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.Prop.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.Prop.html new file mode 100644 index 00000000..aab3d50f --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.Prop.html @@ -0,0 +1,413 @@ + + + + + + +public static final class POJODefinition.Prop +extends Object+
Modifier and Type | +Field and Description | +
---|---|
Field |
+field |
+
Method |
+getter |
+
Method |
+isGetter |
+
String |
+name |
+
Method |
+setter |
+
Constructor and Description | +
---|
Prop(String n,
+ Field f,
+ Method setter0,
+ Method getter0,
+ Method isGetter0,
+ Collection<String> aliases0) |
+
Modifier and Type | +Method and Description | +
---|---|
Iterable<String> |
+aliases() |
+
static com.fasterxml.jackson.jr.ob.impl.POJODefinition.PropBuilder |
+builder(String name) |
+
boolean |
+hasAliases() |
+
boolean |
+hasSetter() |
+
public final String name+
public final Field field+
public final Method setter+
public final Method getter+
public final Method isGetter+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.html new file mode 100644 index 00000000..8fc0f957 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.html @@ -0,0 +1,491 @@ + + + + + + +public class POJODefinition +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static class |
+POJODefinition.Prop |
+
Modifier and Type | +Field and Description | +
---|---|
protected Set<String> |
+_ignorableNames
+Possible per-class definition of names that may be ignored safely
+ during deserialization.
+ |
+
protected POJODefinition.Prop[] |
+_properties |
+
protected Class<?> |
+_type |
+
Constructor<?> |
+defaultCtor |
+
Constructor<?> |
+longCtor |
+
Constructor<?> |
+stringCtor |
+
Modifier | +Constructor and Description | +
---|---|
|
+POJODefinition(Class<?> type,
+ POJODefinition.Prop[] props,
+ Constructor<?> defaultCtor0,
+ Constructor<?> stringCtor0,
+ Constructor<?> longCtor0) |
+
protected |
+POJODefinition(POJODefinition base,
+ POJODefinition.Prop[] props,
+ Set<String> ignorableN) |
+
Modifier and Type | +Method and Description | +
---|---|
Set<String> |
+getIgnorableNames() |
+
List<POJODefinition.Prop> |
+getProperties() |
+
POJODefinition.Prop[] |
+properties()
+Deprecated.
+ |
+
POJODefinition |
+withIgnorals(Set<String> ignorableN) |
+
POJODefinition |
+withProperties(Collection<POJODefinition.Prop> props) |
+
protected final Class<?> _type+
protected final POJODefinition.Prop[] _properties+
protected final Set<String> _ignorableNames+
public final Constructor<?> defaultCtor+
public final Constructor<?> stringCtor+
public final Constructor<?> longCtor+
public POJODefinition(Class<?> type, + POJODefinition.Prop[] props, + Constructor<?> defaultCtor0, + Constructor<?> stringCtor0, + Constructor<?> longCtor0)+
protected POJODefinition(POJODefinition base, + POJODefinition.Prop[] props, + Set<String> ignorableN)+
public POJODefinition withProperties(Collection<POJODefinition.Prop> props)+
public POJODefinition withIgnorals(Set<String> ignorableN)+
public List<POJODefinition.Prop> getProperties()+
@Deprecated +public POJODefinition.Prop[] properties()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/SimpleValueReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/SimpleValueReader.html new file mode 100644 index 00000000..df1e4718 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/SimpleValueReader.html @@ -0,0 +1,444 @@ + + + + + + +public class SimpleValueReader +extends ValueReader+
ValueReader
used for simple scalar types and related,
+ not including POJO-, Map
and Collection
+ types.Modifier and Type | +Field and Description | +
---|---|
protected int |
+_typeId |
+
_valueType
Constructor and Description | +
---|
SimpleValueReader(Class<?> raw,
+ int typeId) |
+
Modifier and Type | +Method and Description | +
---|---|
protected long |
+_fetchLong(JsonParser p) |
+
protected byte[] |
+_readBinary(JsonParser p) |
+
protected int[] |
+_readIntArray(JsonParser p) |
+
Object |
+read(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
public SimpleValueReader(Class<?> raw, + int typeId)+
public Object readNext(JSONReader reader, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader reader, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
protected byte[] _readBinary(JsonParser p) + throws IOException+
IOException
protected int[] _readIntArray(JsonParser p) + throws IOException+
IOException
protected long _fetchLong(JsonParser p) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/Types.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/Types.html new file mode 100644 index 00000000..61e9fb93 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/Types.html @@ -0,0 +1,249 @@ + + + + + + +public final class Types +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static boolean |
+isEnum(Class<?> type)
+Detect whether a class is an enum or a subclass of an enum - e.g.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ValueLocatorBase.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ValueLocatorBase.html new file mode 100644 index 00000000..b2127fe4 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ValueLocatorBase.html @@ -0,0 +1,881 @@ + + + + + + +public abstract class ValueLocatorBase +extends Object+
Modifier and Type | +Field and Description | +
---|---|
protected static int |
+CACHE_FLAGS |
+
static int |
+SER_BOOLEAN |
+
static int |
+SER_BOOLEAN_ARRAY |
+
static int |
+SER_BYTE_ARRAY |
+
static int |
+SER_CALENDAR |
+
static int |
+SER_CHAR |
+
static int |
+SER_CHAR_ARRAY |
+
static int |
+SER_CHARACTER_SEQUENCE |
+
static int |
+SER_CLASS |
+
static int |
+SER_COLLECTION
+All kinds of
+Collection s other than List s |
+
static int |
+SER_DATE |
+
static int |
+SER_ENUM |
+
static int |
+SER_FILE |
+
static int |
+SER_INT_ARRAY |
+
static int |
+SER_ITERABLE
+Anything that implements
+Iterable , but not
+ Collection . |
+
static int |
+SER_LIST
+All kinds of
+List s. |
+
static int |
+SER_LONG_ARRAY |
+
static int |
+SER_MAP
+All kinds of
+Map s. |
+
static int |
+SER_NUMBER_BIG_DECIMAL |
+
static int |
+SER_NUMBER_BIG_INTEGER |
+
static int |
+SER_NUMBER_BYTE |
+
static int |
+SER_NUMBER_DOUBLE |
+
static int |
+SER_NUMBER_FLOAT |
+
static int |
+SER_NUMBER_INTEGER |
+
static int |
+SER_NUMBER_LONG |
+
static int |
+SER_NUMBER_SHORT |
+
static int |
+SER_OBJECT_ARRAY
+Arrays of non-primitive types
+ |
+
static int |
+SER_STRING |
+
static int |
+SER_TREE_NODE
+An implementation of
+TreeNode |
+
static int |
+SER_UNKNOWN
+Type not yet resolved
+ |
+
static int |
+SER_URI |
+
static int |
+SER_URL |
+
static int |
+SER_UUID |
+
Constructor and Description | +
---|
ValueLocatorBase() |
+
Modifier and Type | +Method and Description | +
---|---|
protected int |
+_findSimpleType(Class<?> raw,
+ boolean forSer) |
+
public static final int SER_UNKNOWN+
public static final int SER_MAP+
Map
s.public static final int SER_LIST+
List
s.public static final int SER_COLLECTION+
Collection
s other than List
spublic static final int SER_OBJECT_ARRAY+
public static final int SER_INT_ARRAY+
public static final int SER_LONG_ARRAY+
public static final int SER_BOOLEAN_ARRAY+
public static final int SER_TREE_NODE+
TreeNode
public static final int SER_STRING+
public static final int SER_CHARACTER_SEQUENCE+
public static final int SER_CHAR_ARRAY+
public static final int SER_BYTE_ARRAY+
public static final int SER_NUMBER_BYTE+
public static final int SER_NUMBER_SHORT+
public static final int SER_NUMBER_INTEGER+
public static final int SER_NUMBER_LONG+
public static final int SER_NUMBER_FLOAT+
public static final int SER_NUMBER_DOUBLE+
public static final int SER_NUMBER_BIG_INTEGER+
public static final int SER_NUMBER_BIG_DECIMAL+
public static final int SER_BOOLEAN+
public static final int SER_CHAR+
public static final int SER_ENUM+
public static final int SER_DATE+
public static final int SER_CALENDAR+
public static final int SER_CLASS+
public static final int SER_FILE+
public static final int SER_UUID+
public static final int SER_URL+
public static final int SER_URI+
public static final int SER_ITERABLE+
Iterable
, but not
+ Collection
.protected static final int CACHE_FLAGS+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ValueReaderLocator.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ValueReaderLocator.html new file mode 100644 index 00000000..d6c20fdb --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ValueReaderLocator.html @@ -0,0 +1,797 @@ + + + + + + +public class ValueReaderLocator +extends ValueLocatorBase+
+ Note that usage pattern is such that a single "root" instance is kept
+ by each JSON
instance; and
+ an actual per-operation instance must be constructed by calling
+ perOperationInstance(com.fasterxml.jackson.jr.ob.impl.JSONReader, int)
: reason for this is that instances
+ use simple caching to handle the common case of repeating types
+ within JSON Arrays.
Modifier and Type | +Field and Description | +
---|---|
protected int |
+_features
+Feature flags that are enabled
+ |
+
protected Map<ClassKey,ValueReader> |
+_incompleteReaders
+During resolution, some readers may be in-progress, but need to be
+ linked: for example, with cyclic type references.
+ |
+
protected ConcurrentHashMap<ClassKey,ValueReader> |
+_knownReaders
+Set of
+ValueReader s that we have resolved |
+
protected JSONReader |
+_readContext |
+
protected Object |
+_readerLock
+Object used for mutex during construction of a Bean deserializer: necessary
+ to avoid race conditions during handling of cyclic dependencies.
+ |
+
protected ReaderWriterModifier |
+_readerModifier
+Provider for reader customizer, if any; may be null.
+ |
+
protected ReaderWriterProvider |
+_readerProvider
+Provider for custom readers, if any; may be null.
+ |
+
protected TypeResolver |
+_typeResolver
+For generic containers (Collections, Maps, arrays), we may need
+ this guy.
+ |
+
protected static int |
+MAX_CACHED_READERS
+While we should be able to cache all types in the active working set,
+ we should also avoid potential unbounded retention, since there is
+ often just one big instance per JVM (or at least ClassLoader).
+ |
+
CACHE_FLAGS, SER_BOOLEAN, SER_BOOLEAN_ARRAY, SER_BYTE_ARRAY, SER_CALENDAR, SER_CHAR, SER_CHAR_ARRAY, SER_CHARACTER_SEQUENCE, SER_CLASS, SER_COLLECTION, SER_DATE, SER_ENUM, SER_FILE, SER_INT_ARRAY, SER_ITERABLE, SER_LIST, SER_LONG_ARRAY, SER_MAP, SER_NUMBER_BIG_DECIMAL, SER_NUMBER_BIG_INTEGER, SER_NUMBER_BYTE, SER_NUMBER_DOUBLE, SER_NUMBER_FLOAT, SER_NUMBER_INTEGER, SER_NUMBER_LONG, SER_NUMBER_SHORT, SER_OBJECT_ARRAY, SER_STRING, SER_TREE_NODE, SER_UNKNOWN, SER_URI, SER_URL, SER_UUID
Modifier | +Constructor and Description | +
---|---|
protected |
+ValueReaderLocator(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance
+ |
+
protected |
+ValueReaderLocator(ValueReaderLocator base,
+ int features,
+ JSONReader r) |
+
protected |
+ValueReaderLocator(ValueReaderLocator base,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
Modifier and Type | +Method and Description | +
---|---|
protected ValueReader |
+_createReader(Class<?> contextType,
+ Class<?> type,
+ Type genericType) |
+
protected POJODefinition |
+_resolveBeanDef(Class<?> raw) |
+
protected BeanReader |
+_resolveBeanForDeser(Class<?> raw,
+ POJODefinition beanDef) |
+
protected ValueReader |
+arrayReader(Class<?> contextType,
+ Class<?> arrayType) |
+
protected ValueReader |
+beanReader(Class<?> type) |
+
static ValueReaderLocator |
+blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
protected ValueReader |
+collectionReader(Class<?> collectionType,
+ ResolvedType valueType) |
+
protected ValueReader |
+collectionReader(Class<?> contextType,
+ Type collectionType) |
+
protected ValueReader |
+createReader(Class<?> contextType,
+ Class<?> type,
+ Type genericType)
+Factory method for creating standard readers of any declared type.
+ |
+
protected ValueReader |
+enumReader(Class<?> enumType) |
+
ValueReader |
+findReader(Class<?> raw)
+Method used during deserialization to find handler for given
+ non-generic type: will first check for already resolved (and cached) readers
+ -- and return if one found -- and then if no cached reader found, create
+ one, cache, return.
+ |
+
protected ValueReader |
+mapReader(Class<?> mapType,
+ ResolvedType valueType) |
+
protected ValueReader |
+mapReader(Class<?> contextType,
+ Type mapType) |
+
ValueReaderLocator |
+perOperationInstance(JSONReader r,
+ int features) |
+
ReaderWriterModifier |
+readerWriterModifier() |
+
ReaderWriterProvider |
+readerWriterProvider() |
+
ValueReaderLocator |
+with(ReaderWriterModifier rwm) |
+
ValueReaderLocator |
+with(ReaderWriterProvider rwp) |
+
_findSimpleType
protected static final int MAX_CACHED_READERS+
protected final TypeResolver _typeResolver+
protected final ReaderWriterProvider _readerProvider+
protected final ReaderWriterModifier _readerModifier+
protected final ConcurrentHashMap<ClassKey,ValueReader> _knownReaders+
ValueReader
s that we have resolvedprotected Map<ClassKey,ValueReader> _incompleteReaders+
protected final Object _readerLock+
protected final int _features+
protected final JSONReader _readContext+
protected ValueReaderLocator(ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
protected ValueReaderLocator(ValueReaderLocator base, + int features, + JSONReader r)+
protected ValueReaderLocator(ValueReaderLocator base, + ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
public static final ValueReaderLocator blueprint(ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
public ValueReaderLocator with(ReaderWriterProvider rwp)+
public ValueReaderLocator with(ReaderWriterModifier rwm)+
public ValueReaderLocator perOperationInstance(JSONReader r, + int features)+
public ReaderWriterProvider readerWriterProvider()+
public ReaderWriterModifier readerWriterModifier()+
public ValueReader findReader(Class<?> raw)+
raw
- Type-erased type of value to find reader forprotected ValueReader createReader(Class<?> contextType, + Class<?> type, + Type genericType)+
contextType
- Context for resolving generic type parameterstype
- Type-erased type of value to construct reader forgenericType
- Full (possibly) generic type of value to construct reader for (important
+ for Map
, Collection
).protected ValueReader _createReader(Class<?> contextType, + Class<?> type, + Type genericType)+
protected ValueReader arrayReader(Class<?> contextType, + Class<?> arrayType)+
protected ValueReader enumReader(Class<?> enumType)+
protected ValueReader collectionReader(Class<?> contextType, + Type collectionType)+
protected ValueReader collectionReader(Class<?> collectionType, + ResolvedType valueType)+
protected ValueReader mapReader(Class<?> contextType, + Type mapType)+
protected ValueReader mapReader(Class<?> mapType, + ResolvedType valueType)+
protected ValueReader beanReader(Class<?> type)+
protected POJODefinition _resolveBeanDef(Class<?> raw)+
protected BeanReader _resolveBeanForDeser(Class<?> raw, + POJODefinition beanDef)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ValueWriterLocator.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ValueWriterLocator.html new file mode 100644 index 00000000..9eae2592 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/ValueWriterLocator.html @@ -0,0 +1,588 @@ + + + + + + +public class ValueWriterLocator +extends ValueLocatorBase+
+ Note that usage pattern is such that a single "root" instance is kept
+ by each JSON
instance; and
+ an actual per-operation instance must be constructed by calling
+ perOperationInstance(com.fasterxml.jackson.jr.ob.impl.JSONWriter, int)
: reason for this is that instances
+ use simple caching to handle the common case of repeating types
+ within JSON Arrays.
Modifier and Type | +Field and Description | +
---|---|
protected int |
+_features |
+
protected ConcurrentHashMap<ClassKey,Integer> |
+_knownSerTypes
+Mapping from classes to resolved type constants or indexes, to use
+ for serialization.
+ |
+
protected CopyOnWriteArrayList<ValueWriter> |
+_knownWriters |
+
protected JSONWriter |
+_writeContext |
+
protected ReaderWriterModifier |
+_writerModifier
+Provider for reader customizer, if any; may be null.
+ |
+
protected ReaderWriterProvider |
+_writerProvider
+Provider for custom writers, if any; may be null.
+ |
+
protected static BeanPropertyWriter[] |
+NO_PROPS_FOR_WRITE |
+
CACHE_FLAGS, SER_BOOLEAN, SER_BOOLEAN_ARRAY, SER_BYTE_ARRAY, SER_CALENDAR, SER_CHAR, SER_CHAR_ARRAY, SER_CHARACTER_SEQUENCE, SER_CLASS, SER_COLLECTION, SER_DATE, SER_ENUM, SER_FILE, SER_INT_ARRAY, SER_ITERABLE, SER_LIST, SER_LONG_ARRAY, SER_MAP, SER_NUMBER_BIG_DECIMAL, SER_NUMBER_BIG_INTEGER, SER_NUMBER_BYTE, SER_NUMBER_DOUBLE, SER_NUMBER_FLOAT, SER_NUMBER_INTEGER, SER_NUMBER_LONG, SER_NUMBER_SHORT, SER_OBJECT_ARRAY, SER_STRING, SER_TREE_NODE, SER_UNKNOWN, SER_URI, SER_URL, SER_UUID
Modifier | +Constructor and Description | +
---|---|
protected |
+ValueWriterLocator(int features,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance (and variations)
+ |
+
protected |
+ValueWriterLocator(ValueWriterLocator base,
+ int features,
+ JSONWriter w) |
+
Modifier and Type | +Method and Description | +
---|---|
protected int |
+_findPOJOSerializationType(Class<?> raw)
+Method called to locate a serializer for given type and return numeric id.
+ |
+
protected POJODefinition |
+_resolveBeanDef(Class<?> raw) |
+
protected BeanPropertyWriter[] |
+_resolveBeanForSer(Class<?> raw,
+ POJODefinition beanDef) |
+
static ValueWriterLocator |
+blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
int |
+findSerializationType(Class<?> raw)
+The main lookup method used to find type identifier for
+ given raw class; including Bean types (if allowed).
+ |
+
ValueWriter |
+getValueWriter(int index) |
+
ValueWriterLocator |
+perOperationInstance(JSONWriter w,
+ int features) |
+
ValueWriterLocator |
+with(ReaderWriterModifier rwm) |
+
ValueWriterLocator |
+with(ReaderWriterProvider rwp) |
+
_findSimpleType
protected static final BeanPropertyWriter[] NO_PROPS_FOR_WRITE+
protected final ConcurrentHashMap<ClassKey,Integer> _knownSerTypes+
protected final CopyOnWriteArrayList<ValueWriter> _knownWriters+
protected final ReaderWriterProvider _writerProvider+
protected final ReaderWriterModifier _writerModifier+
protected final int _features+
protected final JSONWriter _writeContext+
protected ValueWriterLocator(int features, + ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
protected ValueWriterLocator(ValueWriterLocator base, + int features, + JSONWriter w)+
public static final ValueWriterLocator blueprint(ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
public ValueWriterLocator with(ReaderWriterProvider rwp)+
public ValueWriterLocator with(ReaderWriterModifier rwm)+
public ValueWriterLocator perOperationInstance(JSONWriter w, + int features)+
public ValueWriter getValueWriter(int index)+
public final int findSerializationType(Class<?> raw)+
protected POJODefinition _resolveBeanDef(Class<?> raw)+
protected int _findPOJOSerializationType(Class<?> raw)+
ReaderWriterProvider
+ String
,
+ Boolean
, Number
and a small number of other JDK types
+ protected BeanPropertyWriter[] _resolveBeanForSer(Class<?> raw, + POJODefinition beanDef)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/AnyReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/AnyReader.html new file mode 100644 index 00000000..1c0a7c1a --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/AnyReader.html @@ -0,0 +1,165 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
static AnyReader |
+AnyReader.std |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ArrayReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ArrayReader.html new file mode 100644 index 00000000..601ca883 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ArrayReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyIntrospector.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyIntrospector.html new file mode 100644 index 00000000..078a71d8 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyIntrospector.html @@ -0,0 +1,165 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
static BeanPropertyIntrospector |
+BeanPropertyIntrospector.instance() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyReader.html new file mode 100644 index 00000000..782d9f54 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyReader.html @@ -0,0 +1,235 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected Map<String,BeanPropertyReader> |
+BeanReader._propsByName |
+
Modifier and Type | +Method and Description | +
---|---|
BeanPropertyReader |
+BeanReader.findProperty(String name) |
+
BeanPropertyReader |
+BeanPropertyReader.withReader(ValueReader vr) |
+
Modifier and Type | +Method and Description | +
---|---|
Map<String,BeanPropertyReader> |
+BeanReader.propertiesByName() |
+
Constructor and Description | +
---|
BeanPropertyReader(BeanPropertyReader src,
+ ValueReader vr) |
+
Constructor and Description | +
---|
BeanReader(Class<?> type,
+ Map<String,BeanPropertyReader> props,
+ Constructor<?> defaultCtor,
+ Constructor<?> stringCtor,
+ Constructor<?> longCtor)
+Deprecated.
+ |
+
BeanReader(Class<?> type,
+ Map<String,BeanPropertyReader> props,
+ Constructor<?> defaultCtor,
+ Constructor<?> stringCtor,
+ Constructor<?> longCtor,
+ Set<String> ignorableNames,
+ Map<String,String> aliasMapping)
+Constructors used for deserialization use case
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyWriter.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyWriter.html new file mode 100644 index 00000000..a3341329 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyWriter.html @@ -0,0 +1,213 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected BeanPropertyWriter[] |
+BeanWriter._properties |
+
protected static BeanPropertyWriter[] |
+ValueWriterLocator.NO_PROPS_FOR_WRITE |
+
Modifier and Type | +Method and Description | +
---|---|
protected BeanPropertyWriter[] |
+ValueWriterLocator._resolveBeanForSer(Class<?> raw,
+ POJODefinition beanDef) |
+
BeanPropertyWriter |
+BeanPropertyWriter.withName(String newName) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+JSONWriter.writeBeanValue(BeanPropertyWriter[] props,
+ Object bean) |
+
Constructor and Description | +
---|
BeanWriter(Class<?> type,
+ BeanPropertyWriter[] props) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanReader.html new file mode 100644 index 00000000..b1fdf548 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanReader.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected BeanReader |
+ValueReaderLocator._resolveBeanForDeser(Class<?> raw,
+ POJODefinition beanDef) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanWriter.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanWriter.html new file mode 100644 index 00000000..b010241f --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanWriter.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ClassKey.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ClassKey.html new file mode 100644 index 00000000..bdd1773e --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ClassKey.html @@ -0,0 +1,217 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.type | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ValueReader> |
+ValueReaderLocator._incompleteReaders
+During resolution, some readers may be in-progress, but need to be
+ linked: for example, with cyclic type references.
+ |
+
protected ConcurrentHashMap<ClassKey,ValueReader> |
+ValueReaderLocator._knownReaders
+Set of
+ValueReader s that we have resolved |
+
protected ConcurrentHashMap<ClassKey,Integer> |
+ValueWriterLocator._knownSerTypes
+Mapping from classes to resolved type constants or indexes, to use
+ for serialization.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ClassKey |
+ClassKey.with(Class<?> clz,
+ int flags) |
+
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ResolvedType> |
+TypeResolver._cache |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/CollectionReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/CollectionReader.html new file mode 100644 index 00000000..04300865 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/CollectionReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/DeferredMap.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/DeferredMap.html new file mode 100644 index 00000000..195b6620 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/DeferredMap.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/EnumReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/EnumReader.html new file mode 100644 index 00000000..1cdfae37 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/EnumReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONAsObjectCodec.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONAsObjectCodec.html new file mode 100644 index 00000000..cdb40c6b --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONAsObjectCodec.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONReader.html new file mode 100644 index 00000000..9f71b7d8 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONReader.html @@ -0,0 +1,552 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected JSONReader |
+ValueIterator._reader
+Context for deserialization, needed to pass through to deserializer
+ |
+
protected JSONReader |
+JSON._reader
+Blueprint instance of the reader to use for reading JSON as simple
+ Objects.
+ |
+
protected JSONReader |
+JSON.Builder._reader |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONReader |
+JSON._defaultReader() |
+
protected JSONReader |
+JSON._readerForOperation(JsonParser p) |
+
JSONReader |
+JSON.Builder.jsonReader() |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSON |
+JSON._with(int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader reader,
+ JSONWriter writer,
+ PrettyPrinter pp) |
+
JSON.Builder |
+JSON.Builder.jsonReader(JSONReader r) |
+
JSON |
+JSON.with(JSONReader r)
+Deprecated.
+
+Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
Constructor and Description | +
---|
JSON(JSON base,
+ int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader r,
+ JSONWriter w,
+ PrettyPrinter pp) |
+
ValueIterator(int mode,
+ Class<?> type,
+ JsonParser p,
+ JSONReader reader,
+ TreeCodec treeCodec,
+ boolean managedParser) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+ReaderWriterProvider.findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findValueReader(JSONReader readContext,
+ Class<?> type)
+Method called to find custom reader for given type that is NOT one of
+ special container types (
+Collection ,
+ Map ): typically value is a scalar, Bean or Enum. |
+
ValueReader |
+ReaderWriterProvider.Pair.findValueReader(JSONReader ctxt,
+ Class<?> type) |
+
ValueReader |
+ReaderWriterModifier.modifyValueReader(JSONReader readContext,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueReader |
+ReaderWriterModifier.Pair.modifyValueReader(JSONReader ctxt,
+ Class<?> type,
+ ValueReader defaultReader) |
+
POJODefinition |
+ReaderWriterModifier.pojoDefinitionForDeserialization(JSONReader readContext,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.Pair.pojoDefinitionForDeserialization(JSONReader ctxt,
+ Class<?> pojoType) |
+
abstract Object |
+ValueReader.read(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+ValueReader.readNext(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected JSONReader |
+ValueReaderLocator._readContext |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONReader |
+JSONReader._with(CollectionBuilder lb,
+ MapBuilder mb)
+Overridable method that all mutant factories call if a new instance
+ is to be constructed
+ |
+
JSONReader |
+JSONReader.perOperationInstance(int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p) |
+
JSONReader |
+JSONReader.with(CollectionBuilder lb) |
+
JSONReader |
+JSONReader.with(MapBuilder mb) |
+
JSONReader |
+JSONReader.withCacheCheck(int features) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+BeanReader.handleUnknown(JSONReader reader,
+ JsonParser parser,
+ String fieldName) |
+
ValueReaderLocator |
+ValueReaderLocator.perOperationInstance(JSONReader r,
+ int features) |
+
POJODefinition |
+BeanPropertyIntrospector.pojoDefinitionForDeserialization(JSONReader r,
+ Class<?> pojoType) |
+
Object |
+SimpleValueReader.read(JSONReader reader,
+ JsonParser p) |
+
Object |
+MapReader.read(JSONReader r,
+ JsonParser p) |
+
Object |
+EnumReader.read(JSONReader reader,
+ JsonParser p) |
+
Object |
+CollectionReader.read(JSONReader r,
+ JsonParser p) |
+
Object |
+BeanReader.read(JSONReader r,
+ JsonParser p)
+Method used for deserialization; will read an instance of the bean
+ type using given parser.
+ |
+
Object |
+ArrayReader.read(JSONReader r,
+ JsonParser p) |
+
Object |
+AnyReader.read(JSONReader r,
+ JsonParser p) |
+
Object[] |
+AnyReader.readArrayFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Collection<Object> |
+AnyReader.readCollectionFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Map<String,Object> |
+AnyReader.readFromObject(JSONReader r,
+ JsonParser p,
+ MapBuilder b) |
+
Object |
+SimpleValueReader.readNext(JSONReader reader,
+ JsonParser p) |
+
Object |
+MapReader.readNext(JSONReader r,
+ JsonParser p) |
+
Object |
+EnumReader.readNext(JSONReader reader,
+ JsonParser p) |
+
Object |
+CollectionReader.readNext(JSONReader r,
+ JsonParser p) |
+
Object |
+BeanReader.readNext(JSONReader r,
+ JsonParser p) |
+
Object |
+ArrayReader.readNext(JSONReader r,
+ JsonParser p) |
+
Object |
+AnyReader.readNext(JSONReader r,
+ JsonParser p) |
+
Constructor and Description | +
---|
JSONReader(JSONReader base,
+ int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p)
+Constructor used for per-operation (non-blueprint) instance.
+ |
+
ValueReaderLocator(ValueReaderLocator base,
+ int features,
+ JSONReader r) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONWriter.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONWriter.html new file mode 100644 index 00000000..fe58001b --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONWriter.html @@ -0,0 +1,405 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected JSONWriter |
+JSON._writer
+Blueprint instance of the writer to use for writing JSON given
+ simple Objects.
+ |
+
protected JSONWriter |
+JSON.Builder._writer |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONWriter |
+JSON._defaultWriter() |
+
protected JSONWriter |
+JSON._writerForOperation(JsonGenerator gen) |
+
JSONWriter |
+JSON.Builder.jsonWriter() |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSON |
+JSON._with(int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader reader,
+ JSONWriter writer,
+ PrettyPrinter pp) |
+
JSON.Builder |
+JSON.Builder.jsonWriter(JSONWriter w) |
+
JSON |
+JSON.with(JSONWriter w)
+Deprecated.
+
+Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
Constructor and Description | +
---|
JSON(JSON base,
+ int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader r,
+ JSONWriter w,
+ PrettyPrinter pp) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueWriter |
+ReaderWriterProvider.findValueWriter(JSONWriter writeContext,
+ Class<?> type) |
+
ValueWriter |
+ReaderWriterProvider.Pair.findValueWriter(JSONWriter ctxt,
+ Class<?> type) |
+
ValueWriter |
+ReaderWriterModifier.modifyValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+ReaderWriterModifier.Pair.modifyValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ ValueWriter defaultWriter) |
+
ValueWriter |
+ReaderWriterModifier.overrideStandardValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ int stdTypeId)
+Method called instead of
+ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter) for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter and are
+ normally directly serialized by JSONWriter itself. |
+
ValueWriter |
+ReaderWriterModifier.Pair.overrideStandardValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ int stdTypeId) |
+
POJODefinition |
+ReaderWriterModifier.pojoDefinitionForSerialization(JSONWriter writeContext,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.Pair.pojoDefinitionForSerialization(JSONWriter ctxt,
+ Class<?> pojoType) |
+
void |
+ValueWriter.writeValue(JSONWriter context,
+ JsonGenerator g,
+ Object value) |
+
Modifier and Type | +Field and Description | +
---|---|
protected JSONWriter |
+ValueWriterLocator._writeContext |
+
Modifier and Type | +Method and Description | +
---|---|
JSONWriter |
+JSONWriter.perOperationInstance(int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g) |
+
JSONWriter |
+JSONWriter.withCacheCheck(int features) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueWriterLocator |
+ValueWriterLocator.perOperationInstance(JSONWriter w,
+ int features) |
+
POJODefinition |
+BeanPropertyIntrospector.pojoDefinitionForSerialization(JSONWriter w,
+ Class<?> pojoType) |
+
void |
+BeanWriter.writeValue(JSONWriter context,
+ JsonGenerator g,
+ Object value) |
+
Constructor and Description | +
---|
JSONWriter(JSONWriter base,
+ int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g)
+Constructor for non-blueprint instances.
+ |
+
ValueWriterLocator(ValueWriterLocator base,
+ int features,
+ JSONWriter w) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/MapReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/MapReader.html new file mode 100644 index 00000000..930ce33d --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/MapReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.Prop.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.Prop.html new file mode 100644 index 00000000..59630829 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.Prop.html @@ -0,0 +1,230 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected POJODefinition.Prop[] |
+POJODefinition._properties |
+
protected static POJODefinition.Prop[] |
+BeanPropertyIntrospector.NO_PROPS |
+
Modifier and Type | +Method and Description | +
---|---|
POJODefinition.Prop[] |
+POJODefinition.properties()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<POJODefinition.Prop> |
+POJODefinition.getProperties() |
+
Modifier and Type | +Method and Description | +
---|---|
POJODefinition |
+POJODefinition.withProperties(Collection<POJODefinition.Prop> props) |
+
Constructor and Description | +
---|
POJODefinition(Class<?> type,
+ POJODefinition.Prop[] props,
+ Constructor<?> defaultCtor0,
+ Constructor<?> stringCtor0,
+ Constructor<?> longCtor0) |
+
POJODefinition(POJODefinition base,
+ POJODefinition.Prop[] props,
+ Set<String> ignorableN) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.html new file mode 100644 index 00000000..a29cf425 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.html @@ -0,0 +1,257 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
POJODefinition |
+ReaderWriterModifier.pojoDefinitionForDeserialization(JSONReader readContext,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.Pair.pojoDefinitionForDeserialization(JSONReader ctxt,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.pojoDefinitionForSerialization(JSONWriter writeContext,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.Pair.pojoDefinitionForSerialization(JSONWriter ctxt,
+ Class<?> pojoType) |
+
Modifier and Type | +Method and Description | +
---|---|
protected POJODefinition |
+ValueWriterLocator._resolveBeanDef(Class<?> raw) |
+
protected POJODefinition |
+ValueReaderLocator._resolveBeanDef(Class<?> raw) |
+
POJODefinition |
+BeanPropertyIntrospector.pojoDefinitionForDeserialization(JSONReader r,
+ Class<?> pojoType) |
+
POJODefinition |
+BeanPropertyIntrospector.pojoDefinitionForSerialization(JSONWriter w,
+ Class<?> pojoType) |
+
POJODefinition |
+POJODefinition.withIgnorals(Set<String> ignorableN) |
+
POJODefinition |
+POJODefinition.withProperties(Collection<POJODefinition.Prop> props) |
+
Modifier and Type | +Method and Description | +
---|---|
protected BeanReader |
+ValueReaderLocator._resolveBeanForDeser(Class<?> raw,
+ POJODefinition beanDef) |
+
protected BeanPropertyWriter[] |
+ValueWriterLocator._resolveBeanForSer(Class<?> raw,
+ POJODefinition beanDef) |
+
Constructor and Description | +
---|
POJODefinition(POJODefinition base,
+ POJODefinition.Prop[] props,
+ Set<String> ignorableN) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/SimpleValueReader.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/SimpleValueReader.html new file mode 100644 index 00000000..5db07234 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/SimpleValueReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/Types.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/Types.html new file mode 100644 index 00000000..9c7319be --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/Types.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueLocatorBase.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueLocatorBase.html new file mode 100644 index 00000000..0c10f07e --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueLocatorBase.html @@ -0,0 +1,176 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+ValueReaderLocator
+Helper object used for efficient detection of type information relevant
+ to our conversion needs when writing out Java Objects as JSON.
+ |
+
class |
+ValueWriterLocator
+Helper object used for efficient detection of type information
+ relevant to our conversion needs when writing out Java Objects
+ as JSON.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueReaderLocator.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueReaderLocator.html new file mode 100644 index 00000000..e7939c34 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueReaderLocator.html @@ -0,0 +1,272 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected ValueReaderLocator |
+JSON._valueReaderLocator |
+
Constructor and Description | +
---|
JSON(JSON base,
+ ValueReaderLocator rloc,
+ ValueWriterLocator wloc) |
+
Modifier and Type | +Field and Description | +
---|---|
protected ValueReaderLocator |
+JSONReader._readerLocator
+Object that is used to find value readers dynamically.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static ValueReaderLocator |
+ValueReaderLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueReaderLocator |
+ValueReaderLocator.perOperationInstance(JSONReader r,
+ int features) |
+
ValueReaderLocator |
+ValueReaderLocator.with(ReaderWriterModifier rwm) |
+
ValueReaderLocator |
+ValueReaderLocator.with(ReaderWriterProvider rwp) |
+
Modifier and Type | +Method and Description | +
---|---|
JSONReader |
+JSONReader.perOperationInstance(int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p) |
+
Constructor and Description | +
---|
JSONReader(JSONReader base,
+ int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p)
+Constructor used for per-operation (non-blueprint) instance.
+ |
+
ValueReaderLocator(ValueReaderLocator base,
+ int features,
+ JSONReader r) |
+
ValueReaderLocator(ValueReaderLocator base,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueWriterLocator.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueWriterLocator.html new file mode 100644 index 00000000..49c4427f --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueWriterLocator.html @@ -0,0 +1,267 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected ValueWriterLocator |
+JSON._valueWriterLocator |
+
Constructor and Description | +
---|
JSON(JSON base,
+ ValueReaderLocator rloc,
+ ValueWriterLocator wloc) |
+
Modifier and Type | +Field and Description | +
---|---|
protected ValueWriterLocator |
+JSONWriter._writerLocator
+Object that is used to dynamically find Bean (and custom type) value writers
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static ValueWriterLocator |
+ValueWriterLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueWriterLocator |
+ValueWriterLocator.perOperationInstance(JSONWriter w,
+ int features) |
+
ValueWriterLocator |
+ValueWriterLocator.with(ReaderWriterModifier rwm) |
+
ValueWriterLocator |
+ValueWriterLocator.with(ReaderWriterProvider rwp) |
+
Modifier and Type | +Method and Description | +
---|---|
JSONWriter |
+JSONWriter.perOperationInstance(int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g) |
+
Constructor and Description | +
---|
JSONWriter(JSONWriter base,
+ int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g)
+Constructor for non-blueprint instances.
+ |
+
ValueWriterLocator(ValueWriterLocator base,
+ int features,
+ JSONWriter w) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/package-frame.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/package-frame.html new file mode 100644 index 00000000..04d29342 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/package-frame.html @@ -0,0 +1,41 @@ + + + + + + +Class | +Description | +
---|---|
AnyReader | +
+ValueReader used for "untyped" values; ones that are bound
+ to whatever Object is the natural mapping to JSON
+ value that parser currently points to |
+
ArrayReader | +
+ Reader for typed Array values.
+ |
+
BeanPropertyIntrospector | +
+ Helper class that jackson-jr uses by default to introspect POJO properties
+ (represented as
+POJODefinition ) to build general POJO readers
+ (deserializers) and writers (serializers). |
+
BeanPropertyReader | ++ |
BeanPropertyWriter | +
+ Simple container class used to contain information needed for serializing
+ value of a single POJO property.
+ |
+
BeanReader | +
+ Class that contains information about dynamically introspected
+ Bean types, to be able to deserialize (read) JSON into a POJO
+ and serialize (write) POJO as JSON.
+ |
+
BeanWriter | ++ |
ClassKey | +
+ Key class, used as an efficient and accurate key
+ for locating per-class values from
+Map s. |
+
CollectionReader | +
+ Reader for typed
+Collection values. |
+
DeferredMap | +
+ A specialized
+Map implementation that will collect
+ entries during building, but only materialize full lookup structure
+ when needed; that is, actual building of hash lookup is deferred. |
+
EnumReader | +
+ Reader for Enum values: needed because we need a simple
+Map
+ for efficient conversion from id (gotten with Enum.toString()
+ to value. |
+
JSONAsObjectCodec | +
+ Convenience wrapper around
+JSON that implements ObjectCodec . |
+
JSONReader | +
+ Root-level helper object that handles initial delegation to actual
+ readers (which are
+ValueReader s), but does not handle
+ any of reading itself (despite name). |
+
JSONWriter | +
+ Object that handles serialization of simple Objects into underlying
+ data format (usually JSON).
+ |
+
MapReader | +
+ Reader for typed
+Map values. |
+
POJODefinition | +
+ Definition of a single Bean-style Java class, without assumptions
+ on usage for serialization or deserialization, used as input
+ for constructing bean readers and writers.
+ |
+
POJODefinition.Prop | ++ |
SimpleValueReader | +
+ Default
+ValueReader used for simple scalar types and related,
+ not including POJO-, Map and Collection
+ types. |
+
Types | +
+ Utilities to help with reflection and types
+ |
+
ValueLocatorBase | ++ |
ValueReaderLocator | +
+ Helper object used for efficient detection of type information relevant
+ to our conversion needs when writing out Java Objects as JSON.
+ |
+
ValueWriterLocator | +
+ Helper object used for efficient detection of type information
+ relevant to our conversion needs when writing out Java Objects
+ as JSON.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/package-tree.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/package-tree.html new file mode 100644 index 00000000..2b752a53 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/package-tree.html @@ -0,0 +1,178 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/package-use.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/package-use.html new file mode 100644 index 00000000..6cc41fda --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/impl/package-use.html @@ -0,0 +1,330 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.type | ++ |
Class and Description | +
---|
JSONReader
+ Root-level helper object that handles initial delegation to actual
+ readers (which are
+ValueReader s), but does not handle
+ any of reading itself (despite name). |
+
JSONWriter
+ Object that handles serialization of simple Objects into underlying
+ data format (usually JSON).
+ |
+
ValueReaderLocator
+ Helper object used for efficient detection of type information relevant
+ to our conversion needs when writing out Java Objects as JSON.
+ |
+
ValueWriterLocator
+ Helper object used for efficient detection of type information
+ relevant to our conversion needs when writing out Java Objects
+ as JSON.
+ |
+
Class and Description | +
---|
JSONReader
+ Root-level helper object that handles initial delegation to actual
+ readers (which are
+ValueReader s), but does not handle
+ any of reading itself (despite name). |
+
JSONWriter
+ Object that handles serialization of simple Objects into underlying
+ data format (usually JSON).
+ |
+
POJODefinition
+ Definition of a single Bean-style Java class, without assumptions
+ on usage for serialization or deserialization, used as input
+ for constructing bean readers and writers.
+ |
+
Class and Description | +
---|
AnyReader
+ValueReader used for "untyped" values; ones that are bound
+ to whatever Object is the natural mapping to JSON
+ value that parser currently points to |
+
BeanPropertyIntrospector
+ Helper class that jackson-jr uses by default to introspect POJO properties
+ (represented as
+POJODefinition ) to build general POJO readers
+ (deserializers) and writers (serializers). |
+
BeanPropertyReader | +
BeanPropertyWriter
+ Simple container class used to contain information needed for serializing
+ value of a single POJO property.
+ |
+
BeanReader
+ Class that contains information about dynamically introspected
+ Bean types, to be able to deserialize (read) JSON into a POJO
+ and serialize (write) POJO as JSON.
+ |
+
ClassKey
+ Key class, used as an efficient and accurate key
+ for locating per-class values from
+Map s. |
+
JSONReader
+ Root-level helper object that handles initial delegation to actual
+ readers (which are
+ValueReader s), but does not handle
+ any of reading itself (despite name). |
+
JSONWriter
+ Object that handles serialization of simple Objects into underlying
+ data format (usually JSON).
+ |
+
POJODefinition
+ Definition of a single Bean-style Java class, without assumptions
+ on usage for serialization or deserialization, used as input
+ for constructing bean readers and writers.
+ |
+
POJODefinition.Prop | +
ValueLocatorBase | +
ValueReaderLocator
+ Helper object used for efficient detection of type information relevant
+ to our conversion needs when writing out Java Objects as JSON.
+ |
+
ValueWriterLocator
+ Helper object used for efficient detection of type information
+ relevant to our conversion needs when writing out Java Objects
+ as JSON.
+ |
+
Class and Description | +
---|
ClassKey
+ Key class, used as an efficient and accurate key
+ for locating per-class values from
+Map s. |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/package-frame.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/package-frame.html new file mode 100644 index 00000000..73cde134 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +Class | +Description | +
---|---|
JacksonJrExtension | +
+ Simple interface that processing additions can implement to be easily pluggable
+ to main Jackson jr handler,
+JSON . |
+
JSON | +
+ Main entry point for functionality for reading and writing JSON
+ and configuring details of reading and writing.
+ |
+
JSON.Builder | +
+ Builder class that needs to be used for certain kind of "static" configuration
+ (settings that can not vary on per-call basis for
+JSON ), such as
+ Extension registration. |
+
JSONComposer<T> | +
+ Root-level composer object that acts as streaming "builder"
+ object, using an underlying
+JsonGenerator object. |
+
JSONObjectException.Reference | +
+ Simple bean class used to contain references.
+ |
+
PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
ValueIterator<T> | +
+ Iterator exposed by
+JSON when binding sequence of
+ objects. |
+
Enum | +Description | +
---|---|
JSON.Feature | +
+ Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
Exception | +Description | +
---|---|
JSONObjectException | +
+ Standard exception exposed by this package; equivalent of
+
+com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package). |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/package-tree.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/package-tree.html new file mode 100644 index 00000000..988e2ede --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/package-tree.html @@ -0,0 +1,185 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/package-use.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/package-use.html new file mode 100644 index 00000000..89ecb4f7 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/ob/package-use.html @@ -0,0 +1,293 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.stree | ++ |
Class and Description | +
---|
JacksonJrExtension
+ Simple interface that processing additions can implement to be easily pluggable
+ to main Jackson jr handler,
+JSON . |
+
JSON
+ Main entry point for functionality for reading and writing JSON
+ and configuring details of reading and writing.
+ |
+
JSON.Builder
+ Builder class that needs to be used for certain kind of "static" configuration
+ (settings that can not vary on per-call basis for
+JSON ), such as
+ Extension registration. |
+
JSON.Feature
+ Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
JSONComposer
+ Root-level composer object that acts as streaming "builder"
+ object, using an underlying
+JsonGenerator object. |
+
JSONObjectException
+ Standard exception exposed by this package; equivalent of
+
+com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package). |
+
JSONObjectException.Reference
+ Simple bean class used to contain references.
+ |
+
ValueIterator
+ Iterator exposed by
+JSON when binding sequence of
+ objects. |
+
Class and Description | +
---|
JSON.Feature
+ Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
JSONObjectException
+ Standard exception exposed by this package; equivalent of
+
+com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package). |
+
Class and Description | +
---|
JSON
+ Main entry point for functionality for reading and writing JSON
+ and configuring details of reading and writing.
+ |
+
JSON.Feature
+ Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
JSONObjectException
+ Standard exception exposed by this package; equivalent of
+
+com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package). |
+
Class and Description | +
---|
JacksonJrExtension
+ Simple interface that processing additions can implement to be easily pluggable
+ to main Jackson jr handler,
+JSON . |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JacksonJrsTreeCodec.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JacksonJrsTreeCodec.html new file mode 100644 index 00000000..3b9347c4 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JacksonJrsTreeCodec.html @@ -0,0 +1,566 @@ + + + + + + +public class JacksonJrsTreeCodec +extends TreeCodec+ +
Modifier and Type | +Field and Description | +
---|---|
protected ObjectCodec |
+_objectCodec |
+
static JrsMissing |
+MISSING |
+
static JacksonJrsTreeCodec |
+SINGLETON |
+
Constructor and Description | +
---|
JacksonJrsTreeCodec() |
+
JacksonJrsTreeCodec(ObjectCodec codec) |
+
Modifier and Type | +Method and Description | +
---|---|
protected List<JrsValue> |
+_list() |
+
protected Map<String,JrsValue> |
+_map() |
+
JrsBoolean |
+booleanNode(boolean state)
+Factory method for constructing node to represent Boolean values.
+ |
+
JrsValue |
+createArrayNode() |
+
JrsValue |
+createObjectNode() |
+
JrsValue |
+missingNode() |
+
JrsValue |
+nullNode() |
+
JrsNumber |
+numberNode(Number nr)
+Factory method for constructing node to represent String values.
+ |
+
<T extends TreeNode> |
+readTree(JsonParser p) |
+
JrsString |
+stringNode(String text)
+Factory method for constructing node to represent String values.
+ |
+
JsonParser |
+treeAsTokens(TreeNode node) |
+
void |
+writeTree(JsonGenerator g,
+ TreeNode treeNode) |
+
public static JrsMissing MISSING+
public static final JacksonJrsTreeCodec SINGLETON+
protected ObjectCodec _objectCodec+
public JacksonJrsTreeCodec()+
public JacksonJrsTreeCodec(ObjectCodec codec)+
public <T extends TreeNode> T readTree(JsonParser p) + throws IOException+
readTree
in class TreeCodec
IOException
public void writeTree(JsonGenerator g, + TreeNode treeNode) + throws IOException+
writeTree
in class TreeCodec
IOException
public JrsValue createArrayNode()+
createArrayNode
in class TreeCodec
public JrsValue createObjectNode()+
createObjectNode
in class TreeCodec
public JrsValue missingNode()+
missingNode
in class TreeCodec
public JsonParser treeAsTokens(TreeNode node)+
treeAsTokens
in class TreeCodec
public JrsBoolean booleanNode(boolean state)+
state
- Whether to create Boolean.TRUE
or Boolean.FALSE
nodepublic JrsString stringNode(String text)+
text
- String value for constructed node to containpublic JrsNumber numberNode(Number nr)+
nr
- Numeric value for constructed node to containCopyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrSimpleTreeExtension.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrSimpleTreeExtension.html new file mode 100644 index 00000000..a5e98a91 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrSimpleTreeExtension.html @@ -0,0 +1,345 @@ + + + + + + +public class JrSimpleTreeExtension +extends JacksonJrExtension+
JacksonJrExtension
for registering "simple Tree Model"
+ implementation (JacksonJrsTreeCodec
).JacksonJrsTreeCodec
Modifier and Type | +Field and Description | +
---|---|
protected JacksonJrsTreeCodec |
+_codec |
+
Constructor and Description | +
---|
JrSimpleTreeExtension() |
+
JrSimpleTreeExtension(JacksonJrsTreeCodec tc) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+register(ExtensionContext ctxt)
+Method called by
+JSON to let extension register handlers
+ it wants to. |
+
protected final JacksonJrsTreeCodec _codec+
public JrSimpleTreeExtension()+
public JrSimpleTreeExtension(JacksonJrsTreeCodec tc)+
protected void register(ExtensionContext ctxt)+
JacksonJrExtension
JSON
to let extension register handlers
+ it wants to.register
in class JacksonJrExtension
ctxt
- Context that allows extension to register handlersCopyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsArray.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsArray.html new file mode 100644 index 00000000..1fa9cedb --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsArray.html @@ -0,0 +1,535 @@ + + + + + + +JrsValue.Scalar
Constructor and Description | +
---|
JrsArray() |
+
JrsArray(List<JrsValue> v) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+_at(JsonPointer ptr) |
+
JsonToken |
+asToken() |
+
Iterator<JrsValue> |
+elements() |
+
boolean |
+equals(Object o) |
+
JrsValue |
+get(int i) |
+
JrsValue |
+get(String s) |
+
int |
+hashCode() |
+
boolean |
+isArray() |
+
boolean |
+isContainerNode() |
+
boolean |
+isValueNode() |
+
JrsValue |
+path(int i) |
+
JrsValue |
+path(String s) |
+
int |
+size() |
+
protected void |
+write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
asText, at, at, fieldNames, isEmbeddedValue, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse
public JsonToken asToken()+
public int size()+
public boolean isValueNode()+
public boolean isContainerNode()+
public boolean isArray()+ +
public JrsValue get(int i)+ +
public JrsValue path(int i)+ +
protected JrsValue _at(JsonPointer ptr)+ +
protected void write(JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsBoolean.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsBoolean.html new file mode 100644 index 00000000..214e10ff --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsBoolean.html @@ -0,0 +1,423 @@ + + + + + + +public class JrsBoolean +extends JrsValue.Scalar+
JrsValue.Scalar
Modifier and Type | +Field and Description | +
---|---|
static JrsBoolean |
+FALSE |
+
static JrsBoolean |
+TRUE |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
JsonToken |
+asToken() |
+
boolean |
+booleanValue() |
+
boolean |
+equals(Object o) |
+
int |
+hashCode() |
+
protected void |
+write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse
public static JrsBoolean TRUE+
public static JrsBoolean FALSE+
public JsonToken asToken()+
public String asText()+
JrsValue
public boolean booleanValue()+
protected void write(JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsEmbeddedObject.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsEmbeddedObject.html new file mode 100644 index 00000000..08746824 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsEmbeddedObject.html @@ -0,0 +1,464 @@ + + + + + + +public class JrsEmbeddedObject +extends JrsValue.Scalar+
JrsValue.Scalar
Modifier and Type | +Field and Description | +
---|---|
protected Object |
+_value |
+
Constructor and Description | +
---|
JrsEmbeddedObject(Object v) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
JsonToken |
+asToken() |
+
Object |
+embeddedValue() |
+
boolean |
+equals(Object o) |
+
int |
+hashCode() |
+
boolean |
+isEmbeddedValue() |
+
protected void |
+write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
at, at, fieldNames, isArray, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse
public boolean isEmbeddedValue()+
isEmbeddedValue
in class JrsValue
public JsonToken asToken()+
public String asText()+
JrsValue
public Object embeddedValue()+
protected void write(JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsMissing.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsMissing.html new file mode 100644 index 00000000..81b8828a --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsMissing.html @@ -0,0 +1,543 @@ + + + + + + +JrsValue.Scalar
Constructor and Description | +
---|
JrsMissing() |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+_at(JsonPointer ptr) |
+
JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
JrsValue |
+get(int i) |
+
JrsValue |
+get(String s) |
+
int |
+hashCode() |
+
static JrsMissing |
+instance() |
+
boolean |
+isContainerNode() |
+
boolean |
+isMissingNode() |
+
boolean |
+isValueNode() |
+
JrsValue |
+path(int i) |
+
JrsValue |
+path(String s) |
+
int |
+size() |
+
String |
+toString() |
+
protected void |
+write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
asText, at, at, fieldNames, isArray, isEmbeddedValue, isNull, isNumber, isObject, numberType, traverse, traverse
public static final JrsMissing instance()+
public JsonToken asToken()+
public boolean isValueNode()+
public boolean isContainerNode()+
public boolean isMissingNode()+
isMissingNode
in interface TreeNode
isMissingNode
in class JrsValue
protected JrsValue _at(JsonPointer ptr)+ +
public int size()+
public JrsValue get(int i)+ +
public JrsValue path(int i)+ +
protected void write(JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsNull.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsNull.html new file mode 100644 index 00000000..73c98c68 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsNull.html @@ -0,0 +1,421 @@ + + + + + + +public final class JrsNull +extends JrsValue.Scalar+
JrsValue.Scalar
Modifier and Type | +Method and Description | +
---|---|
JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
int |
+hashCode() |
+
static JrsNull |
+instance() |
+
boolean |
+isNull() |
+
String |
+toString() |
+
protected void |
+write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
asText, at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNumber, isObject, numberType, traverse, traverse
public static final JrsNull instance()+
public JsonToken asToken()+
protected void write(JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsNumber.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsNumber.html new file mode 100644 index 00000000..bee1ab9a --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsNumber.html @@ -0,0 +1,486 @@ + + + + + + +public class JrsNumber +extends JrsValue.Scalar+
JrsValue.Scalar
Constructor and Description | +
---|
JrsNumber(Number value) |
+
Modifier and Type | +Method and Description | +
---|---|
BigDecimal |
+asBigDecimal() |
+
BigInteger |
+asBigInteger() |
+
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
Number |
+getValue() |
+
int |
+hashCode() |
+
boolean |
+isNumber()
+Method that allows checking whether this value is a JSON number
+ (integer or floating-point).
+ |
+
JsonParser.NumberType |
+numberType() |
+
protected void |
+write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNull, isObject, traverse, traverse
public boolean isNumber()+
JrsValue
public Number getValue()+
public JsonToken asToken()+
public String asText()+
JrsValue
public JsonParser.NumberType numberType()+
numberType
in interface TreeNode
numberType
in class JrsValue
public BigInteger asBigInteger() + throws IOException+
IOException
public BigDecimal asBigDecimal() + throws IOException+
IOException
protected void write(JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsObject.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsObject.html new file mode 100644 index 00000000..d5feded0 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsObject.html @@ -0,0 +1,554 @@ + + + + + + +JrsValue.Scalar
Constructor and Description | +
---|
JrsObject() |
+
JrsObject(Map<String,JrsValue> values) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+_at(JsonPointer ptr) |
+
JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
Iterator<String> |
+fieldNames() |
+
Iterator<Map.Entry<String,JrsValue>> |
+fields() |
+
JrsValue |
+get(int i) |
+
JrsValue |
+get(String name) |
+
int |
+hashCode() |
+
boolean |
+isContainerNode() |
+
boolean |
+isObject() |
+
boolean |
+isValueNode() |
+
JrsValue |
+path(int i) |
+
JrsValue |
+path(String name) |
+
int |
+size() |
+
protected void |
+write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
asText, at, at, isArray, isEmbeddedValue, isMissingNode, isNull, isNumber, numberType, traverse, traverse
public JsonToken asToken()+
public int size()+
public boolean isValueNode()+
public boolean isContainerNode()+
public boolean isObject()+ +
public Iterator<String> fieldNames()+
fieldNames
in interface TreeNode
fieldNames
in class JrsValue
public JrsValue get(int i)+ +
public JrsValue path(int i)+ +
protected JrsValue _at(JsonPointer ptr)+ +
protected void write(JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsString.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsString.html new file mode 100644 index 00000000..89de4e4c --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsString.html @@ -0,0 +1,444 @@ + + + + + + +public class JrsString +extends JrsValue.Scalar+
JrsValue.Scalar
Modifier and Type | +Field and Description | +
---|---|
protected String |
+_value |
+
Constructor and Description | +
---|
JrsString(String v) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
String |
+getValue() |
+
int |
+hashCode() |
+
protected void |
+write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse
public String getValue()+
public JsonToken asToken()+
public String asText()+
JrsValue
protected void write(JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsValue.Scalar.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsValue.Scalar.html new file mode 100644 index 00000000..1f892836 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsValue.Scalar.html @@ -0,0 +1,439 @@ + + + + + + +public abstract static class JrsValue.Scalar +extends JrsValue+
JrsMissing
.JrsValue.Scalar
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+_at(JsonPointer ptr) |
+
JrsValue |
+get(int i) |
+
JrsValue |
+get(String s) |
+
boolean |
+isContainerNode() |
+
boolean |
+isValueNode() |
+
JrsValue |
+path(int i) |
+
JrsValue |
+path(String s) |
+
int |
+size() |
+
asText, at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse, write
public final boolean isValueNode()+
public final boolean isContainerNode()+
public int size()+
public JrsValue get(int i)+ +
public JrsValue path(int i)+ +
protected JrsValue _at(JsonPointer ptr)+ +
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsValue.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsValue.html new file mode 100644 index 00000000..19f9f7bd --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/JrsValue.html @@ -0,0 +1,618 @@ + + + + + + +public abstract class JrsValue +extends Object +implements TreeNode+
TreeNode
and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec
).Modifier and Type | +Class and Description | +
---|---|
static class |
+JrsValue.Scalar
+Intermediate base class for non-structured types, other than
+
+JrsMissing . |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract JrsValue |
+_at(JsonPointer ptr) |
+
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
JrsValue |
+at(JsonPointer ptr) |
+
JrsValue |
+at(String s) |
+
Iterator<String> |
+fieldNames() |
+
abstract JrsValue |
+get(int i) |
+
abstract JrsValue |
+get(String s) |
+
boolean |
+isArray() |
+
boolean |
+isEmbeddedValue() |
+
boolean |
+isMissingNode() |
+
boolean |
+isNull() |
+
boolean |
+isNumber()
+Method that allows checking whether this value is a JSON number
+ (integer or floating-point).
+ |
+
boolean |
+isObject() |
+
JsonParser.NumberType |
+numberType() |
+
abstract JrsValue |
+path(int i) |
+
abstract JrsValue |
+path(String s) |
+
JsonParser |
+traverse() |
+
JsonParser |
+traverse(ObjectCodec codec) |
+
protected abstract void |
+write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asToken, isContainerNode, isValueNode, size
public JsonParser.NumberType numberType()+
numberType
in interface TreeNode
public boolean isMissingNode()+
isMissingNode
in interface TreeNode
public boolean isNull()+
public boolean isEmbeddedValue()+
public Iterator<String> fieldNames()+
fieldNames
in interface TreeNode
public JrsValue at(JsonPointer ptr)+ +
public JsonParser traverse()+ +
public JsonParser traverse(ObjectCodec codec)+ +
public boolean isNumber()+
public String asText()+
protected abstract JrsValue _at(JsonPointer ptr)+
protected abstract void write(JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/PackageVersion.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/PackageVersion.html new file mode 100644 index 00000000..6daae58e --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/PackageVersion.html @@ -0,0 +1,320 @@ + + + + + + +Modifier and Type | +Field and Description | +
---|---|
static Version |
+VERSION |
+
Constructor and Description | +
---|
PackageVersion() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JacksonJrsTreeCodec.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JacksonJrsTreeCodec.html new file mode 100644 index 00000000..31829a26 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JacksonJrsTreeCodec.html @@ -0,0 +1,234 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected JacksonJrsTreeCodec |
+JrSimpleTreeExtension._codec |
+
static JacksonJrsTreeCodec |
+JacksonJrsTreeCodec.SINGLETON |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract void |
+JrsValue.write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsString.write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsObject.write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsNumber.write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsNull.write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsMissing.write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsEmbeddedObject.write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsBoolean.write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsArray.write(JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
Constructor and Description | +
---|
JrSimpleTreeExtension(JacksonJrsTreeCodec tc) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrSimpleTreeExtension.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrSimpleTreeExtension.html new file mode 100644 index 00000000..f6c59c8c --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrSimpleTreeExtension.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsArray.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsArray.html new file mode 100644 index 00000000..8ed4afb9 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsArray.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsBoolean.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsBoolean.html new file mode 100644 index 00000000..93f6b471 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsBoolean.html @@ -0,0 +1,184 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Field and Description | +
---|---|
static JrsBoolean |
+JrsBoolean.FALSE |
+
static JrsBoolean |
+JrsBoolean.TRUE |
+
Modifier and Type | +Method and Description | +
---|---|
JrsBoolean |
+JacksonJrsTreeCodec.booleanNode(boolean state)
+Factory method for constructing node to represent Boolean values.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsEmbeddedObject.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsEmbeddedObject.html new file mode 100644 index 00000000..4b3c0aef --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsEmbeddedObject.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsMissing.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsMissing.html new file mode 100644 index 00000000..f20842b9 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsMissing.html @@ -0,0 +1,178 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Field and Description | +
---|---|
static JrsMissing |
+JacksonJrsTreeCodec.MISSING |
+
Modifier and Type | +Method and Description | +
---|---|
static JrsMissing |
+JrsMissing.instance() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNull.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNull.html new file mode 100644 index 00000000..4691c71a --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNull.html @@ -0,0 +1,165 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Method and Description | +
---|---|
static JrsNull |
+JrsNull.instance() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNumber.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNumber.html new file mode 100644 index 00000000..09510579 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNumber.html @@ -0,0 +1,189 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
com.fasterxml.jackson.jr.stree.util | ++ |
Modifier and Type | +Method and Description | +
---|---|
JrsNumber |
+JacksonJrsTreeCodec.numberNode(Number nr)
+Factory method for constructing node to represent String values.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsNumber |
+JrsTreeTraversingParser.currentNumericNode() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsObject.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsObject.html new file mode 100644 index 00000000..28c98b0e --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsObject.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsString.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsString.html new file mode 100644 index 00000000..f354ec9d --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsString.html @@ -0,0 +1,167 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Method and Description | +
---|---|
JrsString |
+JacksonJrsTreeCodec.stringNode(String text)
+Factory method for constructing node to represent String values.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.Scalar.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.Scalar.html new file mode 100644 index 00000000..11b46421 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.Scalar.html @@ -0,0 +1,189 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+JrsBoolean |
+
class |
+JrsEmbeddedObject
+Container for opaque embedded Java objects, exposed by some non-JSON
+ backends: for example, binary formats would expose binary data natively
+ as such tokens.
+ |
+
class |
+JrsNull
+Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
class |
+JrsNumber |
+
class |
+JrsString |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.html new file mode 100644 index 00000000..f2869ebb --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.html @@ -0,0 +1,421 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
com.fasterxml.jackson.jr.stree.util | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+JrsArray |
+
class |
+JrsBoolean |
+
class |
+JrsEmbeddedObject
+Container for opaque embedded Java objects, exposed by some non-JSON
+ backends: for example, binary formats would expose binary data natively
+ as such tokens.
+ |
+
class |
+JrsMissing
+Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
class |
+JrsNull
+Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
class |
+JrsNumber |
+
class |
+JrsObject |
+
class |
+JrsString |
+
static class |
+JrsValue.Scalar
+Intermediate base class for non-structured types, other than
+
+JrsMissing . |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract JrsValue |
+JrsValue._at(JsonPointer ptr) |
+
protected JrsValue |
+JrsValue.Scalar._at(JsonPointer ptr) |
+
protected JrsValue |
+JrsObject._at(JsonPointer ptr) |
+
protected JrsValue |
+JrsMissing._at(JsonPointer ptr) |
+
protected JrsValue |
+JrsArray._at(JsonPointer ptr) |
+
JrsValue |
+JrsValue.at(JsonPointer ptr) |
+
JrsValue |
+JrsValue.at(String s) |
+
JrsValue |
+JacksonJrsTreeCodec.createArrayNode() |
+
JrsValue |
+JacksonJrsTreeCodec.createObjectNode() |
+
abstract JrsValue |
+JrsValue.get(int i) |
+
JrsValue |
+JrsValue.Scalar.get(int i) |
+
JrsValue |
+JrsObject.get(int i) |
+
JrsValue |
+JrsMissing.get(int i) |
+
JrsValue |
+JrsArray.get(int i) |
+
abstract JrsValue |
+JrsValue.get(String s) |
+
JrsValue |
+JrsValue.Scalar.get(String s) |
+
JrsValue |
+JrsObject.get(String name) |
+
JrsValue |
+JrsMissing.get(String s) |
+
JrsValue |
+JrsArray.get(String s) |
+
JrsValue |
+JacksonJrsTreeCodec.missingNode() |
+
JrsValue |
+JacksonJrsTreeCodec.nullNode() |
+
abstract JrsValue |
+JrsValue.path(int i) |
+
JrsValue |
+JrsValue.Scalar.path(int i) |
+
JrsValue |
+JrsObject.path(int i) |
+
JrsValue |
+JrsMissing.path(int i) |
+
JrsValue |
+JrsArray.path(int i) |
+
abstract JrsValue |
+JrsValue.path(String s) |
+
JrsValue |
+JrsValue.Scalar.path(String s) |
+
JrsValue |
+JrsObject.path(String name) |
+
JrsValue |
+JrsMissing.path(String s) |
+
JrsValue |
+JrsArray.path(String s) |
+
Modifier and Type | +Method and Description | +
---|---|
protected List<JrsValue> |
+JacksonJrsTreeCodec._list() |
+
protected Map<String,JrsValue> |
+JacksonJrsTreeCodec._map() |
+
Iterator<JrsValue> |
+JrsArray.elements() |
+
Iterator<Map.Entry<String,JrsValue>> |
+JrsObject.fields() |
+
Constructor and Description | +
---|
JrsArray(List<JrsValue> v) |
+
JrsObject(Map<String,JrsValue> values) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+JrsTreeTraversingParser.currentNode() |
+
Constructor and Description | +
---|
JrsTreeTraversingParser(JrsValue n) |
+
JrsTreeTraversingParser(JrsValue n,
+ ObjectCodec codec) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/PackageVersion.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/PackageVersion.html new file mode 100644 index 00000000..830733f2 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/class-use/PackageVersion.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/package-frame.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/package-frame.html new file mode 100644 index 00000000..bd883838 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +Class | +Description | +
---|---|
JacksonJrsTreeCodec | ++ + | +
JrsArray | ++ |
JrsBoolean | ++ |
JrsEmbeddedObject | +
+ Container for opaque embedded Java objects, exposed by some non-JSON
+ backends: for example, binary formats would expose binary data natively
+ as such tokens.
+ |
+
JrSimpleTreeExtension | +
+ Simple
+JacksonJrExtension for registering "simple Tree Model"
+ implementation (JacksonJrsTreeCodec ). |
+
JrsMissing | +
+ Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
JrsNull | +
+ Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
JrsNumber | ++ |
JrsObject | ++ |
JrsString | ++ |
JrsValue | +
+ Shared base class for all "simple" node types of Jackson Jr
+ "simple tree" package; implements
+TreeNode and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec ). |
+
JrsValue.Scalar | +
+ Intermediate base class for non-structured types, other than
+
+JrsMissing . |
+
PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/package-tree.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/package-tree.html new file mode 100644 index 00000000..6c6648e0 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/package-tree.html @@ -0,0 +1,164 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/package-use.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/package-use.html new file mode 100644 index 00000000..37e7b240 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/package-use.html @@ -0,0 +1,226 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
com.fasterxml.jackson.jr.stree.util | ++ |
Class and Description | +
---|
JacksonJrsTreeCodec + + | +
JrsBoolean | +
JrsMissing
+ Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
JrsNull
+ Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
JrsNumber | +
JrsString | +
JrsValue
+ Shared base class for all "simple" node types of Jackson Jr
+ "simple tree" package; implements
+TreeNode and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec ). |
+
JrsValue.Scalar
+ Intermediate base class for non-structured types, other than
+
+JrsMissing . |
+
Class and Description | +
---|
JrsNumber | +
JrsValue
+ Shared base class for all "simple" node types of Jackson Jr
+ "simple tree" package; implements
+TreeNode and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec ). |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/JrsTreeTraversingParser.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/JrsTreeTraversingParser.html new file mode 100644 index 00000000..cbbbcac4 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/JrsTreeTraversingParser.html @@ -0,0 +1,1044 @@ + + + + + + +public class JrsTreeTraversingParser +extends ParserMinimalBase+
JrsValue
that implements JsonParser
to allow
+ accessing contents of JSON tree in alternate form (stream of tokens).
+ Useful when a streaming source is expected by code, such as data binding
+ functionality.JsonParser.Feature, JsonParser.NumberType
Modifier and Type | +Field and Description | +
---|---|
protected boolean |
+_closed
+Flag that indicates whether parser is closed or not.
+ |
+
protected JsonToken |
+_nextToken
+Sometimes parser needs to buffer a single look-ahead token; if so,
+ it'll be stored here.
+ |
+
protected com.fasterxml.jackson.jr.stree.util.JrsValueCursor |
+_nodeCursor
+Traversal context within tree
+ |
+
protected ObjectCodec |
+_objectCodec
+Optional codec, to allow chaining.
+ |
+
protected boolean |
+_startContainer
+Flag needed to handle recursion into contents of child
+ Array/Object nodes.
+ |
+
_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN
_features, _requestPayload, DEFAULT_READ_CAPABILITIES
Constructor and Description | +
---|
JrsTreeTraversingParser(JrsValue n) |
+
JrsTreeTraversingParser(JrsValue n,
+ ObjectCodec codec) |
+
_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _reportUnexpectedNumberChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar
_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, canReadTypeId, canUseSchema, configure, currentLocation, currentName, currentTokenLocation, currentValue, disable, enable, finishToken, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getFormatFeatures, getInputSource, getNonBlockingInputFeeder, getNumberValueExact, getObjectId, getReadCapabilities, getSchema, getShortValue, getText, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, isNaN, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchema
protected ObjectCodec _objectCodec+
protected com.fasterxml.jackson.jr.stree.util.JrsValueCursor _nodeCursor+
protected JsonToken _nextToken+
protected boolean _startContainer+
protected boolean _closed+
close()
) or when end-of-input is reached.public JrsTreeTraversingParser(JrsValue n)+
public JrsTreeTraversingParser(JrsValue n, + ObjectCodec codec)+
public void setCodec(ObjectCodec c)+
setCodec
in class JsonParser
public ObjectCodec getCodec()+
getCodec
in class JsonParser
public Version version()+
version
in interface Versioned
version
in class JsonParser
public void close() + throws IOException+
close
in interface Closeable
close
in interface AutoCloseable
close
in class ParserMinimalBase
IOException
public JsonToken nextToken() + throws IOException+
nextToken
in class ParserMinimalBase
IOException
public JsonParser skipChildren() + throws IOException+
skipChildren
in class ParserMinimalBase
IOException
public boolean isClosed()+
isClosed
in class ParserMinimalBase
public String getCurrentName()+
getCurrentName
in class ParserMinimalBase
public void overrideCurrentName(String name)+
overrideCurrentName
in class ParserMinimalBase
public JsonStreamContext getParsingContext()+
getParsingContext
in class ParserMinimalBase
public JsonLocation getTokenLocation()+
getTokenLocation
in class JsonParser
public JsonLocation getCurrentLocation()+
getCurrentLocation
in class JsonParser
public String getText()+
getText
in class ParserMinimalBase
public char[] getTextCharacters() + throws IOException+
getTextCharacters
in class ParserMinimalBase
IOException
public int getTextLength() + throws IOException+
getTextLength
in class ParserMinimalBase
IOException
public int getTextOffset() + throws IOException+
getTextOffset
in class ParserMinimalBase
IOException
public boolean hasTextCharacters()+
hasTextCharacters
in class ParserMinimalBase
public JsonParser.NumberType getNumberType() + throws IOException+
getNumberType
in class JsonParser
IOException
public BigInteger getBigIntegerValue() + throws IOException+
getBigIntegerValue
in class JsonParser
IOException
public BigDecimal getDecimalValue() + throws IOException+
getDecimalValue
in class JsonParser
IOException
public double getDoubleValue() + throws IOException+
getDoubleValue
in class JsonParser
IOException
public float getFloatValue() + throws IOException+
getFloatValue
in class JsonParser
IOException
public long getLongValue() + throws IOException+
getLongValue
in class JsonParser
IOException
public int getIntValue() + throws IOException+
getIntValue
in class JsonParser
IOException
public Number getNumberValue() + throws IOException+
getNumberValue
in class JsonParser
IOException
public Object getEmbeddedObject()+
getEmbeddedObject
in class JsonParser
public byte[] getBinaryValue(Base64Variant b64variant) + throws IOException+
getBinaryValue
in class ParserMinimalBase
IOException
public int readBinaryValue(Base64Variant b64variant, + OutputStream out) + throws IOException+
readBinaryValue
in class JsonParser
IOException
protected JrsValue currentNode()+
protected JrsNumber currentNumericNode() + throws JsonParseException+
JsonParseException
protected Number currentNumericValue() + throws JsonParseException+
JsonParseException
protected void _handleEOF() + throws JsonParseException+
_handleEOF
in class ParserMinimalBase
JsonParseException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/class-use/JrsTreeTraversingParser.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/class-use/JrsTreeTraversingParser.html new file mode 100644 index 00000000..7cbe9504 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/class-use/JrsTreeTraversingParser.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/package-frame.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/package-frame.html new file mode 100644 index 00000000..6a9d5624 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +Class | +Description | +
---|---|
JrsTreeTraversingParser | +
+ Facade over
+JrsValue that implements JsonParser to allow
+ accessing contents of JSON tree in alternate form (stream of tokens). |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/package-tree.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/package-tree.html new file mode 100644 index 00000000..a92084b6 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/package-tree.html @@ -0,0 +1,146 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/package-use.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/package-use.html new file mode 100644 index 00000000..8c5680a9 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/stree/util/package-use.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/RecursiveType.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/RecursiveType.html new file mode 100644 index 00000000..c2e44bfc --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/RecursiveType.html @@ -0,0 +1,361 @@ + + + + + + +public class RecursiveType +extends ResolvedType+
Modifier and Type | +Field and Description | +
---|---|
protected ResolvedType |
+_referencedType |
+
_bindings, _elemType, _erasedType, _interfaces, _kind, _super, NO_TYPES, T_ARRAY, T_INTERFACE, T_PRIMITIVE, T_RECURSIVE, T_REGULAR
Constructor and Description | +
---|
RecursiveType(Class<?> erased,
+ TypeBindings bindings) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object o) |
+
ResolvedType |
+selfRefType() |
+
_appendClassDesc, appendDesc, elementType, erasedType, findSupertype, getDesc, hashCode, implInterfaces, isArray, parentType, toString, typeBindings, typeParametersFor, typeParams
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTypeName
protected ResolvedType _referencedType+
public RecursiveType(Class<?> erased, + TypeBindings bindings)+
public ResolvedType selfRefType()+
public boolean equals(Object o)+
equals
in class ResolvedType
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/ResolvedType.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/ResolvedType.html new file mode 100644 index 00000000..af019150 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/ResolvedType.html @@ -0,0 +1,774 @@ + + + + + + +public class ResolvedType +extends Object +implements Type, Serializable+
Modifier and Type | +Field and Description | +
---|---|
protected TypeBindings |
+_bindings |
+
protected ResolvedType |
+_elemType |
+
protected Class<?> |
+_erasedType |
+
protected ResolvedType[] |
+_interfaces |
+
protected int |
+_kind |
+
protected ResolvedType |
+_super |
+
static ResolvedType[] |
+NO_TYPES |
+
protected static int |
+T_ARRAY |
+
protected static int |
+T_INTERFACE |
+
protected static int |
+T_PRIMITIVE |
+
protected static int |
+T_RECURSIVE |
+
protected static int |
+T_REGULAR |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+ResolvedType(Class<?> cls) |
+
protected |
+ResolvedType(Class<?> cls,
+ ResolvedType sup,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
protected |
+ResolvedType(Class<?> cls,
+ TypeBindings bindings) |
+
protected |
+ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType elemType) |
+
protected |
+ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
Modifier and Type | +Method and Description | +
---|---|
protected StringBuilder |
+_appendClassDesc(StringBuilder sb) |
+
StringBuilder |
+appendDesc(StringBuilder sb) |
+
ResolvedType |
+elementType() |
+
boolean |
+equals(Object o) |
+
Class<?> |
+erasedType() |
+
ResolvedType |
+findSupertype(Class<?> erasedSupertype)
+Method for finding super type of this type that has specified type
+ erased signature.
+ |
+
String |
+getDesc() |
+
int |
+hashCode() |
+
List<ResolvedType> |
+implInterfaces() |
+
boolean |
+isArray() |
+
ResolvedType |
+parentType() |
+
String |
+toString() |
+
TypeBindings |
+typeBindings() |
+
List<ResolvedType> |
+typeParametersFor(Class<?> erasedSupertype)
+Method that will try to find type parameterization this type
+ has for specified super type
+ |
+
List<ResolvedType> |
+typeParams() |
+
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTypeName
public static final ResolvedType[] NO_TYPES+
protected static final int T_ARRAY+
protected static final int T_INTERFACE+
protected static final int T_PRIMITIVE+
protected static final int T_RECURSIVE+
protected static final int T_REGULAR+
protected final int _kind+
protected final Class<?> _erasedType+
protected final TypeBindings _bindings+
protected final ResolvedType[] _interfaces+
protected final ResolvedType _elemType+
protected final ResolvedType _super+
protected ResolvedType(Class<?> cls)+
protected ResolvedType(Class<?> cls, + TypeBindings bindings)+
protected ResolvedType(Class<?> cls, + TypeBindings bindings, + ResolvedType elemType)+
protected ResolvedType(Class<?> cls, + TypeBindings bindings, + ResolvedType[] ifaces)+
protected ResolvedType(Class<?> cls, + ResolvedType sup, + TypeBindings bindings, + ResolvedType[] ifaces)+
public Class<?> erasedType()+
public ResolvedType elementType()+
public ResolvedType parentType()+
public boolean isArray()+
public final List<ResolvedType> implInterfaces()+
public List<ResolvedType> typeParams()+
public TypeBindings typeBindings()+
public List<ResolvedType> typeParametersFor(Class<?> erasedSupertype)+
public ResolvedType findSupertype(Class<?> erasedSupertype)+
public String getDesc()+
public StringBuilder appendDesc(StringBuilder sb)+
protected StringBuilder _appendClassDesc(StringBuilder sb)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/TypeBindings.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/TypeBindings.html new file mode 100644 index 00000000..b18465c5 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/TypeBindings.html @@ -0,0 +1,458 @@ + + + + + + +public final class TypeBindings +extends Object +implements Serializable+
Modifier and Type | +Method and Description | +
---|---|
static TypeBindings |
+create(Class<?> erasedType,
+ List<ResolvedType> typeList) |
+
static TypeBindings |
+create(Class<?> erasedType,
+ ResolvedType[] types) |
+
static TypeBindings |
+emptyBindings() |
+
boolean |
+equals(Object o) |
+
ResolvedType |
+findBoundType(String name) |
+
String |
+getBoundName(int index) |
+
ResolvedType |
+getBoundType(int index) |
+
List<ResolvedType> |
+getTypeParameters() |
+
int |
+hashCode() |
+
boolean |
+hasUnbound(String name) |
+
boolean |
+isEmpty() |
+
int |
+size() |
+
String |
+toString() |
+
protected ResolvedType[] |
+typeParameterArray() |
+
TypeBindings |
+withUnboundVariable(String name)
+Method for creating an instance that has same bindings as this object,
+ plus an indicator for additional type variable that may be unbound within
+ this context; this is needed to resolve recursive self-references.
+ |
+
public static TypeBindings emptyBindings()+
public static TypeBindings create(Class<?> erasedType, + List<ResolvedType> typeList)+
public static TypeBindings create(Class<?> erasedType, + ResolvedType[] types)+
public TypeBindings withUnboundVariable(String name)+
public ResolvedType findBoundType(String name)+
public boolean isEmpty()+
public int size()+
public String getBoundName(int index)+
public ResolvedType getBoundType(int index)+
public List<ResolvedType> getTypeParameters()+
public boolean hasUnbound(String name)+
protected ResolvedType[] typeParameterArray()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/TypeResolver.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/TypeResolver.html new file mode 100644 index 00000000..d568b503 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/TypeResolver.html @@ -0,0 +1,350 @@ + + + + + + +public class TypeResolver +extends Object +implements Serializable+
+ Note that resolver instances are stateful in that resolvers cache resolved + types for efficiency. Since this is internal state and not directly visible + to callers, access to state is fully synchronized so that access from + multiple threads is safe.
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ResolvedType> |
+_cache |
+
Constructor and Description | +
---|
TypeResolver() |
+
Modifier and Type | +Method and Description | +
---|---|
protected Object |
+readResolve() |
+
ResolvedType |
+resolve(TypeBindings typeBindings,
+ Type jdkType)
+Factory method for resolving specified Java
+Type , given
+ TypeBindings needed to resolve any type variables. |
+
protected final transient Map<ClassKey,ResolvedType> _cache+
protected Object readResolve()+
public ResolvedType resolve(TypeBindings typeBindings, + Type jdkType)+
Type
, given
+ TypeBindings
needed to resolve any type variables.
+
+ Use of this method is discouraged (use if and only if you really know what you
+ are doing!); but if used, type bindings passed should come from ResolvedType
+ instance of declaring class (or interface).
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/RecursiveType.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/RecursiveType.html new file mode 100644 index 00000000..96337610 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/RecursiveType.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/ResolvedType.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/ResolvedType.html new file mode 100644 index 00000000..fc7a6828 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/ResolvedType.html @@ -0,0 +1,415 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.type | ++ |
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+ReaderWriterProvider.findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
Modifier and Type | +Method and Description | +
---|---|
protected ValueReader |
+ValueReaderLocator.collectionReader(Class<?> collectionType,
+ ResolvedType valueType) |
+
protected ValueReader |
+ValueReaderLocator.mapReader(Class<?> mapType,
+ ResolvedType valueType) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+RecursiveType |
+
Modifier and Type | +Field and Description | +
---|---|
protected ResolvedType |
+ResolvedType._elemType |
+
protected ResolvedType[] |
+ResolvedType._interfaces |
+
protected ResolvedType |
+RecursiveType._referencedType |
+
protected ResolvedType |
+ResolvedType._super |
+
static ResolvedType[] |
+ResolvedType.NO_TYPES |
+
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ResolvedType> |
+TypeResolver._cache |
+
Modifier and Type | +Method and Description | +
---|---|
ResolvedType |
+ResolvedType.elementType() |
+
ResolvedType |
+TypeBindings.findBoundType(String name) |
+
ResolvedType |
+ResolvedType.findSupertype(Class<?> erasedSupertype)
+Method for finding super type of this type that has specified type
+ erased signature.
+ |
+
ResolvedType |
+TypeBindings.getBoundType(int index) |
+
ResolvedType |
+ResolvedType.parentType() |
+
ResolvedType |
+TypeResolver.resolve(TypeBindings typeBindings,
+ Type jdkType)
+Factory method for resolving specified Java
+Type , given
+ TypeBindings needed to resolve any type variables. |
+
ResolvedType |
+RecursiveType.selfRefType() |
+
protected ResolvedType[] |
+TypeBindings.typeParameterArray() |
+
Modifier and Type | +Method and Description | +
---|---|
List<ResolvedType> |
+TypeBindings.getTypeParameters() |
+
List<ResolvedType> |
+ResolvedType.implInterfaces() |
+
List<ResolvedType> |
+ResolvedType.typeParametersFor(Class<?> erasedSupertype)
+Method that will try to find type parameterization this type
+ has for specified super type
+ |
+
List<ResolvedType> |
+ResolvedType.typeParams() |
+
Modifier and Type | +Method and Description | +
---|---|
static TypeBindings |
+TypeBindings.create(Class<?> erasedType,
+ ResolvedType[] types) |
+
Modifier and Type | +Method and Description | +
---|---|
static TypeBindings |
+TypeBindings.create(Class<?> erasedType,
+ List<ResolvedType> typeList) |
+
Constructor and Description | +
---|
ResolvedType(Class<?> cls,
+ ResolvedType sup,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
ResolvedType(Class<?> cls,
+ ResolvedType sup,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType elemType) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/TypeBindings.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/TypeBindings.html new file mode 100644 index 00000000..5741d455 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/TypeBindings.html @@ -0,0 +1,249 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.type | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected TypeBindings |
+ResolvedType._bindings |
+
Modifier and Type | +Method and Description | +
---|---|
static TypeBindings |
+TypeBindings.create(Class<?> erasedType,
+ List<ResolvedType> typeList) |
+
static TypeBindings |
+TypeBindings.create(Class<?> erasedType,
+ ResolvedType[] types) |
+
static TypeBindings |
+TypeBindings.emptyBindings() |
+
TypeBindings |
+ResolvedType.typeBindings() |
+
TypeBindings |
+TypeBindings.withUnboundVariable(String name)
+Method for creating an instance that has same bindings as this object,
+ plus an indicator for additional type variable that may be unbound within
+ this context; this is needed to resolve recursive self-references.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ResolvedType |
+TypeResolver.resolve(TypeBindings typeBindings,
+ Type jdkType)
+Factory method for resolving specified Java
+Type , given
+ TypeBindings needed to resolve any type variables. |
+
Constructor and Description | +
---|
RecursiveType(Class<?> erased,
+ TypeBindings bindings) |
+
ResolvedType(Class<?> cls,
+ ResolvedType sup,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType elemType) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/TypeResolver.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/TypeResolver.html new file mode 100644 index 00000000..dce38b15 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/class-use/TypeResolver.html @@ -0,0 +1,168 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected TypeResolver |
+ValueReaderLocator._typeResolver
+For generic containers (Collections, Maps, arrays), we may need
+ this guy.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/package-frame.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/package-frame.html new file mode 100644 index 00000000..96692409 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +Class | +Description | +
---|---|
RecursiveType | ++ |
ResolvedType | ++ |
TypeBindings | +
+ Helper class used for storing binding of local type variables to
+ matching resolved types, in context of a single class.
+ |
+
TypeResolver | +
+ Object that is used for resolving generic type information of a class
+ so that it is accessible using simple API.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/package-tree.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/package-tree.html new file mode 100644 index 00000000..2ddf1ec2 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/package-tree.html @@ -0,0 +1,144 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/package-use.html b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/package-use.html new file mode 100644 index 00000000..e246224e --- /dev/null +++ b/docs/javadoc/jr-all/2.14/com/fasterxml/jackson/jr/type/package-use.html @@ -0,0 +1,208 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.type | ++ |
Class and Description | +
---|
ResolvedType | +
Class and Description | +
---|
ResolvedType | +
TypeResolver
+ Object that is used for resolving generic type information of a class
+ so that it is accessible using simple API.
+ |
+
Class and Description | +
---|
ResolvedType | +
TypeBindings
+ Helper class used for storing binding of local type variables to
+ matching resolved types, in context of a single class.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/constant-values.html b/docs/javadoc/jr-all/2.14/constant-values.html new file mode 100644 index 00000000..7e69dbc9 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/constant-values.html @@ -0,0 +1,502 @@ + + + + + + +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final int |
+MODE_ANY |
+2 |
+
+
+protected static final int |
+MODE_BEAN |
+1 |
+
+
+protected static final int |
+MODE_TREE |
+3 |
+
+
+protected static final int |
+STATE_CLOSED |
+0 |
+
+
+protected static final int |
+STATE_HAS_VALUE |
+3 |
+
+
+protected static final int |
+STATE_MAY_HAVE_VALUE |
+2 |
+
+
+protected static final int |
+STATE_NEED_RESYNC |
+1 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final int |
+SER_BOOLEAN |
+21 |
+
+
+public static final int |
+SER_BOOLEAN_ARRAY |
+7 |
+
+
+public static final int |
+SER_BYTE_ARRAY |
+12 |
+
+
+public static final int |
+SER_CALENDAR |
+25 |
+
+
+public static final int |
+SER_CHAR |
+22 |
+
+
+public static final int |
+SER_CHAR_ARRAY |
+11 |
+
+
+public static final int |
+SER_CHARACTER_SEQUENCE |
+10 |
+
+
+public static final int |
+SER_CLASS |
+26 |
+
+
+public static final int |
+SER_COLLECTION |
+3 |
+
+
+public static final int |
+SER_DATE |
+24 |
+
+
+public static final int |
+SER_ENUM |
+23 |
+
+
+public static final int |
+SER_FILE |
+27 |
+
+
+public static final int |
+SER_INT_ARRAY |
+5 |
+
+
+public static final int |
+SER_ITERABLE |
+31 |
+
+
+public static final int |
+SER_LIST |
+2 |
+
+
+public static final int |
+SER_LONG_ARRAY |
+6 |
+
+
+public static final int |
+SER_MAP |
+1 |
+
+
+public static final int |
+SER_NUMBER_BIG_DECIMAL |
+20 |
+
+
+public static final int |
+SER_NUMBER_BIG_INTEGER |
+19 |
+
+
+public static final int |
+SER_NUMBER_BYTE |
+13 |
+
+
+public static final int |
+SER_NUMBER_DOUBLE |
+18 |
+
+
+public static final int |
+SER_NUMBER_FLOAT |
+17 |
+
+
+public static final int |
+SER_NUMBER_INTEGER |
+15 |
+
+
+public static final int |
+SER_NUMBER_LONG |
+16 |
+
+
+public static final int |
+SER_NUMBER_SHORT |
+14 |
+
+
+public static final int |
+SER_OBJECT_ARRAY |
+4 |
+
+
+public static final int |
+SER_STRING |
+9 |
+
+
+public static final int |
+SER_TREE_NODE |
+8 |
+
+
+public static final int |
+SER_UNKNOWN |
+0 |
+
+
+public static final int |
+SER_URI |
+30 |
+
+
+public static final int |
+SER_URL |
+29 |
+
+
+public static final int |
+SER_UUID |
+28 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final int |
+MAX_CACHED_READERS |
+500 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final int |
+T_ARRAY |
+1 |
+
+
+protected static final int |
+T_INTERFACE |
+2 |
+
+
+protected static final int |
+T_PRIMITIVE |
+3 |
+
+
+protected static final int |
+T_RECURSIVE |
+4 |
+
+
+protected static final int |
+T_REGULAR |
+5 |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/deprecated-list.html b/docs/javadoc/jr-all/2.14/deprecated-list.html new file mode 100644 index 00000000..aaa9947e --- /dev/null +++ b/docs/javadoc/jr-all/2.14/deprecated-list.html @@ -0,0 +1,198 @@ + + + + + + +Method and Description | +
---|
com.fasterxml.jackson.jr.ob.impl.JSONAsObjectCodec.getJsonFactory() | +
com.fasterxml.jackson.jr.ob.impl.POJODefinition.properties() | +
com.fasterxml.jackson.jr.ob.JSON.with(JsonFactory)
+ Since 2.11 should not try changing underlying stream factory but create
+ a new instance if necessary: method will be removed from 3.0 at latest
+ |
+
com.fasterxml.jackson.jr.ob.JSON.with(JSONReader)
+ Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
com.fasterxml.jackson.jr.ob.JSON.with(JSONWriter)
+ Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
com.fasterxml.jackson.jr.ob.JSON.with(ReaderWriterProvider)
+ Since 2.11 should register using
+JacksonJrExtension |
+
com.fasterxml.jackson.jr.ob.JSON.with(TreeCodec)
+ Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
Constructor and Description | +
---|
com.fasterxml.jackson.jr.ob.impl.BeanReader(Class<?>, Map<String, BeanPropertyReader>, Constructor<?>, Constructor<?>, Constructor<?>) | +
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/help-doc.html b/docs/javadoc/jr-all/2.14/help-doc.html new file mode 100644 index 00000000..5801682f --- /dev/null +++ b/docs/javadoc/jr-all/2.14/help-doc.html @@ -0,0 +1,230 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/index-all.html b/docs/javadoc/jr-all/2.14/index-all.html new file mode 100644 index 00000000..75c1aa62 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/index-all.html @@ -0,0 +1,3058 @@ + + + + + + +JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object.JsonGenerator
+ has a properly configure ObjectCodec
+ to use for serializer object.ValueReader
used for "untyped" values; ones that are bound
+ to whatever Object
is the natural mapping to JSON
+ value that parser currently points toValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map
,
+ List
, String
, Number
or Boolean
.ReaderWriterModifier
as the lowest priority
+ modifier (that is, being called after all other modifiers registered).ReaderWriterProvider
as the lowest priority
+ provider (that is, having lower precedence than anything registered so far)ObjectCodec
POJODefinition
) to build general POJO readers
+ (deserializers) and writers (serializers).ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type.Object[]
Collection
Map
s.Collection
s
+ to map JSON Array values in.CollectionBuilder
implementation, which uses ArrayList
+ as the type of List
to build, unless instructed otherwise.Collection
values.JsonParser
to read content from one of
+ following supported sources
+
+ InputStream
+ Reader
+ byte[]
+ char[]
+ String
/CharSequence
+ URL
+ File
+ CollectionBuilder
implementation.MapBuilder
implementation.Map
implementation that will collect
+ entries during building, but only materialize full lookup structure
+ when needed; that is, actual building of hash lookup is deferred.JSON
to be built.Object[]
needs to
+ be returned.JSON
to be built.Map
+ for efficient conversion from id (gotten with Enum.toString()
+ to value.JacksonJrExtension
s to register handlers
+ it needs to.Collection
,
+ Map
): typically value is a scalar, Bean or Enum.JsonGenerator.flush()
on underlying JsonGenerator
.Boolean
value that has been
+ read from input.String
value that has been
+ read from input.IOException
into
+ JSONObjectException
: usually only needed to comply with
+ a signature.
+ iterator.getParser().getCurrentLocation()
+
ValueIterator.next()
but one that may throw checked
+ exceptions from Jackson due to invalid input.ReaderWriterModifier
as the highest priority
+ modifier (that is, being called before any other modifiers registered).ReaderWriterProvider
as the highest priority
+ provider (that is, having higher precedence than anything registered so far)JSON
.JacksonJrExtension
for registering "simple Tree Model"
+ implementation (JacksonJrsTreeCodec
).JrsValue
that implements JsonParser
to allow
+ accessing contents of JSON tree in alternate form (stream of tokens).TreeNode
and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec
).JrsMissing
.JSON.Builder
.JSON
), such as
+ Extension registration.JSON
; used for simple
+ configuration aspects.JSON
that implements ObjectCodec
.JsonGenerator
object.com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package).ValueReader
s), but does not handle
+ any of reading itself (despite name).Map
s
+ to map JSON Object values in.MapBuilder
implementation which builds
+ either HashMap
or LinkedHashMap
instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING
).Map
of type
(usually POJO) values.Map
values.TreeCodec
.ValueReader
to use has been constructed, but
+ before it is to be used for the first time.ValueWriter
to use has been constructed, but
+ before it is to be used for the first time.null
,
+ a ReaderWriterModifier.Pair
is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null
s, null
is returned.null
,
+ a ReaderWriterProvider.Pair
is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null
s, null
is returned.ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter)
for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter
and are
+ normally directly serialized by JSONWriter
itself.PrettyPrinter
JSON
to be built
+ should use on serialization.JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object.ArrayList
.Object[]
+ out of it.ValueReader
s and
+ ValueWriter
s of all kinds (default scalar ones, custom ones,
+ POJO ones).ValueReader
s and
+ ValueWriter
s.List
+ out of it.List
+ out of it, binding values into specified type
.Map
+ out of it.Map
+ out of it, binding values into specified type
.JSON
to let extension register handlers
+ it wants to.JSON
+ this builder builds.Type
, given
+ TypeBindings
needed to resolve any type variables.Collection
s other than List
sIterable
, but not
+ Collection
.List
s.Map
s.TreeNode
TreeCodec
to use, replacing codec that was formerly configured
+ (if any).ValueReader
used for simple scalar types and related,
+ not including POJO-, Map
and Collection
+ types.TreeCodec
, see JSON.with(TreeCodec)
) supports.ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec
, see JSON.with(TreeCodec)
) supports.JSON
when binding sequence of
+ objects.PrettyPrinter
,
+ and returning new instance (or, if there would be no change, this instance).state
), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance.JSON.builder()
and create
+ properly configured instanceJSON.builder()
and create
+ properly configured instanceJSON.builder()
and create
+ properly configured instanceMapBuilder
,
+ and returning new instance (or, if there would be no change, this instance).CollectionBuilder
,
+ and returning new instance (or, if there would be no change, this instance).JacksonJrExtension
JsonParser
should be closed
+ when we are done or not; generally only called when caller did not
+ pass JsonParser.Map
s as neededCollection
implementation class, used when specific
+ implementation is desired.Collection
instance that contained
+ the reference; used if index is relevant and available.ValueReader
s that we have resolvedMap
s as neededMap
implementation class, used when specific
+ implementation is desired.Object[1]
reused to avoid
+ Reflection having to allocate it for every "setter" call.Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/index.html b/docs/javadoc/jr-all/2.14/index.html new file mode 100644 index 00000000..aabaed2f --- /dev/null +++ b/docs/javadoc/jr-all/2.14/index.html @@ -0,0 +1,76 @@ + + + + + + ++ + diff --git a/docs/javadoc/jr-all/2.14/overview-summary.html b/docs/javadoc/jr-all/2.14/overview-summary.html new file mode 100644 index 00000000..13bc8ec1 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/overview-summary.html @@ -0,0 +1,163 @@ + + + + + + +
Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.stree | ++ |
com.fasterxml.jackson.jr.stree.util | ++ |
com.fasterxml.jackson.jr.type | ++ |
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/overview-tree.html b/docs/javadoc/jr-all/2.14/overview-tree.html new file mode 100644 index 00000000..247a36e7 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/overview-tree.html @@ -0,0 +1,299 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/package-list b/docs/javadoc/jr-all/2.14/package-list new file mode 100644 index 00000000..6ba98b3a --- /dev/null +++ b/docs/javadoc/jr-all/2.14/package-list @@ -0,0 +1,7 @@ +com.fasterxml.jackson.jr.ob +com.fasterxml.jackson.jr.ob.api +com.fasterxml.jackson.jr.ob.comp +com.fasterxml.jackson.jr.ob.impl +com.fasterxml.jackson.jr.stree +com.fasterxml.jackson.jr.stree.util +com.fasterxml.jackson.jr.type diff --git a/docs/javadoc/jr-all/2.14/script.js b/docs/javadoc/jr-all/2.14/script.js new file mode 100644 index 00000000..b3463569 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/jr-all/2.14/serialized-form.html b/docs/javadoc/jr-all/2.14/serialized-form.html new file mode 100644 index 00000000..ef40c9b4 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/serialized-form.html @@ -0,0 +1,318 @@ + + + + + + +LinkedList<E> _path+
Object _from+
String _fieldName+
JSONObjectException.Reference._index
defined), or when resolving
+ Map classes without (yet) having an instance to operate on.int _index+
Collection
instance that contained
+ the reference; used if index is relevant and available.
+ If either not applicable, or not available, -1 is used to
+ denote "not known".ResolvedType _referencedType+
int _kind+
Class<T> _erasedType+
TypeBindings _bindings+
ResolvedType[] _interfaces+
ResolvedType _elemType+
ResolvedType _super+
String[] _names+
ResolvedType[] _types+
String[] _unboundVariables+
int _hashCode+
protected Object readResolve()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-all/2.14/stylesheet.css b/docs/javadoc/jr-all/2.14/stylesheet.css new file mode 100644 index 00000000..98055b22 --- /dev/null +++ b/docs/javadoc/jr-all/2.14/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/javadoc/jr-annotation-support/2.14/allclasses-frame.html b/docs/javadoc/jr-annotation-support/2.14/allclasses-frame.html new file mode 100644 index 00000000..8f0acfd6 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/allclasses-frame.html @@ -0,0 +1,25 @@ + + + + + + +protected static class AnnotationBasedIntrospector.APropAccessor<ACC extends AccessibleObject> +extends Object+
Modifier and Type | +Field and Description | +
---|---|
ACC |
+accessor |
+
boolean |
+isExplicit |
+
boolean |
+isNameExplicit |
+
boolean |
+isToIgnore |
+
boolean |
+isVisible |
+
String |
+name |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+APropAccessor(String n,
+ ACC acc,
+ boolean expl,
+ boolean nameExpl,
+ boolean ignore,
+ boolean visible) |
+
Modifier and Type | +Method and Description | +
---|---|
static <T extends AccessibleObject> |
+createExplicit(String name,
+ T accessor) |
+
static <T extends AccessibleObject> |
+createIgnorable(String name,
+ T accessor) |
+
static <T extends AccessibleObject> |
+createImplicit(String name,
+ T accessor,
+ boolean visible) |
+
static <T extends AccessibleObject> |
+createVisible(String name,
+ T accessor) |
+
public final String name+
public final ACC extends AccessibleObject accessor+
public final boolean isExplicit+
public final boolean isNameExplicit+
public final boolean isToIgnore+
public final boolean isVisible+
public static <T extends AccessibleObject> AnnotationBasedIntrospector.APropAccessor<T> createIgnorable(String name, + T accessor)+
public static <T extends AccessibleObject> AnnotationBasedIntrospector.APropAccessor<T> createImplicit(String name, + T accessor, + boolean visible)+
public static <T extends AccessibleObject> AnnotationBasedIntrospector.APropAccessor<T> createVisible(String name, + T accessor)+
public static <T extends AccessibleObject> AnnotationBasedIntrospector.APropAccessor<T> createExplicit(String name, + T accessor)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/AnnotationBasedIntrospector.APropBuilder.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/AnnotationBasedIntrospector.APropBuilder.html new file mode 100644 index 00000000..42e3757d --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/AnnotationBasedIntrospector.APropBuilder.html @@ -0,0 +1,538 @@ + + + + + + +protected static class AnnotationBasedIntrospector.APropBuilder +extends Object +implements Comparable<AnnotationBasedIntrospector.APropBuilder>+
Modifier and Type | +Field and Description | +
---|---|
protected AnnotationBasedIntrospector.APropAccessor<Field> |
+field |
+
protected AnnotationBasedIntrospector.APropAccessor<Method> |
+getter |
+
String |
+name |
+
String |
+origName
+Initial name from accessor ("implicit" or "internal" name); not
+ changed with renames
+ |
+
protected AnnotationBasedIntrospector.APropAccessor<Method> |
+setter |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+APropBuilder(AnnotationBasedIntrospector.APropBuilder base,
+ String n) |
+
|
+APropBuilder(String n) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+anyExplicit() |
+
boolean |
+anyIgnorals() |
+
boolean |
+anyVisible() |
+
com.fasterxml.jackson.jr.ob.impl.POJODefinition.Prop |
+asProperty(boolean collectAliases) |
+
Set<String> |
+collectAliases() |
+
int |
+compareTo(AnnotationBasedIntrospector.APropBuilder o) |
+
boolean |
+couldDeserialize() |
+
String |
+findPrimaryExplicitName(boolean forSer) |
+
static AnnotationBasedIntrospector.APropBuilder |
+merge(AnnotationBasedIntrospector.APropBuilder b1,
+ AnnotationBasedIntrospector.APropBuilder b2) |
+
void |
+removeIgnored() |
+
void |
+removeNonVisible() |
+
AnnotationBasedIntrospector.APropBuilder |
+withName(String newName) |
+
public final String origName+
public final String name+
protected AnnotationBasedIntrospector.APropAccessor<Field> field+
protected AnnotationBasedIntrospector.APropAccessor<Method> getter+
protected AnnotationBasedIntrospector.APropAccessor<Method> setter+
public APropBuilder(String n)+
protected APropBuilder(AnnotationBasedIntrospector.APropBuilder base, + String n)+
public com.fasterxml.jackson.jr.ob.impl.POJODefinition.Prop asProperty(boolean collectAliases)+
public static AnnotationBasedIntrospector.APropBuilder merge(AnnotationBasedIntrospector.APropBuilder b1, + AnnotationBasedIntrospector.APropBuilder b2)+
public AnnotationBasedIntrospector.APropBuilder withName(String newName)+
public void removeIgnored()+
public void removeNonVisible()+
public String findPrimaryExplicitName(boolean forSer)+
public boolean anyVisible()+
public boolean anyExplicit()+
public boolean anyIgnorals()+
public boolean couldDeserialize()+
public int compareTo(AnnotationBasedIntrospector.APropBuilder o)+
compareTo
in interface Comparable<AnnotationBasedIntrospector.APropBuilder>
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/AnnotationBasedIntrospector.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/AnnotationBasedIntrospector.html new file mode 100644 index 00000000..e0dea7c5 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/AnnotationBasedIntrospector.html @@ -0,0 +1,729 @@ + + + + + + +public class AnnotationBasedIntrospector +extends Object+
Modifier and Type | +Class and Description | +
---|---|
protected static class |
+AnnotationBasedIntrospector.APropAccessor<ACC extends AccessibleObject> |
+
protected static class |
+AnnotationBasedIntrospector.APropBuilder |
+
Modifier and Type | +Field and Description | +
---|---|
protected int |
+_features |
+
protected boolean |
+_forSerialization |
+
protected Set<String> |
+_ignorableNames |
+
protected Map<String,AnnotationBasedIntrospector.APropBuilder> |
+_props |
+
protected Class<?> |
+_type |
+
protected com.fasterxml.jackson.annotation.JsonAutoDetect.Value |
+_visibility
+Visibility settings to use for auto-detecting accessors.
+ |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+AnnotationBasedIntrospector(Class<?> type,
+ boolean serialization,
+ com.fasterxml.jackson.annotation.JsonAutoDetect.Value visibility,
+ int features) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_addIgnoral(String name) |
+
protected void |
+_checkGetterMethod(Method m) |
+
protected void |
+_checkSetterMethod(Method m) |
+
protected static String |
+_decap(String name) |
+
protected <ANN extends Annotation> |
+_find(AnnotatedElement elem,
+ Class<ANN> annotationType) |
+
protected AnnotationBasedIntrospector.APropBuilder |
+_findAndRemoveByName(String name)
+Helper method for locating a property (builder) identified by given name
+ (either primary, or secondary), and if found, removing from main properties
+ Map, returning.
+ |
+
protected String |
+_findExplicitName(AnnotatedElement m) |
+
protected void |
+_findFields() |
+
protected void |
+_findFields(Class<?> currType) |
+
protected Collection<String> |
+_findIgnorableNames()
+Lookup method for finding a set of property names
+ for the type this introspector is to introspect that should be ignored
+ (both for serialization and deserialization).
+ |
+
protected void |
+_findMethods() |
+
protected void |
+_findMethods(Class<?> currType) |
+
protected List<String> |
+_findNameSortOrder()
+Lookup method for finding possible annotated order of property names
+ for the type this introspector is to introspect
+ |
+
protected Boolean |
+_hasIgnoreMarker(AnnotatedElement m) |
+
protected boolean |
+_isFieldVisible(Field f) |
+
protected boolean |
+_isGetterVisible(Method m,
+ boolean isIsGetter) |
+
protected boolean |
+_isSetterVisible(Method m) |
+
protected AnnotationBasedIntrospector.APropBuilder |
+_propBuilder(String name) |
+
protected com.fasterxml.jackson.jr.ob.impl.POJODefinition.Prop[] |
+_pruneProperties(boolean sortProperties) |
+
protected com.fasterxml.jackson.jr.ob.impl.POJODefinition |
+introspectDefinition() |
+
static com.fasterxml.jackson.jr.ob.impl.POJODefinition |
+pojoDefinitionForDeserialization(com.fasterxml.jackson.jr.ob.impl.JSONReader r,
+ Class<?> pojoType,
+ com.fasterxml.jackson.annotation.JsonAutoDetect.Value visibility) |
+
static com.fasterxml.jackson.jr.ob.impl.POJODefinition |
+pojoDefinitionForSerialization(com.fasterxml.jackson.jr.ob.impl.JSONWriter w,
+ Class<?> pojoType,
+ com.fasterxml.jackson.annotation.JsonAutoDetect.Value visibility) |
+
protected final Class<?> _type+
protected final boolean _forSerialization+
protected final com.fasterxml.jackson.annotation.JsonAutoDetect.Value _visibility+
protected final Map<String,AnnotationBasedIntrospector.APropBuilder> _props+
protected int _features+
protected AnnotationBasedIntrospector(Class<?> type, + boolean serialization, + com.fasterxml.jackson.annotation.JsonAutoDetect.Value visibility, + int features)+
public static com.fasterxml.jackson.jr.ob.impl.POJODefinition pojoDefinitionForDeserialization(com.fasterxml.jackson.jr.ob.impl.JSONReader r, + Class<?> pojoType, + com.fasterxml.jackson.annotation.JsonAutoDetect.Value visibility)+
public static com.fasterxml.jackson.jr.ob.impl.POJODefinition pojoDefinitionForSerialization(com.fasterxml.jackson.jr.ob.impl.JSONWriter w, + Class<?> pojoType, + com.fasterxml.jackson.annotation.JsonAutoDetect.Value visibility)+
protected com.fasterxml.jackson.jr.ob.impl.POJODefinition introspectDefinition()+
protected com.fasterxml.jackson.jr.ob.impl.POJODefinition.Prop[] _pruneProperties(boolean sortProperties)+
protected void _findFields()+
protected void _findFields(Class<?> currType)+
protected void _findMethods()+
protected void _findMethods(Class<?> currType)+
protected void _checkGetterMethod(Method m)+
protected void _checkSetterMethod(Method m)+
protected boolean _isFieldVisible(Field f)+
protected boolean _isGetterVisible(Method m, + boolean isIsGetter)+
protected boolean _isSetterVisible(Method m)+
protected Boolean _hasIgnoreMarker(AnnotatedElement m)+
protected String _findExplicitName(AnnotatedElement m)+
protected List<String> _findNameSortOrder()+
protected Collection<String> _findIgnorableNames()+
protected <ANN extends Annotation> ANN _find(AnnotatedElement elem, + Class<ANN> annotationType)+
protected AnnotationBasedIntrospector.APropBuilder _propBuilder(String name)+
protected void _addIgnoral(String name)+
protected AnnotationBasedIntrospector.APropBuilder _findAndRemoveByName(String name)+
name
- Name of property to find (either primary [checked first] or secondary)null
if noneCopyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/AnnotationBasedValueRWModifier.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/AnnotationBasedValueRWModifier.html new file mode 100644 index 00000000..f9edf6f5 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/AnnotationBasedValueRWModifier.html @@ -0,0 +1,420 @@ + + + + + + +public class AnnotationBasedValueRWModifier
+extends com.fasterxml.jackson.jr.ob.api.ReaderWriterModifier
+com.fasterxml.jackson.jr.ob.api.ReaderWriterModifier.Pair
Modifier and Type | +Field and Description | +
---|---|
protected com.fasterxml.jackson.annotation.JsonAutoDetect.Value |
+_visibility
+Visibility settings to use for auto-detecting accessors.
+ |
+
protected static int |
+SER_ENUM_ID |
+
Constructor and Description | +
---|
AnnotationBasedValueRWModifier(com.fasterxml.jackson.annotation.JsonAutoDetect.Value visibility) |
+
Modifier and Type | +Method and Description | +
---|---|
com.fasterxml.jackson.jr.ob.api.ValueReader |
+modifyValueReader(com.fasterxml.jackson.jr.ob.impl.JSONReader readContext,
+ Class<?> type,
+ com.fasterxml.jackson.jr.ob.api.ValueReader defaultReader) |
+
com.fasterxml.jackson.jr.ob.api.ValueWriter |
+overrideStandardValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter writeContext,
+ Class<?> type,
+ int stdTypeId) |
+
com.fasterxml.jackson.jr.ob.impl.POJODefinition |
+pojoDefinitionForDeserialization(com.fasterxml.jackson.jr.ob.impl.JSONReader readContext,
+ Class<?> pojoType) |
+
com.fasterxml.jackson.jr.ob.impl.POJODefinition |
+pojoDefinitionForSerialization(com.fasterxml.jackson.jr.ob.impl.JSONWriter writeContext,
+ Class<?> pojoType) |
+
modifyValueWriter
protected static final int SER_ENUM_ID+
protected final com.fasterxml.jackson.annotation.JsonAutoDetect.Value _visibility+
public AnnotationBasedValueRWModifier(com.fasterxml.jackson.annotation.JsonAutoDetect.Value visibility)+
public com.fasterxml.jackson.jr.ob.impl.POJODefinition pojoDefinitionForDeserialization(com.fasterxml.jackson.jr.ob.impl.JSONReader readContext, + Class<?> pojoType)+
pojoDefinitionForDeserialization
in class com.fasterxml.jackson.jr.ob.api.ReaderWriterModifier
public com.fasterxml.jackson.jr.ob.impl.POJODefinition pojoDefinitionForSerialization(com.fasterxml.jackson.jr.ob.impl.JSONWriter writeContext, + Class<?> pojoType)+
pojoDefinitionForSerialization
in class com.fasterxml.jackson.jr.ob.api.ReaderWriterModifier
public com.fasterxml.jackson.jr.ob.api.ValueWriter overrideStandardValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter writeContext, + Class<?> type, + int stdTypeId)+
overrideStandardValueWriter
in class com.fasterxml.jackson.jr.ob.api.ReaderWriterModifier
public com.fasterxml.jackson.jr.ob.api.ValueReader modifyValueReader(com.fasterxml.jackson.jr.ob.impl.JSONReader readContext, + Class<?> type, + com.fasterxml.jackson.jr.ob.api.ValueReader defaultReader)+
modifyValueReader
in class com.fasterxml.jackson.jr.ob.api.ReaderWriterModifier
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/JacksonAnnotationExtension.Builder.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/JacksonAnnotationExtension.Builder.html new file mode 100644 index 00000000..909c28bc --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/JacksonAnnotationExtension.Builder.html @@ -0,0 +1,336 @@ + + + + + + +public static class JacksonAnnotationExtension.Builder +extends Object+
JacksonAnnotationExtension
.Modifier and Type | +Field and Description | +
---|---|
com.fasterxml.jackson.annotation.JsonAutoDetect.Value |
+visibility |
+
Modifier and Type | +Method and Description | +
---|---|
JacksonAnnotationExtension |
+build() |
+
JacksonAnnotationExtension.Builder |
+withVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Value allVisibility)
+Method for setting visibility settings to specified parameter and returning
+ resulting builder instance.
+ |
+
public com.fasterxml.jackson.annotation.JsonAutoDetect.Value visibility+
public JacksonAnnotationExtension build()+
public JacksonAnnotationExtension.Builder withVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Value allVisibility)+
allVisibility
- Visibility settings to use, or null
to indicate
+ "use default visibility" (see JacksonAnnotationExtension.DEFAULT_VISIBILITY
).Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/JacksonAnnotationExtension.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/JacksonAnnotationExtension.html new file mode 100644 index 00000000..f0ca9f34 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/JacksonAnnotationExtension.html @@ -0,0 +1,455 @@ + + + + + + +public class JacksonAnnotationExtension
+extends com.fasterxml.jackson.jr.ob.JacksonJrExtension
++ Set of annotations supported includes: +
JsonIgnoreProperties
: supported on classes,
+ but not on accessors
+ JsonProperty
supported on accessors
+ (fields, getters, setters) to specify explicit inclusion, name override. Other properties
+ (index
, required
) not supported.
+ JsonPropertyOrder
: supported on classes,
+ but not on accessors
+ JsonAutoDetect
: supported on classes
+
+ Usage is done by registering this extension with JSON
, usually like:
+
+ JSON json = JSON.std.register(JacksonAnnotationExtension.builder() + // possible configuration calls + .build()); +
Modifier and Type | +Class and Description | +
---|---|
static class |
+JacksonAnnotationExtension.Builder
+Builder class for configuring resulting
+JacksonAnnotationExtension . |
+
Modifier and Type | +Field and Description | +
---|---|
protected AnnotationBasedValueRWModifier |
+_modifier |
+
static com.fasterxml.jackson.annotation.JsonAutoDetect.Value |
+DEFAULT_VISIBILITY
+Default visibility settings for Jackson-jr: in addition to being defaults commonly
+ used as the base for creating alternative settings.
+ |
+
static JacksonAnnotationExtension |
+std
+Extension instance configured with default settings.
+ |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+JacksonAnnotationExtension() |
+
protected |
+JacksonAnnotationExtension(JacksonAnnotationExtension.Builder b) |
+
Modifier and Type | +Method and Description | +
---|---|
static JacksonAnnotationExtension.Builder |
+builder() |
+
protected void |
+register(com.fasterxml.jackson.jr.ob.api.ExtensionContext ctxt) |
+
public static final com.fasterxml.jackson.annotation.JsonAutoDetect.Value DEFAULT_VISIBILITY+
+ JacksonAnnotationExtension ext = JacksonAnnotationExtension.builder() + .withVisibility(JacksonAnnotationExtension.DEFAULT_VISIBILITY + .withFieldVisibility(Visibility.ANY) + .withSetterVisibility(Visibility.NONE) + ).build(); ++
+ Default visibility settings are Visibility.PUBLIC_ONLY
for all other accessors
+ except for setters, for which Visibility.ANY
is used.
+ In addition, following core settings are also considered:
+
JSON.Feature.USE_FIELDS
enabled
+ otherwise Visibility.NONE
is used
+ JSON.Feature.USE_IS_GETTERS
enabled
+ otherwise Visibility.NONE
is used
+ protected final AnnotationBasedValueRWModifier _modifier+
public static final JacksonAnnotationExtension std+
protected JacksonAnnotationExtension()+
protected JacksonAnnotationExtension(JacksonAnnotationExtension.Builder b)+
public static JacksonAnnotationExtension.Builder builder()+
protected void register(com.fasterxml.jackson.jr.ob.api.ExtensionContext ctxt)+
register
in class com.fasterxml.jackson.jr.ob.JacksonJrExtension
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/PackageVersion.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/PackageVersion.html new file mode 100644 index 00000000..5574b833 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/PackageVersion.html @@ -0,0 +1,318 @@ + + + + + + +public final class PackageVersion +extends Object +implements com.fasterxml.jackson.core.Versioned+
Modifier and Type | +Field and Description | +
---|---|
static com.fasterxml.jackson.core.Version |
+VERSION |
+
Constructor and Description | +
---|
PackageVersion() |
+
Modifier and Type | +Method and Description | +
---|---|
com.fasterxml.jackson.core.Version |
+version() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedIntrospector.APropAccessor.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedIntrospector.APropAccessor.html new file mode 100644 index 00000000..918024cf --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedIntrospector.APropAccessor.html @@ -0,0 +1,186 @@ + + + + + + +Modifier and Type | +Field and Description | +
---|---|
protected AnnotationBasedIntrospector.APropAccessor<Field> |
+AnnotationBasedIntrospector.APropBuilder.field |
+
protected AnnotationBasedIntrospector.APropAccessor<Method> |
+AnnotationBasedIntrospector.APropBuilder.getter |
+
protected AnnotationBasedIntrospector.APropAccessor<Method> |
+AnnotationBasedIntrospector.APropBuilder.setter |
+
Modifier and Type | +Method and Description | +
---|---|
static <T extends AccessibleObject> |
+AnnotationBasedIntrospector.APropAccessor.createExplicit(String name,
+ T accessor) |
+
static <T extends AccessibleObject> |
+AnnotationBasedIntrospector.APropAccessor.createIgnorable(String name,
+ T accessor) |
+
static <T extends AccessibleObject> |
+AnnotationBasedIntrospector.APropAccessor.createImplicit(String name,
+ T accessor,
+ boolean visible) |
+
static <T extends AccessibleObject> |
+AnnotationBasedIntrospector.APropAccessor.createVisible(String name,
+ T accessor) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedIntrospector.APropBuilder.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedIntrospector.APropBuilder.html new file mode 100644 index 00000000..2dc5f6e2 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedIntrospector.APropBuilder.html @@ -0,0 +1,208 @@ + + + + + + +Modifier and Type | +Field and Description | +
---|---|
protected Map<String,AnnotationBasedIntrospector.APropBuilder> |
+AnnotationBasedIntrospector._props |
+
Modifier and Type | +Method and Description | +
---|---|
protected AnnotationBasedIntrospector.APropBuilder |
+AnnotationBasedIntrospector._findAndRemoveByName(String name)
+Helper method for locating a property (builder) identified by given name
+ (either primary, or secondary), and if found, removing from main properties
+ Map, returning.
+ |
+
protected AnnotationBasedIntrospector.APropBuilder |
+AnnotationBasedIntrospector._propBuilder(String name) |
+
static AnnotationBasedIntrospector.APropBuilder |
+AnnotationBasedIntrospector.APropBuilder.merge(AnnotationBasedIntrospector.APropBuilder b1,
+ AnnotationBasedIntrospector.APropBuilder b2) |
+
AnnotationBasedIntrospector.APropBuilder |
+AnnotationBasedIntrospector.APropBuilder.withName(String newName) |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+AnnotationBasedIntrospector.APropBuilder.compareTo(AnnotationBasedIntrospector.APropBuilder o) |
+
static AnnotationBasedIntrospector.APropBuilder |
+AnnotationBasedIntrospector.APropBuilder.merge(AnnotationBasedIntrospector.APropBuilder b1,
+ AnnotationBasedIntrospector.APropBuilder b2) |
+
Constructor and Description | +
---|
APropBuilder(AnnotationBasedIntrospector.APropBuilder base,
+ String n) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedIntrospector.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedIntrospector.html new file mode 100644 index 00000000..7e9f42dd --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedIntrospector.html @@ -0,0 +1,123 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedValueRWModifier.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedValueRWModifier.html new file mode 100644 index 00000000..1e4bc231 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/AnnotationBasedValueRWModifier.html @@ -0,0 +1,148 @@ + + + + + + +Modifier and Type | +Field and Description | +
---|---|
protected AnnotationBasedValueRWModifier |
+JacksonAnnotationExtension._modifier |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/JacksonAnnotationExtension.Builder.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/JacksonAnnotationExtension.Builder.html new file mode 100644 index 00000000..157e5261 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/JacksonAnnotationExtension.Builder.html @@ -0,0 +1,166 @@ + + + + + + +Modifier and Type | +Method and Description | +
---|---|
static JacksonAnnotationExtension.Builder |
+JacksonAnnotationExtension.builder() |
+
JacksonAnnotationExtension.Builder |
+JacksonAnnotationExtension.Builder.withVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Value allVisibility)
+Method for setting visibility settings to specified parameter and returning
+ resulting builder instance.
+ |
+
Constructor and Description | +
---|
JacksonAnnotationExtension(JacksonAnnotationExtension.Builder b) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/JacksonAnnotationExtension.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/JacksonAnnotationExtension.html new file mode 100644 index 00000000..3f67fa39 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/JacksonAnnotationExtension.html @@ -0,0 +1,163 @@ + + + + + + +Modifier and Type | +Field and Description | +
---|---|
static JacksonAnnotationExtension |
+JacksonAnnotationExtension.std
+Extension instance configured with default settings.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
JacksonAnnotationExtension |
+JacksonAnnotationExtension.Builder.build() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/PackageVersion.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/PackageVersion.html new file mode 100644 index 00000000..a49c759a --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/class-use/PackageVersion.html @@ -0,0 +1,123 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/package-frame.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/package-frame.html new file mode 100644 index 00000000..515b32f4 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/package-frame.html @@ -0,0 +1,26 @@ + + + + + + +Class | +Description | +
---|---|
AnnotationBasedIntrospector | ++ |
AnnotationBasedIntrospector.APropAccessor<ACC extends AccessibleObject> | ++ |
AnnotationBasedIntrospector.APropBuilder | ++ |
AnnotationBasedValueRWModifier | ++ |
JacksonAnnotationExtension | +
+ Helper object that provides limited support for Jackson core annotations.
+ |
+
JacksonAnnotationExtension.Builder | +
+ Builder class for configuring resulting
+JacksonAnnotationExtension . |
+
PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/package-tree.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/package-tree.html new file mode 100644 index 00000000..c9a11d16 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/package-tree.html @@ -0,0 +1,146 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/package-use.html b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/package-use.html new file mode 100644 index 00000000..46723151 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/com/fasterxml/jackson/jr/annotationsupport/package-use.html @@ -0,0 +1,157 @@ + + + + + + +Class and Description | +
---|
AnnotationBasedIntrospector.APropAccessor | +
AnnotationBasedIntrospector.APropBuilder | +
AnnotationBasedValueRWModifier | +
JacksonAnnotationExtension
+ Helper object that provides limited support for Jackson core annotations.
+ |
+
JacksonAnnotationExtension.Builder
+ Builder class for configuring resulting
+JacksonAnnotationExtension . |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/constant-values.html b/docs/javadoc/jr-annotation-support/2.14/constant-values.html new file mode 100644 index 00000000..c775f7fe --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/constant-values.html @@ -0,0 +1,152 @@ + + + + + + +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final int |
+SER_ENUM_ID |
+23 |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/deprecated-list.html b/docs/javadoc/jr-annotation-support/2.14/deprecated-list.html new file mode 100644 index 00000000..2e8a1fc9 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/deprecated-list.html @@ -0,0 +1,123 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/help-doc.html b/docs/javadoc/jr-annotation-support/2.14/help-doc.html new file mode 100644 index 00000000..5fcae1fa --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/help-doc.html @@ -0,0 +1,224 @@ + + + + + + +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/index-all.html b/docs/javadoc/jr-annotation-support/2.14/index-all.html new file mode 100644 index 00000000..e6fafcbf --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/index-all.html @@ -0,0 +1,432 @@ + + + + + + +JacksonAnnotationExtension
.Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/index.html b/docs/javadoc/jr-annotation-support/2.14/index.html new file mode 100644 index 00000000..7eb1a0f0 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/index.html @@ -0,0 +1,73 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
+Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-annotation-support/2.14/package-list b/docs/javadoc/jr-annotation-support/2.14/package-list new file mode 100644 index 00000000..b8230749 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/package-list @@ -0,0 +1 @@ +com.fasterxml.jackson.jr.annotationsupport diff --git a/docs/javadoc/jr-annotation-support/2.14/script.js b/docs/javadoc/jr-annotation-support/2.14/script.js new file mode 100644 index 00000000..b3463569 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/jr-annotation-support/2.14/stylesheet.css b/docs/javadoc/jr-annotation-support/2.14/stylesheet.css new file mode 100644 index 00000000..98055b22 --- /dev/null +++ b/docs/javadoc/jr-annotation-support/2.14/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/javadoc/jr-objects/2.14/allclasses-frame.html b/docs/javadoc/jr-objects/2.14/allclasses-frame.html new file mode 100644 index 00000000..0dd6de15 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/allclasses-frame.html @@ -0,0 +1,70 @@ + + + + + + +Modifier and Type | +Field and Description | +
---|---|
protected CollectionBuilder |
+_collectionBuilder |
+
protected com.fasterxml.jackson.jr.ob.JSON.ExtContextImpl |
+_extContext |
+
protected int |
+_features |
+
protected MapBuilder |
+_mapBuilder |
+
protected PrettyPrinter |
+_prettyPrinter |
+
protected JSONReader |
+_reader |
+
protected JsonFactory |
+_streamFactory |
+
protected TreeCodec |
+_treeCodec |
+
protected JSONWriter |
+_writer |
+
Constructor and Description | +
---|
Builder(JsonFactory f) |
+
protected int _features+
protected PrettyPrinter _prettyPrinter+
protected final JsonFactory _streamFactory+
protected TreeCodec _treeCodec+
protected JSONReader _reader+
protected JSONWriter _writer+
protected MapBuilder _mapBuilder+
protected CollectionBuilder _collectionBuilder+
protected com.fasterxml.jackson.jr.ob.JSON.ExtContextImpl _extContext+
public Builder(JsonFactory f)+
public JSON build()+
public JSON.Builder register(JacksonJrExtension extension)+
JSON
+ this builder builds.extension
- Extension to registerpublic JSON.Builder set(JSON.Feature feature, + boolean state)+
public JSON.Builder enable(JSON.Feature... features)+
JSON
to be built.features
- Features to enablepublic JSON.Builder disable(JSON.Feature... features)+
JSON
to be built.features
- Features to disablepublic JSON.Builder prettyPrinter(PrettyPrinter pp)+
PrettyPrinter
JSON
to be built
+ should use on serialization.pp
- Pretty printer to usepublic JSON.Builder treeCodec(TreeCodec tc)+
TreeCodec
JSON
to be built
+ should use for reading and writing TreeNode
values.
+
+ Note: by default no TreeCodec
is configured.
tc
- TreeCodec to usepublic JSON.Builder jsonReader(JSONReader r)+
public JSON.Builder jsonWriter(JSONWriter w)+
public JSON.Builder collectionBuilder(CollectionBuilder b)+
public JSON.Builder mapBuilder(MapBuilder b)+
public boolean isEnabled(JSON.Feature f)+
public int featureMask()+
public PrettyPrinter prettyPrinter()+
public JsonFactory streamFactory()+
public TreeCodec treeCodec()+
public ReaderWriterModifier readerWriterModifier()+
public ReaderWriterProvider readerWriterProvider()+
public JSONReader jsonReader()+
public JSONWriter jsonWriter()+
public MapBuilder mapBuilder()+
public CollectionBuilder collectionBuilder()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSON.Feature.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSON.Feature.html new file mode 100644 index 00000000..402f737b --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSON.Feature.html @@ -0,0 +1,931 @@ + + + + + + +public static enum JSON.Feature +extends Enum<JSON.Feature>+
JSON
; used for simple
+ configuration aspects.Enum Constant and Description | +
---|
ACCEPT_CASE_INSENSITIVE_ENUMS
+Feature that determines if Enum deserialization should be case sensitive or not.
+ |
+
ACCEPT_CASE_INSENSITIVE_PROPERTIES
+Feature that will allow for more forgiving deserialization of incoming JSON.
+ |
+
FAIL_ON_DUPLICATE_MAP_KEYS
+When encountering duplicate keys for JSON Objects, should an exception
+ be thrown or not? If exception is not thrown, the last instance
+ from input document will be used.
+ |
+
FAIL_ON_UNKNOWN_BEAN_PROPERTY
+When encountering a JSON Object property name for which there is no
+ matching Bean property, should an exception be thrown (true),
+ or should JSON Property value be quietly skipped (false)?
+ |
+
FAIL_ON_UNKNOWN_TYPE_WRITE
+Feature that determines what happens when we encounter a value of
+ unrecognized type for which we do not have standard handler: if enabled,
+ will throw a
+JSONObjectException , if disabled simply
+ calls Object.toString() and uses that JSON String as serialization. |
+
FLUSH_AFTER_WRITE_VALUE
+Feature that determines whether
+JsonGenerator.flush() is
+ called after write() method that takes JsonGenerator
+ as an argument completes (that is, does NOT affect methods
+ that use other destinations). |
+
FORCE_REFLECTION_ACCESS
+Feature that determines whether access to
+Method s and
+ Constructor s that are used with dynamically
+ introspected Beans may be forced using
+ AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean) or not. |
+
HANDLE_JAVA_BEANS
+Feature that determines whether Bean types (Java objects with
+ getters and setters that expose state to serialize) will be
+ recognized and handled or not.
+ |
+
INCLUDE_STATIC_FIELDS
+Feature that enables serialization and deserialization of non-final static fields.
+ |
+
PRESERVE_FIELD_ORDERING
+This feature can be used to indicate that the reader should preserve
+ order of the properties same as what input document has.
+ |
+
PRETTY_PRINT_OUTPUT
+Feature that can be enabled to use "pretty-printing", basic indentation
+ to make resulting JSON easier to read by humans by adding white space
+ such as line feeds and indentation.
+ |
+
READ_JSON_ARRAYS_AS_JAVA_ARRAYS
+When reading JSON Arrays, should matching Java value be of type
+
+Object[] (true) or List (false)? |
+
READ_ONLY
+This feature can be enabled to reduce memory usage for use cases where
+ resulting container objects (
+Map s and Collection s)
+ do not need to mutable (that is, their contents can not changed). |
+
USE_BIG_DECIMAL_FOR_FLOATS
+When reading JSON Numbers, should
+BigDecimal be used
+ for floating-point numbers; or should Double be used. |
+
USE_DEFERRED_MAPS
+This feature determines whether
+Map instances constructed use
+ deferred materialization (as implemented by DeferredMap ), in case
+ user has not specified custom Map implementation. |
+
USE_FIELDS
+Feature that enables use of public fields instead of setters and getters,
+ in cases where no setter/getter is available.
+ |
+
USE_IS_GETTERS
+Whether "is-getters" (like
+public boolean isValuable() ) are detected
+ for use or not. |
+
WRITE_DATES_AS_TIMESTAMP
+Feature that determines whether Date (and date/time) values
+ (and Date-based things like
+Calendar s) are to be
+ serialized as numeric timestamps (true),
+ or using a textual representation (false) |
+
WRITE_ENUMS_USING_INDEX
+Feature that determines whether Enum values are written using
+ numeric index (true), or String representation from calling
+
+Enum.toString() (false). |
+
WRITE_NULL_PROPERTIES
+Feature that defines what to do with
+Map entries and Java Bean
+ properties that have null as value: if enabled, they will be written out normally;
+ if disabled, such entries and properties will be ignored. |
+
WRITE_READONLY_BEAN_PROPERTIES
+Feature that determines whether "read-only" properties of Beans
+ (properties that only have a getter but no matching setter) are
+ to be included in Bean serialization or not; if disabled,
+ only properties have have both setter and getter are serialized.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+affectsCaching() |
+
static int |
+cacheBreakers()
+Method for calculating bitset of features that force flushing of
+ POJO handler caches.
+ |
+
static int |
+defaults() |
+
boolean |
+enabledByDefault() |
+
boolean |
+isDisabled(int flags) |
+
boolean |
+isEnabled(int flags) |
+
int |
+mask() |
+
static JSON.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static JSON.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final JSON.Feature USE_BIG_DECIMAL_FOR_FLOATS+
BigDecimal
be used
+ for floating-point numbers; or should Double
be used.
+ Trade-off is between accuracy -- only BigDecimal
is
+ guaranteed to store the EXACT decimal value parsed -- and performance
+ (Double
is typically faster to parse).
+
+ Default setting is false
, meaning that Double
+ is used.
public static final JSON.Feature READ_JSON_ARRAYS_AS_JAVA_ARRAYS+ +
public static final JSON.Feature READ_ONLY+
Map
s and Collection
s)
+ do not need to mutable (that is, their contents can not changed).
+ If set, reader is allowed to construct immutable (read-only)
+ container objects; and specifically empty Map
s and
+ Collection
s can be used to reduce number of
+ objects allocated. In addition, sizes of non-empty containers can
+ be trimmed to exact size.
+
+ Default setting is false
, meaning that reader will have to
+ construct mutable container instance when reading.
public static final JSON.Feature PRESERVE_FIELD_ORDERING+
MapBuilder
+ to support this feature; custom implementations may ignore the setting.
+
+ Default setting is true
, meaning that reader is expected to try to
+ preserve ordering of fields read.
public static final JSON.Feature USE_DEFERRED_MAPS+
Map
instances constructed use
+ deferred materialization (as implemented by DeferredMap
), in case
+ user has not specified custom Map
implementation.
+ Enabling feature typically reduces initial value read time and moves
+ overhead to actual access of contents (materialization occurs when first
+ key or value access happens); this makes sense when only a subset of
+ data is accessed. Conversely, when traversing full object hierarchy, it
+ makes sense to disable this feature.
+
+ Default setting is true
, meaning that reader is expected to try to
public static final JSON.Feature FAIL_ON_DUPLICATE_MAP_KEYS+
+ Default setting is true
, meaning that a
+ JSONObjectException
will be thrown if duplicates are encountered.
public static final JSON.Feature FAIL_ON_UNKNOWN_BEAN_PROPERTY+
+ Default setting is false
, meaning that unmappable
+ JSON Object properties will simply be ignored.
public static final JSON.Feature WRITE_NULL_PROPERTIES+
Map
entries and Java Bean
+ properties that have null as value: if enabled, they will be written out normally;
+ if disabled, such entries and properties will be ignored.
+
+ Default setting is false
so that any null-valued properties
+ are ignored during serialization.
public static final JSON.Feature WRITE_ENUMS_USING_INDEX+
Enum.toString()
(false).
++ Feature is disabled by default, + so that Enums are serialized as JSON Strings.
public static final JSON.Feature WRITE_DATES_AS_TIMESTAMP+
Calendar
s) are to be
+ serialized as numeric timestamps (true),
+ or using a textual representation (false)
++ Feature is disabled by default, so that date/time values are + serialized as text, NOT timestamp.
public static final JSON.Feature PRETTY_PRINT_OUTPUT+
+ Default setting is false
so that no pretty-printing is done
+ (unless explicitly constructed with a pretty printer object)
public static final JSON.Feature FLUSH_AFTER_WRITE_VALUE+
JsonGenerator.flush()
is
+ called after write()
method that takes JsonGenerator
+ as an argument completes (that is, does NOT affect methods
+ that use other destinations).
+ This usually makes sense; but there are cases where flushing
+ should not be forced: for example when underlying stream is
+ compressing and flush() causes compression state to be flushed
+ (which occurs with some compression codecs).
++ Feature is enabled by default.
public static final JSON.Feature FAIL_ON_UNKNOWN_TYPE_WRITE+
JSONObjectException
, if disabled simply
+ calls Object.toString()
and uses that JSON String as serialization.
+
+ NOTE: if HANDLE_JAVA_BEANS
is enabled, this setting typically
+ has no effect, since otherwise unknown types are recognized as
+ Bean types.
+
+
+ Feature is disabled by default + so that no exceptions are thrown.
public static final JSON.Feature HANDLE_JAVA_BEANS+
Object.toString()
method), and can not be deserialized.
++ Feature is enabled by default, but can be disabled do avoid use + of Bean reflection for cases where it is not desired.
public static final JSON.Feature WRITE_READONLY_BEAN_PROPERTIES+
HANDLE_JAVA_BEANS
+ is also enabled.
++ Feature is enabled by default, + so that all Bean properties are serialized.
public static final JSON.Feature FORCE_REFLECTION_ACCESS+
Method
s and
+ Constructor
s that are used with dynamically
+ introspected Beans may be forced using
+ AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)
or not.
++ Feature is enabled by default, so that access may be forced.
public static final JSON.Feature USE_IS_GETTERS+
public boolean isValuable()
) are detected
+ for use or not. Note that in addition to naming, and lack of arguments, return
+ value also has to be boolean
or java.lang.Boolean
.public static final JSON.Feature USE_FIELDS+
+ Feature is enabled by default since 2.10 (but was disabled for + 2.8 and 2.9), so public fields are discovered by default.
public static final JSON.Feature INCLUDE_STATIC_FIELDS+
+ Feature did not exist, but was implicitly enabled by default. disabled for + 2.13).
public static final JSON.Feature ACCEPT_CASE_INSENSITIVE_PROPERTIES+
+ Note that there is additional performance overhead since incoming property names need to be lower-cased + before comparison, for cases where there are upper-case letters. Overhead for names that are already + lower-case should be negligible however. +
+ Feature is disabled by default.
public static final JSON.Feature ACCEPT_CASE_INSENSITIVE_ENUMS+
+ Feature is disabled by default.
public static JSON.Feature[] values()+
+for (JSON.Feature c : JSON.Feature.values()) + System.out.println(c); +
public static JSON.Feature valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static int defaults()+
public static int cacheBreakers()+
public final boolean enabledByDefault()+
public final boolean affectsCaching()+
public final int mask()+
public final boolean isDisabled(int flags)+
public final boolean isEnabled(int flags)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSON.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSON.html new file mode 100644 index 00000000..125b5008 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSON.html @@ -0,0 +1,1900 @@ + + + + + + +public class JSON +extends Object +implements Versioned+
+ Note that instances are fully immutable, and thereby thread-safe. +
+ Note on source types: source to read is declared as Object
+ but covers following types:
+
InputStream
Reader
byte[]
char[]
String
/CharSequence
URL
File
Modifier and Type | +Class and Description | +
---|---|
static class |
+JSON.Builder
+Builder class that needs to be used for certain kind of "static" configuration
+ (settings that can not vary on per-call basis for
+JSON ), such as
+ Extension registration. |
+
static class |
+JSON.Feature
+Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
Modifier and Type | +Field and Description | +
---|---|
protected int |
+_features |
+
protected JsonFactory |
+_jsonFactory
+Underlying JSON factory used for creating Streaming parsers and
+ generators.
+ |
+
protected PrettyPrinter |
+_prettyPrinter |
+
protected JSONReader |
+_reader
+Blueprint instance of the reader to use for reading JSON as simple
+ Objects.
+ |
+
protected TreeCodec |
+_treeCodec
+
+ |
+
protected ValueReaderLocator |
+_valueReaderLocator |
+
protected ValueWriterLocator |
+_valueWriterLocator |
+
protected JSONWriter |
+_writer
+Blueprint instance of the writer to use for writing JSON given
+ simple Objects.
+ |
+
static int |
+CACHE_FLAGS |
+
static JSON |
+std
+Singleton instance with standard, default configuration.
+ |
+
Modifier | +Constructor and Description | +
---|---|
|
+JSON() |
+
|
+JSON(JSON.Builder b)
+Constructor used when creating instance using
+JSON.Builder . |
+
|
+JSON(JsonFactory jsonF) |
+
protected |
+JSON(JSON base,
+ int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader r,
+ JSONWriter w,
+ PrettyPrinter pp) |
+
protected |
+JSON(JSON base,
+ ValueReaderLocator rloc,
+ ValueWriterLocator wloc) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_close(Closeable cl) |
+
protected <T> T |
+_closeWithError(Closeable cl,
+ Exception e) |
+
protected JsonGenerator |
+_config(JsonGenerator g) |
+
protected JsonParser |
+_config(JsonParser p) |
+
protected JSONReader |
+_defaultReader() |
+
protected JSONWriter |
+_defaultWriter() |
+
protected JsonParser |
+_initForReading(JsonParser p) |
+
protected void |
+_noTreeCodec(String msg) |
+
protected JsonParser |
+_parser(Object source) |
+
protected JSONReader |
+_readerForOperation(JsonParser p) |
+
protected <T> T |
+_throw(Exception e) |
+
protected JSON |
+_with(int features)
+Internal mutant factory method used for constructing
+ |
+
protected JSON |
+_with(int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader reader,
+ JSONWriter writer,
+ PrettyPrinter pp) |
+
protected void |
+_writeAndClose(Object value,
+ JsonGenerator g) |
+
protected JSONWriter |
+_writerForOperation(JsonGenerator gen) |
+
Object |
+anyFrom(Object source)
+
+ |
+
ValueIterator<Object> |
+anySequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map ,
+ List , String , Number or Boolean . |
+
Object[] |
+arrayFrom(Object source) |
+
<T> T[] |
+arrayOfFrom(Class<T> type,
+ Object source) |
+
byte[] |
+asBytes(Object value) |
+
ObjectCodec |
+asCodec()
+Convenience method for constructing an adapter that uses this
+ instance as a
+ObjectCodec |
+
String |
+asString(Object value) |
+
<T> T |
+beanFrom(Class<T> type,
+ Object source) |
+
<T> ValueIterator<T> |
+beanSequenceFrom(Class<T> type,
+ Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type. |
+
static JSON.Builder |
+builder() |
+
static JSON.Builder |
+builder(JsonFactory streamFactory) |
+
JSONComposer<byte[]> |
+composeBytes() |
+
<C extends Collection<Object>> |
+composeCollection(C collection) |
+
CollectionComposer<?,List<Object>> |
+composeList() |
+
MapComposer<?> |
+composeMap() |
+
MapComposer<?> |
+composeMap(Map<String,Object> map) |
+
JSONComposer<String> |
+composeString() |
+
JSONComposer<OutputStream> |
+composeTo(File f) |
+
JSONComposer<OutputStream> |
+composeTo(OutputStream out) |
+
JSONComposer<OutputStream> |
+composeTo(Writer w) |
+
JSONComposer<OutputStream> |
+composeUsing(JsonGenerator gen) |
+
<T extends TreeNode> |
+createArrayNode()
+Convenience method, equivalent to:
+ |
+
<T extends TreeNode> |
+createObjectNode()
+Convenience method, equivalent to:
+ |
+
JsonParser |
+createParser(Object source)
+Factory method for opening a
+JsonParser to read content from one of
+ following supported sources
+
+ InputStream
+ Reader
+ byte[]
+ char[]
+ String /CharSequence
+ URL
+ File
+ |
+
JsonFactory |
+getStreamingFactory() |
+
TreeCodec |
+getTreeCodec() |
+
boolean |
+isEnabled(JSON.Feature f) |
+
List<Object> |
+listFrom(Object source) |
+
<T> List<T> |
+listOfFrom(Class<T> type,
+ Object source) |
+
Map<String,Object> |
+mapFrom(Object source) |
+
<T> Map<String,T> |
+mapOfFrom(Class<T> type,
+ Object source)
+Read method for reading a
+Map of type (usually POJO) values. |
+
<T extends TreeNode> |
+treeFrom(Object source)
+Method for reading content as a JSON Tree (of type that configured
+
+TreeCodec , see with(TreeCodec) ) supports. |
+
<T extends TreeNode> |
+treeSequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec , see with(TreeCodec) ) supports. |
+
Version |
+version() |
+
JSON |
+with(CollectionBuilder b)
+Mutant factory for constructing an instance with specified
+CollectionBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+with(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ enabled.
+ |
+
JSON |
+with(JSON.Feature feature,
+ boolean state)
+Mutant factory for constructing an instance with specified feature
+ enabled or disabled (depending on
+state ), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance. |
+
JSON |
+with(JsonFactory f)
+Deprecated.
+
+Since 2.11 should not try changing underlying stream factory but create
+ a new instance if necessary: method will be removed from 3.0 at latest
+ |
+
JSON |
+with(JSONReader r)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+with(JSONWriter w)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+with(MapBuilder b)
+Mutant factory for constructing an instance with specified
+MapBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+with(PrettyPrinter pp)
+Mutant factory for constructing an instance with specified
+PrettyPrinter ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+with(ReaderWriterProvider rwp)
+Deprecated.
+
+Since 2.11 should register using
+JacksonJrExtension |
+
JSON |
+with(TreeCodec c)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+without(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ disabled.
+ |
+
void |
+write(Object value,
+ File f) |
+
void |
+write(Object value,
+ JsonGenerator gen) |
+
void |
+write(Object value,
+ OutputStream out) |
+
void |
+write(Object value,
+ Writer w) |
+
public static final int CACHE_FLAGS+
public static final JSON std+
+ String json = JSON.std.asString(map); +
protected final JsonFactory _jsonFactory+
protected final TreeCodec _treeCodec+ +
protected final ValueReaderLocator _valueReaderLocator+
protected final ValueWriterLocator _valueWriterLocator+
protected final JSONReader _reader+
protected final JSONWriter _writer+
protected final int _features+
protected final PrettyPrinter _prettyPrinter+
public JSON()+
public JSON(JsonFactory jsonF)+
public JSON(JSON.Builder b)+
JSON.Builder
.b
- Builder that has configured settings to use.protected JSON(JSON base, + int features, + JsonFactory jsonF, + TreeCodec trees, + JSONReader r, + JSONWriter w, + PrettyPrinter pp)+
protected JSON(JSON base, + ValueReaderLocator rloc, + ValueWriterLocator wloc)+
public static JSON.Builder builder()+
public static JSON.Builder builder(JsonFactory streamFactory)+
protected JSONReader _defaultReader()+
protected JSONWriter _defaultWriter()+
public ObjectCodec asCodec()+
ObjectCodec
ObjectCodec
APIpublic JSON with(PrettyPrinter pp)+
PrettyPrinter
,
+ and returning new instance (or, if there would be no change, this instance).pp
- PrettyPrinter
to use for pretty-printing output (of null
to disable
+ pretty-printing)PrettyPrinter
(if not same as currently configured);
+ this
otherwise.public JSON with(JSON.Feature feature, + boolean state)+
state
), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance.public JSON with(JSON.Feature... features)+
public JSON without(JSON.Feature... features)+
protected final JSON _with(int features)+
@Deprecated +public JSON with(JsonFactory f)+
JsonFactory
+ if different from currently configured one (if not, return this
as-is)f
- Jackson core format factory to use for low-level decoding/encodingthis
otherwise.@Deprecated +public JSON with(TreeCodec c)+
builder()
and create
+ properly configured instanceTreeCodec
,
+ and returning new instance (or, if there would be no change, this instance).c
- Tree codec to use for reading/writing of tree representationthis
otherwise.@Deprecated +public JSON with(JSONReader r)+
builder()
and create
+ properly configured instanceJSONReader
,
+ and returning new instance (or, if there would be no change, this instance).r
- Customized JSONReader
to use instead of standard oneJSONReader
(if not same as currently configured);
+ this
otherwise.@Deprecated +public JSON with(JSONWriter w)+
builder()
and create
+ properly configured instanceJSONWriter
,
+ and returning new instance (or, if there would be no change, this instance).w
- Customized JSONWriter
to use instead of standard oneJSONWriter
(if not same as currently configured);
+ this
otherwise.public JSON with(MapBuilder b)+
MapBuilder
,
+ and returning new instance (or, if there would be no change, this instance).public JSON with(CollectionBuilder b)+
CollectionBuilder
,
+ and returning new instance (or, if there would be no change, this instance).@Deprecated +public JSON with(ReaderWriterProvider rwp)+
JacksonJrExtension
ReaderWriterProvider
,
+ and returning new instance (or, if there would be no change, this instance).protected JSON _with(int features, + JsonFactory jsonF, + TreeCodec trees, + JSONReader reader, + JSONWriter writer, + PrettyPrinter pp)+
public TreeCodec getTreeCodec()+
public JsonFactory getStreamingFactory()+
public final boolean isEnabled(JSON.Feature f)+
public JsonParser createParser(Object source) + throws IOException, + JSONObjectException+
JsonParser
to read content from one of
+ following supported sources
+InputStream
Reader
byte[]
char[]
String
/CharSequence
URL
File
+ Rules regarding closing of the underlying source follow rules
+ that JsonFactory
has for its createParser
method.
IOException
JSONObjectException
public String asString(Object value) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public byte[] asBytes(Object value) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public void write(Object value, + JsonGenerator gen) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public void write(Object value, + OutputStream out) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public void write(Object value, + Writer w) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public void write(Object value, + File f) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<OutputStream> composeUsing(JsonGenerator gen) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<OutputStream> composeTo(OutputStream out) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<OutputStream> composeTo(Writer w) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<OutputStream> composeTo(File f) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<String> composeString() + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public JSONComposer<byte[]> composeBytes() + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public CollectionComposer<?,List<Object>> composeList()+
public <C extends Collection<Object>> CollectionComposer<?,C> composeCollection(C collection)+
public MapComposer<?> composeMap()+
public MapComposer<?> composeMap(Map<String,Object> map)+
public List<Object> listFrom(Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public <T> List<T> listOfFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public Object[] arrayFrom(Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public <T> T[] arrayOfFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public Map<String,Object> mapFrom(Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public <T> Map<String,T> mapOfFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
Map
of type
(usually POJO) values.IOException
JSONObjectException
public <T> T beanFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
public Object anyFrom(Object source) + throws IOException+
Map
+ for JSON Objects, List
for JSON Arrays, String
+ for JSON Strings, null for JSON null, Boolean
for JSON booleans
+ and Number
for JSON numbers.
++ Supported source types include: +
InputStream
Reader
File
URL
String
byte[]
char[]
IOException
public <T extends TreeNode> T treeFrom(Object source) + throws IOException, + JSONObjectException+
TreeCodec
, see with(TreeCodec)
) supports.IOException
JSONObjectException
public <T> ValueIterator<T> beanSequenceFrom(Class<T> type, + Object source) + throws IOException, + JSONObjectException+
ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type.IOException
JSONObjectException
public ValueIterator<Object> anySequenceFrom(Object source) + throws IOException, + JSONObjectException+
ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map
,
+ List
, String
, Number
or Boolean
.IOException
JSONObjectException
public <T extends TreeNode> ValueIterator<T> treeSequenceFrom(Object source) + throws IOException, + JSONObjectException+
ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec
, see with(TreeCodec)
) supports.IOException
JSONObjectException
public <T extends TreeNode> T createArrayNode()+
+ getTreeCodec().createArrayNode(); ++ Note that for call to succeed a
TreeCodec
must have been
+ configured with this instance using with(TreeCodec)
method.public <T extends TreeNode> T createObjectNode()+
+ getTreeCodec().createObjectNode(); ++ Note that for call to succeed a
TreeCodec
must have been
+ configured with this instance using with(TreeCodec)
method.protected final void _writeAndClose(Object value, + JsonGenerator g) + throws IOException+
IOException
protected JSONWriter _writerForOperation(JsonGenerator gen)+
protected JSONReader _readerForOperation(JsonParser p)+
protected JsonParser _parser(Object source) + throws IOException, + JSONObjectException+
IOException
JSONObjectException
protected JsonParser _initForReading(JsonParser p) + throws IOException+
IOException
protected JsonGenerator _config(JsonGenerator g)+
protected JsonParser _config(JsonParser p)+
protected <T> T _closeWithError(Closeable cl, + Exception e) + throws IOException+
IOException
protected void _close(Closeable cl)+
protected <T> T _throw(Exception e) + throws IOException+
IOException
protected void _noTreeCodec(String msg)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSONComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSONComposer.html new file mode 100644 index 00000000..7d96690e --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSONComposer.html @@ -0,0 +1,601 @@ + + + + + + +T
- Type of result being composed.public class JSONComposer<T> +extends SequenceComposer<JSONComposer<T>>+
JsonGenerator
object.
+ This is similar to ArrayComposer
, but does not
+ have parent composer (so no end()
method),
+ but does implement Closeable
Modifier and Type | +Field and Description | +
---|---|
protected ByteArrayBuilder |
+_byteWriter |
+
protected boolean |
+_closeGenerator |
+
protected int |
+_features |
+
protected T |
+_result |
+
protected SegmentedStringWriter |
+_stringWriter |
+
_generator
_child, _open
Modifier | +Constructor and Description | +
---|---|
|
+JSONComposer(int features,
+ JsonGenerator gen,
+ boolean closeGenerator) |
+
protected |
+JSONComposer(int features,
+ JsonGenerator gen,
+ ByteArrayBuilder w) |
+
protected |
+JSONComposer(int features,
+ JsonGenerator gen,
+ SegmentedStringWriter w) |
+
protected |
+JSONComposer(int features,
+ T result) |
+
Modifier and Type | +Method and Description | +
---|---|
protected Object |
+_finish() |
+
protected JSONComposer<T> |
+_start() |
+
static JSONComposer<byte[]> |
+bytesComposer(int features,
+ JsonGenerator gen,
+ ByteArrayBuilder w) |
+
static <T extends Collection<Object>> |
+collectionComposer(int features,
+ T coll) |
+
T |
+finish()
+Method to call to complete composition, flush any pending content,
+ and return instance of specified result type.
+ |
+
static JSONComposer<Map<String,Object>> |
+mapComposer(int features,
+ Map<String,Object> map) |
+
static <RESULT> JSONComposer<RESULT> |
+streamComposer(int features,
+ JsonGenerator gen,
+ boolean closeGenerator) |
+
static JSONComposer<String> |
+stringComposer(int features,
+ JsonGenerator gen,
+ SegmentedStringWriter w) |
+
_closeChild, _this, add, add, add, add, add, add, addNull, addObject, flush, startArray, startObject
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final int _features+
protected final boolean _closeGenerator+
protected T _result+
protected SegmentedStringWriter _stringWriter+
protected ByteArrayBuilder _byteWriter+
public JSONComposer(int features, + JsonGenerator gen, + boolean closeGenerator)+
protected JSONComposer(int features, + JsonGenerator gen, + SegmentedStringWriter w)+
protected JSONComposer(int features, + JsonGenerator gen, + ByteArrayBuilder w)+
protected JSONComposer(int features, + T result)+
public static <RESULT> JSONComposer<RESULT> streamComposer(int features, + JsonGenerator gen, + boolean closeGenerator)+
public static JSONComposer<String> stringComposer(int features, + JsonGenerator gen, + SegmentedStringWriter w)+
public static JSONComposer<byte[]> bytesComposer(int features, + JsonGenerator gen, + ByteArrayBuilder w)+
public static <T extends Collection<Object>> JSONComposer<T> collectionComposer(int features, + T coll)+
public static JSONComposer<Map<String,Object>> mapComposer(int features, + Map<String,Object> map)+
public T finish() + throws IOException+
IOException
protected JSONComposer<T> _start() + throws IOException+
_start
in class ComposerBase
IOException
protected Object _finish() + throws IOException+
_finish
in class ComposerBase
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.Reference.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.Reference.html new file mode 100644 index 00000000..4a89094a --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.Reference.html @@ -0,0 +1,500 @@ + + + + + + +public static class JSONObjectException.Reference +extends Object +implements Serializable+
Modifier and Type | +Field and Description | +
---|---|
protected String |
+_fieldName
+Name of field (for beans) or key (for Maps) that is part
+ of the reference.
+ |
+
protected Object |
+_from
+Object through which reference was resolved.
+ |
+
protected int |
+_index
+Index within a
+Collection instance that contained
+ the reference; used if index is relevant and available. |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+Reference()
+Default constructor for deserialization/sub-classing purposes
+ |
+
|
+Reference(Object from) |
+
|
+Reference(Object from,
+ int index) |
+
|
+Reference(Object from,
+ String fieldName) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getFieldName() |
+
Object |
+getFrom() |
+
int |
+getIndex() |
+
void |
+setFieldName(String n) |
+
void |
+setFrom(Object o) |
+
void |
+setIndex(int ix) |
+
String |
+toString() |
+
protected Object _from+
protected String _fieldName+
_index
defined), or when resolving
+ Map classes without (yet) having an instance to operate on.protected int _index+
Collection
instance that contained
+ the reference; used if index is relevant and available.
+ If either not applicable, or not available, -1 is used to
+ denote "not known".protected Reference()+
public Reference(Object from)+
public Reference(Object from, + int index)+
public void setFrom(Object o)+
public void setFieldName(String n)+
public void setIndex(int ix)+
public Object getFrom()+
public String getFieldName()+
public int getIndex()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.html new file mode 100644 index 00000000..1e64f6b2 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JSONObjectException.html @@ -0,0 +1,754 @@ + + + + + + +public class JSONObjectException +extends JsonProcessingException+
com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package).Modifier and Type | +Class and Description | +
---|---|
static class |
+JSONObjectException.Reference
+Simple bean class used to contain references.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected LinkedList<JSONObjectException.Reference> |
+_path
+Path through which problem that triggering throwing of
+ this exception was reached.
+ |
+
_location
Constructor and Description | +
---|
JSONObjectException(String msg) |
+
JSONObjectException(String msg,
+ JsonLocation loc) |
+
JSONObjectException(String msg,
+ JsonLocation loc,
+ Throwable rootCause) |
+
JSONObjectException(String msg,
+ Throwable rootCause) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_appendPathDesc(StringBuilder sb) |
+
protected String |
+_buildMessage() |
+
static JSONObjectException |
+from(JsonParser p,
+ String msg) |
+
static JSONObjectException |
+from(JsonParser p,
+ String msg,
+ Object... args) |
+
static JSONObjectException |
+from(JsonParser p,
+ Throwable problem,
+ String msg,
+ Object... args) |
+
static JSONObjectException |
+fromUnexpectedIOE(IOException src)
+Factory method used when "upgrading" an
+IOException into
+ JSONObjectException : usually only needed to comply with
+ a signature. |
+
String |
+getLocalizedMessage() |
+
String |
+getMessage()
+Method is overridden so that we can properly inject description
+ of problem path, if such is defined.
+ |
+
List<JSONObjectException.Reference> |
+getPath()
+Method for accessing full structural path within type hierarchy
+ down to problematic property.
+ |
+
String |
+getPathReference()
+Method for accesing description of path that lead to the
+ problem that triggered this exception
+ |
+
StringBuilder |
+getPathReference(StringBuilder sb) |
+
void |
+prependPath(JSONObjectException.Reference r) |
+
void |
+prependPath(Object referrer,
+ int index)
+Method called to prepend a reference information in front of
+ current path
+ |
+
void |
+prependPath(Object referrer,
+ String fieldName)
+Method called to prepend a reference information in front of
+ current path
+ |
+
String |
+toString() |
+
static JSONObjectException |
+wrapWithPath(Throwable src,
+ JSONObjectException.Reference ref)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
static JSONObjectException |
+wrapWithPath(Throwable src,
+ Object refFrom,
+ int index)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
static JSONObjectException |
+wrapWithPath(Throwable src,
+ Object refFrom,
+ String refFieldName)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
clearLocation, getLocation, getMessageSuffix, getOriginalMessage, getProcessor
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected LinkedList<JSONObjectException.Reference> _path+
public JSONObjectException(String msg)+
public JSONObjectException(String msg, + JsonLocation loc)+
public JSONObjectException(String msg, + JsonLocation loc, + Throwable rootCause)+
public static JSONObjectException from(JsonParser p, + String msg)+
public static JSONObjectException from(JsonParser p, + String msg, + Object... args)+
public static JSONObjectException from(JsonParser p, + Throwable problem, + String msg, + Object... args)+
public static JSONObjectException fromUnexpectedIOE(IOException src)+
IOException
into
+ JSONObjectException
: usually only needed to comply with
+ a signature.public static JSONObjectException wrapWithPath(Throwable src, + Object refFrom, + String refFieldName)+
public static JSONObjectException wrapWithPath(Throwable src, + Object refFrom, + int index)+
public static JSONObjectException wrapWithPath(Throwable src, + JSONObjectException.Reference ref)+
public List<JSONObjectException.Reference> getPath()+
public String getPathReference()+
public StringBuilder getPathReference(StringBuilder sb)+
public void prependPath(Object referrer, + String fieldName)+
public void prependPath(Object referrer, + int index)+
public void prependPath(JSONObjectException.Reference r)+
public String getLocalizedMessage()+
getLocalizedMessage
in class Throwable
public String getMessage()+
getMessage
in class JsonProcessingException
protected String _buildMessage()+
public String toString()+
toString
in class JsonProcessingException
protected void _appendPathDesc(StringBuilder sb)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JacksonJrExtension.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JacksonJrExtension.html new file mode 100644 index 00000000..9c9f7fa0 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/JacksonJrExtension.html @@ -0,0 +1,291 @@ + + + + + + +public abstract class JacksonJrExtension +extends Object+
JSON
.
+ Extensions typically provide things like custom readers (ValueReader
)
+ and writers (ValueWriter
) (via ReaderWriterProvider
), and
+ modifers (ReaderWriterModifier
) that allow customizing aspects of
+ JSON reading and writing.Constructor and Description | +
---|
JacksonJrExtension() |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract void |
+register(ExtensionContext ctxt)
+Method called by
+JSON to let extension register handlers
+ it wants to. |
+
protected abstract void register(ExtensionContext ctxt)+
JSON
to let extension register handlers
+ it wants to.ctxt
- Context that allows extension to register handlersCopyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/PackageVersion.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/PackageVersion.html new file mode 100644 index 00000000..3a33eb5f --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/PackageVersion.html @@ -0,0 +1,320 @@ + + + + + + +Modifier and Type | +Field and Description | +
---|---|
static Version |
+VERSION |
+
Constructor and Description | +
---|
PackageVersion() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/ValueIterator.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/ValueIterator.html new file mode 100644 index 00000000..b211d2d5 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/ValueIterator.html @@ -0,0 +1,918 @@ + + + + + + +public class ValueIterator<T> +extends Object +implements Iterator<T>, Closeable+
JSON
when binding sequence of
+ objects. Extension is done to allow more convenient exposing of
+ IOException
(which basic Iterator
does not expose).
+
+ NOTE: adapted from `jackson-databind` MappingIterator
Modifier and Type | +Field and Description | +
---|---|
protected boolean |
+_closeParser
+Flag that indicates whether input
+JsonParser should be closed
+ when we are done or not; generally only called when caller did not
+ pass JsonParser. |
+
protected int |
+_mode
+Mode: kind of values we are iterating over
+ |
+
protected JsonParser |
+_parser
+Underlying parser used for reading content to bind.
+ |
+
protected JSONReader |
+_reader
+Context for deserialization, needed to pass through to deserializer
+ |
+
protected JsonStreamContext |
+_seqContext
+Context to resynchronize to, in case an exception is encountered
+ but caller wants to try to read more elements.
+ |
+
protected int |
+_state
+State of the iterator
+ |
+
protected TreeCodec |
+_treeCodec
+If "Tree" values are read, codec we need to use for binding
+ |
+
protected Class<?> |
+_type
+Type to bind individual elements to.
+ |
+
protected static ValueIterator<?> |
+EMPTY_ITERATOR |
+
protected static int |
+MODE_ANY
+
+ |
+
protected static int |
+MODE_BEAN
+Mode in which values are read as POJOs/Beans.
+ |
+
protected static int |
+MODE_TREE
+Mode in which values are read as "Tree" values, as bound
+ by registered
+TreeCodec . |
+
protected static int |
+STATE_CLOSED
+State in which iterator is closed
+ |
+
protected static int |
+STATE_HAS_VALUE
+State in which "hasNextValue()" has been successfully called
+ and deserializer can be called to fetch value
+ |
+
protected static int |
+STATE_MAY_HAVE_VALUE
+State in which no recovery is needed, but "hasNextValue()" needs
+ to be called first
+ |
+
protected static int |
+STATE_NEED_RESYNC
+State in which value read failed
+ |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+ValueIterator(int mode,
+ Class<?> type,
+ JsonParser p,
+ JSONReader reader,
+ TreeCodec treeCodec,
+ boolean managedParser) |
+
Modifier and Type | +Method and Description | +
---|---|
protected <R> R |
+_handleIOException(IOException e) |
+
protected <R> R |
+_handleMappingException(JSONObjectException e) |
+
protected void |
+_resync() |
+
protected <R> R |
+_throwNoSuchElement() |
+
void |
+close() |
+
protected static <T> ValueIterator<T> |
+emptyIterator() |
+
JsonLocation |
+getCurrentLocation()
+Convenience method, functionally equivalent to:
+
+
+ iterator.getParser().getCurrentLocation()
+ |
+
JsonParser |
+getParser()
+Accessor for getting underlying parser this iterator uses.
+ |
+
boolean |
+hasNext() |
+
boolean |
+hasNextValue()
+Equivalent of
+next() but one that may throw checked
+ exceptions from Jackson due to invalid input. |
+
T |
+next() |
+
T |
+nextValue() |
+
List<T> |
+readAll()
+Convenience method for reading all entries accessible via
+ this iterator; resulting container will be a
+ArrayList . |
+
<C extends Collection<? super T>> |
+readAll(C results)
+Convenience method for reading all entries accessible via this iterator
+ |
+
<L extends List<? super T>> |
+readAll(L resultList)
+Convenience method for reading all entries accessible via
+ this iterator
+ |
+
void |
+remove() |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected static final int MODE_BEAN+
protected static final int MODE_ANY+ +
protected static final int MODE_TREE+
TreeCodec
.protected static final ValueIterator<?> EMPTY_ITERATOR+
protected static final int STATE_CLOSED+
protected static final int STATE_NEED_RESYNC+
protected static final int STATE_MAY_HAVE_VALUE+
protected static final int STATE_HAS_VALUE+
protected final int _mode+
protected final Class<?> _type+
protected final JSONReader _reader+
protected final TreeCodec _treeCodec+
protected final JsonParser _parser+
null
but set as null
when
+ iterator is closed, to denote closing.protected final JsonStreamContext _seqContext+
protected final boolean _closeParser+
JsonParser
should be closed
+ when we are done or not; generally only called when caller did not
+ pass JsonParser.protected int _state+
protected ValueIterator(int mode, + Class<?> type, + JsonParser p, + JSONReader reader, + TreeCodec treeCodec, + boolean managedParser)+
managedParser
- Whether we "own" the JsonParser
passed or not:
+ if true, it was created by Json
and code here needs to
+ close it; if false, it was passed by calling code and should not be
+ closed by iterator.protected static <T> ValueIterator<T> emptyIterator()+
public void close() + throws IOException+
close
in interface Closeable
close
in interface AutoCloseable
IOException
public boolean hasNextValue() + throws IOException+
next()
but one that may throw checked
+ exceptions from Jackson due to invalid input.IOException
public T nextValue() + throws IOException+
IOException
public List<T> readAll() + throws IOException+
ArrayList
.IOException
public <L extends List<? super T>> L readAll(L resultList) + throws IOException+
IOException
public <C extends Collection<? super T>> C readAll(C results) + throws IOException+
IOException
public JsonParser getParser()+
public JsonLocation getCurrentLocation()+
+ iterator.getParser().getCurrentLocation()
+
protected void _resync() + throws IOException+
IOException
protected <R> R _throwNoSuchElement()+
protected <R> R _handleMappingException(JSONObjectException e)+
protected <R> R _handleIOException(IOException e)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.Default.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.Default.html new file mode 100644 index 00000000..3d159ac6 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.Default.html @@ -0,0 +1,510 @@ + + + + + + +public static class CollectionBuilder.Default +extends CollectionBuilder+
CollectionBuilder
implementation, which uses ArrayList
+ as the type of List
to build, unless instructed otherwise.
+
+ When sub-classing to use different underlying mutable List
+ type, you need to sub-class following methods:
+
newBuilder(int)
: factory method for constructing new builder instance
+ _list(int)
: factory method for constructing List
to build
+
+ If constructing builders that use different approaches (like, say, produce
+ immutable Guava Lists), you may need to override more methods; or perhaps
+ just extend basic CollectionBuilder
.
CollectionBuilder.Default
Modifier and Type | +Field and Description | +
---|---|
protected Collection<Object> |
+_current |
+
_collectionType, _features, EMPTY_ARRAY
Modifier | +Constructor and Description | +
---|---|
protected |
+Default(int features,
+ Class<?> collImpl) |
+
Modifier and Type | +Method and Description | +
---|---|
protected Collection<Object> |
+_list(int initialSize)
+Overridable factory method for constructing underlying List.
+ |
+
CollectionBuilder |
+add(Object value) |
+
Object[] |
+buildArray()
+Alternative build method used when desired result type is
+
+Object[] |
+
Collection<Object> |
+buildCollection()
+The usual build method to use for constructing
+Collection |
+
Collection<Object> |
+emptyCollection()
+Specialized method that is called when an empty Collection needs to
+ be constructed; this may be a new Collection, or an immutable shared
+ one, depending on implementation.
+ |
+
CollectionBuilder |
+newBuilder(Class<?> collType) |
+
CollectionBuilder |
+newBuilder(int features) |
+
CollectionBuilder |
+start() |
+
buildArray, defaultImpl, emptyArray, emptyArray, isEnabled, newBuilder, singletonArray, singletonArray, singletonCollection
protected Collection<Object> _current+
protected Default(int features, + Class<?> collImpl)+
public CollectionBuilder newBuilder(int features)+
newBuilder
in class CollectionBuilder
public CollectionBuilder newBuilder(Class<?> collType)+
newBuilder
in class CollectionBuilder
public CollectionBuilder start()+
start
in class CollectionBuilder
public Collection<Object> buildCollection()+
CollectionBuilder
Collection
buildCollection
in class CollectionBuilder
public Object[] buildArray()+
CollectionBuilder
Object[]
buildArray
in class CollectionBuilder
public CollectionBuilder add(Object value)+
add
in class CollectionBuilder
public Collection<Object> emptyCollection()+
CollectionBuilder
+ Default implementation simply calls: +
+ start().buildCollection(); +
emptyCollection
in class CollectionBuilder
protected Collection<Object> _list(int initialSize)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.html new file mode 100644 index 00000000..6b533ae2 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/CollectionBuilder.html @@ -0,0 +1,628 @@ + + + + + + +public abstract class CollectionBuilder +extends Object+
Collection
s
+ to map JSON Array values in.
+
+ Objects server both as "factories" for creating new builders (blueprint
+ style), and as actual builders. For each distinct read operation,
+ newBuilder(int)
will be called at least once; this instance
+ may be used and reused multiple times, as calling start()
+ will reset the state so that more Collection
s may be built.
Modifier and Type | +Class and Description | +
---|---|
static class |
+CollectionBuilder.Default
+Default
+CollectionBuilder implementation, which uses ArrayList
+ as the type of List to build, unless instructed otherwise. |
+
Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_collectionType
+Optional
+Collection implementation class, used when specific
+ implementation is desired. |
+
protected int |
+_features |
+
protected static Object[] |
+EMPTY_ARRAY |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+CollectionBuilder(int features,
+ Class<?> collImpl) |
+
Modifier and Type | +Method and Description | +
---|---|
abstract CollectionBuilder |
+add(Object value) |
+
Object[] |
+buildArray()
+Alternative build method used when desired result type is
+
+Object[] |
+
<T> T[] |
+buildArray(Class<T> type) |
+
abstract Collection<Object> |
+buildCollection()
+The usual build method to use for constructing
+Collection |
+
static CollectionBuilder |
+defaultImpl()
+Factory method for getting a blueprint instance of the default
+
+CollectionBuilder implementation. |
+
Object[] |
+emptyArray()
+Specialized method that is called when an empty
+Object[] needs to
+ be returned. |
+
<T> T[] |
+emptyArray(Class<T> type) |
+
Collection<Object> |
+emptyCollection()
+Specialized method that is called when an empty Collection needs to
+ be constructed; this may be a new Collection, or an immutable shared
+ one, depending on implementation.
+ |
+
boolean |
+isEnabled(JSON.Feature f) |
+
CollectionBuilder |
+newBuilder() |
+
abstract CollectionBuilder |
+newBuilder(Class<?> collImpl) |
+
abstract CollectionBuilder |
+newBuilder(int features) |
+
<T> T[] |
+singletonArray(Class<?> type,
+ T value) |
+
Object[] |
+singletonArray(Object value)
+Specialized method that is called when a single-entry array needs to
+ be constructed.
+ |
+
Collection<Object> |
+singletonCollection(Object value)
+Specialized method that is called when a single-entry Collection needs to
+ be constructed.
+ |
+
abstract CollectionBuilder |
+start() |
+
protected static final Object[] EMPTY_ARRAY+
protected final int _features+
protected final Class<?> _collectionType+
Collection
implementation class, used when specific
+ implementation is desired.protected CollectionBuilder(int features, + Class<?> collImpl)+
public static CollectionBuilder defaultImpl()+
CollectionBuilder
implementation.public abstract CollectionBuilder newBuilder(int features)+
public abstract CollectionBuilder newBuilder(Class<?> collImpl)+
public CollectionBuilder newBuilder()+
public final boolean isEnabled(JSON.Feature f)+
public abstract CollectionBuilder start()+
public abstract CollectionBuilder add(Object value)+
public abstract Collection<Object> buildCollection()+
Collection
public Object[] buildArray()+
Object[]
public <T> T[] buildArray(Class<T> type)+
public Collection<Object> emptyCollection()+
+ Default implementation simply calls: +
+ start().buildCollection(); +
public Object[] emptyArray()+
Object[]
needs to
+ be returned.
++ Default implementation simply returns a shared empty array instance.
public <T> T[] emptyArray(Class<T> type)+
public Collection<Object> singletonCollection(Object value)+
+ Default implementation simply calls: +
+ start().add(value).buildCollection(); +
public Object[] singletonArray(Object value)+
+ Default implementation simply returns equivalent of: +
+ new Object[] { value } +
public <T> T[] singletonArray(Class<?> type, + T value)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ExtensionContext.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ExtensionContext.html new file mode 100644 index 00000000..2d98beb1 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ExtensionContext.html @@ -0,0 +1,402 @@ + + + + + + +public abstract class ExtensionContext +extends Object+
JacksonJrExtension
s to register handlers
+ it needs to.Constructor and Description | +
---|
ExtensionContext() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract ExtensionContext |
+appendModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the lowest priority
+ modifier (that is, being called after all other modifiers registered). |
+
abstract ExtensionContext |
+appendProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the lowest priority
+ provider (that is, having lower precedence than anything registered so far) |
+
abstract ExtensionContext |
+insertModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the highest priority
+ modifier (that is, being called before any other modifiers registered). |
+
abstract ExtensionContext |
+insertProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the highest priority
+ provider (that is, having higher precedence than anything registered so far) |
+
abstract ExtensionContext |
+setTreeCodec(TreeCodec tc)
+Method for setting
+TreeCodec to use, replacing codec that was formerly configured
+ (if any). |
+
abstract TreeCodec |
+treeCodec() |
+
public abstract ExtensionContext setTreeCodec(TreeCodec tc)+
TreeCodec
to use, replacing codec that was formerly configured
+ (if any).tc
- (optional) Tree Codec to use, or null
for removing currently configured onepublic abstract TreeCodec treeCodec()+
null
if none).public abstract ExtensionContext insertProvider(ReaderWriterProvider provider)+
ReaderWriterProvider
as the highest priority
+ provider (that is, having higher precedence than anything registered so far)provider
- Provider to registerpublic abstract ExtensionContext appendProvider(ReaderWriterProvider provider)+
ReaderWriterProvider
as the lowest priority
+ provider (that is, having lower precedence than anything registered so far)provider
- Provider to registerpublic abstract ExtensionContext insertModifier(ReaderWriterModifier modifier)+
ReaderWriterModifier
as the highest priority
+ modifier (that is, being called before any other modifiers registered).modifier
- Modifier to registerpublic abstract ExtensionContext appendModifier(ReaderWriterModifier modifier)+
ReaderWriterModifier
as the lowest priority
+ modifier (that is, being called after all other modifiers registered).modifier
- Modifier to registerCopyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.Default.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.Default.html new file mode 100644 index 00000000..0de26d00 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.Default.html @@ -0,0 +1,461 @@ + + + + + + +public static class MapBuilder.Default +extends MapBuilder+
MapBuilder
implementation which builds
+ either HashMap
or LinkedHashMap
instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING
).
+ It may also, with alternate configuration,
+ use Collections.emptyMap()
for empty Maps,
+ if allowed with JSON.Feature.READ_ONLY
.MapBuilder.Default
Modifier and Type | +Field and Description | +
---|---|
protected Map<String,Object> |
+_current |
+
_checkDups, _features, _mapType
Modifier | +Constructor and Description | +
---|---|
protected |
+Default(int features,
+ Class<?> type) |
+
Modifier and Type | +Method and Description | +
---|---|
Map<String,Object> |
+build() |
+
Map<String,Object> |
+emptyMap()
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
MapBuilder |
+newBuilder(Class<?> mapImpl) |
+
MapBuilder |
+newBuilder(int features) |
+
MapBuilder |
+put(String key,
+ Object value) |
+
MapBuilder |
+start() |
+
defaultImpl, isEnabled, newBuilder, singletonMap
protected Default(int features, + Class<?> type)+
public MapBuilder newBuilder(int features)+
newBuilder
in class MapBuilder
public MapBuilder newBuilder(Class<?> mapImpl)+
newBuilder
in class MapBuilder
public MapBuilder start()+
start
in class MapBuilder
public Map<String,Object> build()+
build
in class MapBuilder
public MapBuilder put(String key, + Object value)+
put
in class MapBuilder
public Map<String,Object> emptyMap()+
MapBuilder
+ Default implementation simply calls: +
+ start().build(); ++ which assumes that a builder has been constructed with
MapBuilder.newBuilder(int)
emptyMap
in class MapBuilder
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.html new file mode 100644 index 00000000..ed4ca73d --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/MapBuilder.html @@ -0,0 +1,539 @@ + + + + + + +public abstract class MapBuilder +extends Object+
Map
s
+ to map JSON Object values in.
+
+ Objects server both as "factories" for creating new builders (blueprint
+ style), and as actual builders. For each distinct read operation,
+ newBuilder(int)
will be called at least once; this instance
+ may be used and reused multiple times, as calling start()
+ will reset the state so that more List
s may be built.
Modifier and Type | +Class and Description | +
---|---|
static class |
+MapBuilder.Default
+Default
+MapBuilder implementation which builds
+ either HashMap or LinkedHashMap instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING ). |
+
Modifier and Type | +Field and Description | +
---|---|
protected boolean |
+_checkDups |
+
protected int |
+_features |
+
protected Class<?> |
+_mapType
+Optional
+Map implementation class, used when specific
+ implementation is desired. |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+MapBuilder(int features,
+ Class<?> type) |
+
Modifier and Type | +Method and Description | +
---|---|
abstract Map<String,Object> |
+build() |
+
static MapBuilder |
+defaultImpl()
+Factory method for getting a blueprint instance of the default
+
+MapBuilder implementation. |
+
Map<String,Object> |
+emptyMap()
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
boolean |
+isEnabled(JSON.Feature f) |
+
MapBuilder |
+newBuilder() |
+
abstract MapBuilder |
+newBuilder(Class<?> mapImpl) |
+
abstract MapBuilder |
+newBuilder(int features) |
+
abstract MapBuilder |
+put(String key,
+ Object value) |
+
Map<String,Object> |
+singletonMap(String key,
+ Object value)
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
abstract MapBuilder |
+start() |
+
protected final int _features+
protected final boolean _checkDups+
protected MapBuilder(int features, + Class<?> type)+
public static MapBuilder defaultImpl()+
MapBuilder
implementation.public abstract MapBuilder newBuilder(int features)+
public abstract MapBuilder newBuilder(Class<?> mapImpl)+
public MapBuilder newBuilder()+
public final boolean isEnabled(JSON.Feature f)+
public abstract MapBuilder start()+
public abstract MapBuilder put(String key, + Object value)+
public Map<String,Object> emptyMap() + throws JSONObjectException+
+ Default implementation simply calls: +
+ start().build(); ++ which assumes that a builder has been constructed with
newBuilder(int)
JSONObjectException
public Map<String,Object> singletonMap(String key, + Object value) + throws JSONObjectException+
+ Default implementation simply calls: +
+ start().put(key, value).build(); +
JSONObjectException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.Pair.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.Pair.html new file mode 100644 index 00000000..3a8ee573 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.Pair.html @@ -0,0 +1,527 @@ + + + + + + +public static class ReaderWriterModifier.Pair +extends ReaderWriterModifier+
ReaderWriterModifier.Pair
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterModifier |
+_primary |
+
protected ReaderWriterModifier |
+_secondary |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+Pair(ReaderWriterModifier p,
+ ReaderWriterModifier s) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+modifyValueReader(JSONReader ctxt,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+modifyValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
static ReaderWriterModifier |
+of(ReaderWriterModifier primary,
+ ReaderWriterModifier secondary)
+Factory method for "combining" given 2 modifiers so that if neither is
+null ,
+ a ReaderWriterModifier.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
ValueWriter |
+overrideStandardValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ int stdTypeId)
+Method called instead of
+ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter) for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter and are
+ normally directly serialized by JSONWriter itself. |
+
POJODefinition |
+pojoDefinitionForDeserialization(JSONReader ctxt,
+ Class<?> pojoType) |
+
POJODefinition |
+pojoDefinitionForSerialization(JSONWriter ctxt,
+ Class<?> pojoType) |
+
protected final ReaderWriterModifier _primary+
protected final ReaderWriterModifier _secondary+
protected Pair(ReaderWriterModifier p, + ReaderWriterModifier s)+
public static ReaderWriterModifier of(ReaderWriterModifier primary, + ReaderWriterModifier secondary)+
null
,
+ a ReaderWriterModifier.Pair
is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null
s, null
is returned.primary
- Primary providersecondary
- Secondary providernull
.public POJODefinition pojoDefinitionForDeserialization(JSONReader ctxt, + Class<?> pojoType)+
pojoDefinitionForDeserialization
in class ReaderWriterModifier
public POJODefinition pojoDefinitionForSerialization(JSONWriter ctxt, + Class<?> pojoType)+
pojoDefinitionForSerialization
in class ReaderWriterModifier
public ValueReader modifyValueReader(JSONReader ctxt, + Class<?> type, + ValueReader defaultReader)+
ReaderWriterModifier
ValueReader
to use has been constructed, but
+ before it is to be used for the first time. Method may either return that
+ reader as-is, or construct a different ValueReader
and return that
+ to be used.
+
+ This method is often used to create a new ValueReader
that needs to
+ delegate to the original reader for some uses, but not all.
modifyValueReader
in class ReaderWriterModifier
ctxt
- Context that may be used to access configurationtype
- Type of values to readdefaultReader
- ValueReader
that is to be useddefaultReader
as-is, or an alternate ValueReader
to use.public ValueWriter modifyValueWriter(JSONWriter ctxt, + Class<?> type, + ValueWriter defaultWriter)+
ReaderWriterModifier
ValueWriter
to use has been constructed, but
+ before it is to be used for the first time. Method may either return that
+ writer as-is, or construct a different ValueWriter
and return that
+ to be used.
+
+ Note that this method is NOT called for non-POJO JDK "standard" values that
+ jackson-jr supports (such as Number
s, String
+ and URL
); for these types, ReaderWriterModifier.overrideStandardValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, int)
+ is called instead.
+
+ This method is often used to create a new ValueReader
that needs to
+ delegate to the original reader for some uses, but not all.
modifyValueWriter
in class ReaderWriterModifier
ctxt
- Context that may be used to access configurationtype
- Type of values to writedefaultWriter
- ValueReader
that is to be useddefaultReader
as-is, or an alternate ValueWriter
to use;
+ must not return null
.public ValueWriter overrideStandardValueWriter(JSONWriter ctxt, + Class<?> type, + int stdTypeId)+
ReaderWriterModifier
ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter)
for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter
and are
+ normally directly serialized by JSONWriter
itself.
+ Handler may either return null
to indicate "no override" or return
+ custom ValueWriter
to use.overrideStandardValueWriter
in class ReaderWriterModifier
ctxt
- Context that may be used to access configurationtype
- Type of values to writestdTypeId
- Internal identifier of standard type (not usually useful,
+ but could potentially be used for delegating)null
if no override should occur, or ValueWriter
+ to use.Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.html new file mode 100644 index 00000000..b2fa43a6 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterModifier.html @@ -0,0 +1,434 @@ + + + + + + +public abstract class ReaderWriterModifier +extends Object+
ValueReader
s and
+ ValueWriter
s of all kinds (default scalar ones, custom ones,
+ POJO ones).Modifier and Type | +Class and Description | +
---|---|
static class |
+ReaderWriterModifier.Pair
+Implementation that allows chaining of two modifiers, one (first) with higher precedence
+ than the other (second).
+ |
+
Constructor and Description | +
---|
ReaderWriterModifier() |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+modifyValueReader(JSONReader readContext,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+modifyValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+overrideStandardValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ int stdTypeId)
+Method called instead of
+modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter) for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter and are
+ normally directly serialized by JSONWriter itself. |
+
POJODefinition |
+pojoDefinitionForDeserialization(JSONReader readContext,
+ Class<?> pojoType) |
+
POJODefinition |
+pojoDefinitionForSerialization(JSONWriter writeContext,
+ Class<?> pojoType) |
+
public POJODefinition pojoDefinitionForDeserialization(JSONReader readContext, + Class<?> pojoType)+
public POJODefinition pojoDefinitionForSerialization(JSONWriter writeContext, + Class<?> pojoType)+
public ValueReader modifyValueReader(JSONReader readContext, + Class<?> type, + ValueReader defaultReader)+
ValueReader
to use has been constructed, but
+ before it is to be used for the first time. Method may either return that
+ reader as-is, or construct a different ValueReader
and return that
+ to be used.
+
+ This method is often used to create a new ValueReader
that needs to
+ delegate to the original reader for some uses, but not all.
readContext
- Context that may be used to access configurationtype
- Type of values to readdefaultReader
- ValueReader
that is to be useddefaultReader
as-is, or an alternate ValueReader
to use.public ValueWriter modifyValueWriter(JSONWriter writeContext, + Class<?> type, + ValueWriter defaultWriter)+
ValueWriter
to use has been constructed, but
+ before it is to be used for the first time. Method may either return that
+ writer as-is, or construct a different ValueWriter
and return that
+ to be used.
+
+ Note that this method is NOT called for non-POJO JDK "standard" values that
+ jackson-jr supports (such as Number
s, String
+ and URL
); for these types, overrideStandardValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, int)
+ is called instead.
+
+ This method is often used to create a new ValueReader
that needs to
+ delegate to the original reader for some uses, but not all.
writeContext
- Context that may be used to access configurationtype
- Type of values to writedefaultWriter
- ValueReader
that is to be useddefaultReader
as-is, or an alternate ValueWriter
to use;
+ must not return null
.public ValueWriter overrideStandardValueWriter(JSONWriter writeContext, + Class<?> type, + int stdTypeId)+
modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter)
for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter
and are
+ normally directly serialized by JSONWriter
itself.
+ Handler may either return null
to indicate "no override" or return
+ custom ValueWriter
to use.writeContext
- Context that may be used to access configurationtype
- Type of values to writestdTypeId
- Internal identifier of standard type (not usually useful,
+ but could potentially be used for delegating)null
if no override should occur, or ValueWriter
+ to use.Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.Pair.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.Pair.html new file mode 100644 index 00000000..96c4789e --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.Pair.html @@ -0,0 +1,468 @@ + + + + + + +public static class ReaderWriterProvider.Pair +extends ReaderWriterProvider+
ReaderWriterProvider.Pair
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterProvider |
+_primary |
+
protected ReaderWriterProvider |
+_secondary |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+Pair(ReaderWriterProvider p,
+ ReaderWriterProvider s) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+findValueReader(JSONReader ctxt,
+ Class<?> type)
+Method called to find custom reader for given type that is NOT one of
+ special container types (
+Collection ,
+ Map ): typically value is a scalar, Bean or Enum. |
+
ValueWriter |
+findValueWriter(JSONWriter ctxt,
+ Class<?> type) |
+
static ReaderWriterProvider |
+of(ReaderWriterProvider primary,
+ ReaderWriterProvider secondary)
+Factory method for "combining" given 2 providers so that if neither is
+null ,
+ a ReaderWriterProvider.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
protected final ReaderWriterProvider _primary+
protected final ReaderWriterProvider _secondary+
protected Pair(ReaderWriterProvider p, + ReaderWriterProvider s)+
public static ReaderWriterProvider of(ReaderWriterProvider primary, + ReaderWriterProvider secondary)+
null
,
+ a ReaderWriterProvider.Pair
is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null
s, null
is returned.primary
- Primary providersecondary
- Secondary providernull
.public ValueReader findValueReader(JSONReader ctxt, + Class<?> type)+
ReaderWriterProvider
Collection
,
+ Map
): typically value is a scalar, Bean or Enum.findValueReader
in class ReaderWriterProvider
ctxt
- context object that may be needed for resolving dependant
+ readerstype
- Raw type of bean to find reader forpublic ValueReader findCollectionReader(JSONReader ctxt, + Class<?> type, + ResolvedType valueType, + ValueReader readerForValues)+
findCollectionReader
in class ReaderWriterProvider
public ValueReader findMapReader(JSONReader ctxt, + Class<?> type, + ResolvedType valueType, + ValueReader readerForValues)+
findMapReader
in class ReaderWriterProvider
public ValueWriter findValueWriter(JSONWriter ctxt, + Class<?> type)+
findValueWriter
in class ReaderWriterProvider
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.html new file mode 100644 index 00000000..e2ab7abc --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ReaderWriterProvider.html @@ -0,0 +1,372 @@ + + + + + + +public abstract class ReaderWriterProvider +extends Object+
ValueReader
s and
+ ValueWriter
s.Modifier and Type | +Class and Description | +
---|---|
static class |
+ReaderWriterProvider.Pair
+Implementation that allows chaining of two providers, one (first) with higher precedence
+ than the other (second).
+ |
+
Constructor and Description | +
---|
ReaderWriterProvider() |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+findValueReader(JSONReader readContext,
+ Class<?> type)
+Method called to find custom reader for given type that is NOT one of
+ special container types (
+Collection ,
+ Map ): typically value is a scalar, Bean or Enum. |
+
ValueWriter |
+findValueWriter(JSONWriter writeContext,
+ Class<?> type) |
+
public ValueReader findValueReader(JSONReader readContext, + Class<?> type)+
Collection
,
+ Map
): typically value is a scalar, Bean or Enum.readContext
- context object that may be needed for resolving dependant
+ readerstype
- Raw type of bean to find reader forpublic ValueReader findCollectionReader(JSONReader readContext, + Class<?> type, + ResolvedType valueType, + ValueReader readerForValues)+
public ValueReader findMapReader(JSONReader readContext, + Class<?> type, + ResolvedType valueType, + ValueReader readerForValues)+
public ValueWriter findValueWriter(JSONWriter writeContext, + Class<?> type)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ValueReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ValueReader.html new file mode 100644 index 00000000..3ce5b61d --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ValueReader.html @@ -0,0 +1,445 @@ + + + + + + +public abstract class ValueReader +extends Object+
Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_valueType
+Type of values this reader will read
+ |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+ValueReader(Class<?> valueType) |
+
Modifier and Type | +Method and Description | +
---|---|
static String |
+_tokenDesc(JsonParser p)
+Helper method for getting description of the token parser currently points to,
+ for use in descriptions and exception messages.
+ |
+
static String |
+_tokenDesc(JsonParser p,
+ JsonToken t)
+Helper method for getting description of given token
+ for use in descriptions and exception messages.
+ |
+
abstract Object |
+read(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Class<?> |
+valueType()
+Accessor for non-generic (type-erased) type of values this reader
+ produces from input.
+ |
+
protected final Class<?> _valueType+
public abstract Object read(JSONReader reader, + JsonParser p) + throws IOException+
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object readNext(JSONReader reader, + JsonParser p) + throws IOException+
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Class<?> valueType()+
public static String _tokenDesc(JsonParser p) + throws IOException+
IOException
public static String _tokenDesc(JsonParser p, + JsonToken t) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ValueWriter.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ValueWriter.html new file mode 100644 index 00000000..8826f8c2 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/ValueWriter.html @@ -0,0 +1,261 @@ + + + + + + +public interface ValueWriter
+Modifier and Type | +Method and Description | +
---|---|
Class<?> |
+valueType()
+Accessor for non-generic (type-erased) type of values this reader
+ produces from input.
+ |
+
void |
+writeValue(JSONWriter context,
+ JsonGenerator g,
+ Object value) |
+
void writeValue(JSONWriter context, + JsonGenerator g, + Object value) + throws IOException+
IOException
Class<?> valueType()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.Default.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.Default.html new file mode 100644 index 00000000..98d718e7 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.Default.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.html new file mode 100644 index 00000000..4e873f7c --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/CollectionBuilder.html @@ -0,0 +1,359 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected CollectionBuilder |
+JSON.Builder._collectionBuilder |
+
Modifier and Type | +Method and Description | +
---|---|
CollectionBuilder |
+JSON.Builder.collectionBuilder() |
+
Modifier and Type | +Method and Description | +
---|---|
JSON.Builder |
+JSON.Builder.collectionBuilder(CollectionBuilder b) |
+
JSON |
+JSON.with(CollectionBuilder b)
+Mutant factory for constructing an instance with specified
+CollectionBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
Modifier and Type | +Class and Description | +
---|---|
static class |
+CollectionBuilder.Default
+Default
+CollectionBuilder implementation, which uses ArrayList
+ as the type of List to build, unless instructed otherwise. |
+
Modifier and Type | +Method and Description | +
---|---|
abstract CollectionBuilder |
+CollectionBuilder.add(Object value) |
+
CollectionBuilder |
+CollectionBuilder.Default.add(Object value) |
+
static CollectionBuilder |
+CollectionBuilder.defaultImpl()
+Factory method for getting a blueprint instance of the default
+
+CollectionBuilder implementation. |
+
CollectionBuilder |
+CollectionBuilder.newBuilder() |
+
abstract CollectionBuilder |
+CollectionBuilder.newBuilder(Class<?> collImpl) |
+
CollectionBuilder |
+CollectionBuilder.Default.newBuilder(Class<?> collType) |
+
abstract CollectionBuilder |
+CollectionBuilder.newBuilder(int features) |
+
CollectionBuilder |
+CollectionBuilder.Default.newBuilder(int features) |
+
abstract CollectionBuilder |
+CollectionBuilder.start() |
+
CollectionBuilder |
+CollectionBuilder.Default.start() |
+
Modifier and Type | +Field and Description | +
---|---|
protected CollectionBuilder |
+JSONReader._collectionBuilder
+Handler that takes care of constructing
+Map s as needed |
+
Modifier and Type | +Method and Description | +
---|---|
protected CollectionBuilder |
+JSONReader._collectionBuilder(Class<?> collType) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONReader |
+JSONReader._with(CollectionBuilder lb,
+ MapBuilder mb)
+Overridable method that all mutant factories call if a new instance
+ is to be constructed
+ |
+
Object[] |
+AnyReader.readArrayFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Collection<Object> |
+AnyReader.readCollectionFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
JSONReader |
+JSONReader.with(CollectionBuilder lb) |
+
Constructor and Description | +
---|
JSONReader(CollectionBuilder lb,
+ MapBuilder mb)
+Constructor used for creating the blueprint instances.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ExtensionContext.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ExtensionContext.html new file mode 100644 index 00000000..e11ab0f9 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ExtensionContext.html @@ -0,0 +1,221 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected abstract void |
+JacksonJrExtension.register(ExtensionContext ctxt)
+Method called by
+JSON to let extension register handlers
+ it wants to. |
+
Modifier and Type | +Method and Description | +
---|---|
abstract ExtensionContext |
+ExtensionContext.appendModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the lowest priority
+ modifier (that is, being called after all other modifiers registered). |
+
abstract ExtensionContext |
+ExtensionContext.appendProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the lowest priority
+ provider (that is, having lower precedence than anything registered so far) |
+
abstract ExtensionContext |
+ExtensionContext.insertModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the highest priority
+ modifier (that is, being called before any other modifiers registered). |
+
abstract ExtensionContext |
+ExtensionContext.insertProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the highest priority
+ provider (that is, having higher precedence than anything registered so far) |
+
abstract ExtensionContext |
+ExtensionContext.setTreeCodec(TreeCodec tc)
+Method for setting
+TreeCodec to use, replacing codec that was formerly configured
+ (if any). |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.Default.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.Default.html new file mode 100644 index 00000000..bdc07551 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.Default.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.html new file mode 100644 index 00000000..30f684d6 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/MapBuilder.html @@ -0,0 +1,356 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected MapBuilder |
+JSON.Builder._mapBuilder |
+
Modifier and Type | +Method and Description | +
---|---|
MapBuilder |
+JSON.Builder.mapBuilder() |
+
Modifier and Type | +Method and Description | +
---|---|
JSON.Builder |
+JSON.Builder.mapBuilder(MapBuilder b) |
+
JSON |
+JSON.with(MapBuilder b)
+Mutant factory for constructing an instance with specified
+MapBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
Modifier and Type | +Class and Description | +
---|---|
static class |
+MapBuilder.Default
+Default
+MapBuilder implementation which builds
+ either HashMap or LinkedHashMap instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING ). |
+
Modifier and Type | +Method and Description | +
---|---|
static MapBuilder |
+MapBuilder.defaultImpl()
+Factory method for getting a blueprint instance of the default
+
+MapBuilder implementation. |
+
MapBuilder |
+MapBuilder.newBuilder() |
+
abstract MapBuilder |
+MapBuilder.newBuilder(Class<?> mapImpl) |
+
MapBuilder |
+MapBuilder.Default.newBuilder(Class<?> mapImpl) |
+
abstract MapBuilder |
+MapBuilder.newBuilder(int features) |
+
MapBuilder |
+MapBuilder.Default.newBuilder(int features) |
+
abstract MapBuilder |
+MapBuilder.put(String key,
+ Object value) |
+
MapBuilder |
+MapBuilder.Default.put(String key,
+ Object value) |
+
abstract MapBuilder |
+MapBuilder.start() |
+
MapBuilder |
+MapBuilder.Default.start() |
+
Modifier and Type | +Field and Description | +
---|---|
protected MapBuilder |
+JSONReader._mapBuilder
+Handler that takes care of constructing
+Map s as needed |
+
Modifier and Type | +Method and Description | +
---|---|
protected MapBuilder |
+JSONReader._mapBuilder(Class<?> mapType) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONReader |
+JSONReader._with(CollectionBuilder lb,
+ MapBuilder mb)
+Overridable method that all mutant factories call if a new instance
+ is to be constructed
+ |
+
Map<String,Object> |
+AnyReader.readFromObject(JSONReader r,
+ JsonParser p,
+ MapBuilder b) |
+
JSONReader |
+JSONReader.with(MapBuilder mb) |
+
Constructor and Description | +
---|
JSONReader(CollectionBuilder lb,
+ MapBuilder mb)
+Constructor used for creating the blueprint instances.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.Pair.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.Pair.html new file mode 100644 index 00000000..e6eba4ee --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.Pair.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.html new file mode 100644 index 00000000..fd8a77a2 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterModifier.html @@ -0,0 +1,365 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
ReaderWriterModifier |
+JSON.Builder.readerWriterModifier() |
+
Modifier and Type | +Class and Description | +
---|---|
static class |
+ReaderWriterModifier.Pair
+Implementation that allows chaining of two modifiers, one (first) with higher precedence
+ than the other (second).
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterModifier |
+ReaderWriterModifier.Pair._primary |
+
protected ReaderWriterModifier |
+ReaderWriterModifier.Pair._secondary |
+
Modifier and Type | +Method and Description | +
---|---|
static ReaderWriterModifier |
+ReaderWriterModifier.Pair.of(ReaderWriterModifier primary,
+ ReaderWriterModifier secondary)
+Factory method for "combining" given 2 modifiers so that if neither is
+null ,
+ a ReaderWriterModifier.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
Modifier and Type | +Method and Description | +
---|---|
abstract ExtensionContext |
+ExtensionContext.appendModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the lowest priority
+ modifier (that is, being called after all other modifiers registered). |
+
abstract ExtensionContext |
+ExtensionContext.insertModifier(ReaderWriterModifier modifier)
+Method for inserting specified
+ReaderWriterModifier as the highest priority
+ modifier (that is, being called before any other modifiers registered). |
+
static ReaderWriterModifier |
+ReaderWriterModifier.Pair.of(ReaderWriterModifier primary,
+ ReaderWriterModifier secondary)
+Factory method for "combining" given 2 modifiers so that if neither is
+null ,
+ a ReaderWriterModifier.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
Constructor and Description | +
---|
Pair(ReaderWriterModifier p,
+ ReaderWriterModifier s) |
+
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterModifier |
+ValueReaderLocator._readerModifier
+Provider for reader customizer, if any; may be null.
+ |
+
protected ReaderWriterModifier |
+ValueWriterLocator._writerModifier
+Provider for reader customizer, if any; may be null.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ReaderWriterModifier |
+ValueReaderLocator.readerWriterModifier() |
+
Modifier and Type | +Method and Description | +
---|---|
static ValueReaderLocator |
+ValueReaderLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
static ValueWriterLocator |
+ValueWriterLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueReaderLocator |
+ValueReaderLocator.with(ReaderWriterModifier rwm) |
+
ValueWriterLocator |
+ValueWriterLocator.with(ReaderWriterModifier rwm) |
+
Constructor and Description | +
---|
ValueReaderLocator(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance
+ |
+
ValueReaderLocator(ValueReaderLocator base,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueWriterLocator(int features,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance (and variations)
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.Pair.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.Pair.html new file mode 100644 index 00000000..c9262a80 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.Pair.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.html new file mode 100644 index 00000000..015b0bed --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ReaderWriterProvider.html @@ -0,0 +1,382 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
ReaderWriterProvider |
+JSON.Builder.readerWriterProvider() |
+
Modifier and Type | +Method and Description | +
---|---|
JSON |
+JSON.with(ReaderWriterProvider rwp)
+Deprecated.
+
+Since 2.11 should register using
+JacksonJrExtension |
+
Modifier and Type | +Class and Description | +
---|---|
static class |
+ReaderWriterProvider.Pair
+Implementation that allows chaining of two providers, one (first) with higher precedence
+ than the other (second).
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterProvider |
+ReaderWriterProvider.Pair._primary |
+
protected ReaderWriterProvider |
+ReaderWriterProvider.Pair._secondary |
+
Modifier and Type | +Method and Description | +
---|---|
static ReaderWriterProvider |
+ReaderWriterProvider.Pair.of(ReaderWriterProvider primary,
+ ReaderWriterProvider secondary)
+Factory method for "combining" given 2 providers so that if neither is
+null ,
+ a ReaderWriterProvider.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
Modifier and Type | +Method and Description | +
---|---|
abstract ExtensionContext |
+ExtensionContext.appendProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the lowest priority
+ provider (that is, having lower precedence than anything registered so far) |
+
abstract ExtensionContext |
+ExtensionContext.insertProvider(ReaderWriterProvider provider)
+Method for inserting specified
+ReaderWriterProvider as the highest priority
+ provider (that is, having higher precedence than anything registered so far) |
+
static ReaderWriterProvider |
+ReaderWriterProvider.Pair.of(ReaderWriterProvider primary,
+ ReaderWriterProvider secondary)
+Factory method for "combining" given 2 providers so that if neither is
+null ,
+ a ReaderWriterProvider.Pair is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null s, null is returned. |
+
Constructor and Description | +
---|
Pair(ReaderWriterProvider p,
+ ReaderWriterProvider s) |
+
Modifier and Type | +Field and Description | +
---|---|
protected ReaderWriterProvider |
+ValueReaderLocator._readerProvider
+Provider for custom readers, if any; may be null.
+ |
+
protected ReaderWriterProvider |
+ValueWriterLocator._writerProvider
+Provider for custom writers, if any; may be null.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ReaderWriterProvider |
+ValueReaderLocator.readerWriterProvider() |
+
Modifier and Type | +Method and Description | +
---|---|
static ValueReaderLocator |
+ValueReaderLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
static ValueWriterLocator |
+ValueWriterLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueReaderLocator |
+ValueReaderLocator.with(ReaderWriterProvider rwp) |
+
ValueWriterLocator |
+ValueWriterLocator.with(ReaderWriterProvider rwp) |
+
Constructor and Description | +
---|
ValueReaderLocator(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance
+ |
+
ValueReaderLocator(ValueReaderLocator base,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueWriterLocator(int features,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance (and variations)
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueReader.html new file mode 100644 index 00000000..700f26ef --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueReader.html @@ -0,0 +1,488 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+ReaderWriterProvider.findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findValueReader(JSONReader readContext,
+ Class<?> type)
+Method called to find custom reader for given type that is NOT one of
+ special container types (
+Collection ,
+ Map ): typically value is a scalar, Bean or Enum. |
+
ValueReader |
+ReaderWriterProvider.Pair.findValueReader(JSONReader ctxt,
+ Class<?> type) |
+
ValueReader |
+ReaderWriterModifier.modifyValueReader(JSONReader readContext,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueReader |
+ReaderWriterModifier.Pair.modifyValueReader(JSONReader ctxt,
+ Class<?> type,
+ ValueReader defaultReader) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+ReaderWriterProvider.findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterModifier.modifyValueReader(JSONReader readContext,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueReader |
+ReaderWriterModifier.Pair.modifyValueReader(JSONReader ctxt,
+ Class<?> type,
+ ValueReader defaultReader) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AnyReader
+ValueReader used for "untyped" values; ones that are bound
+ to whatever Object is the natural mapping to JSON
+ value that parser currently points to |
+
class |
+ArrayReader
+Reader for typed Array values.
+ |
+
class |
+BeanReader
+Class that contains information about dynamically introspected
+ Bean types, to be able to deserialize (read) JSON into a POJO
+ and serialize (write) POJO as JSON.
+ |
+
class |
+CollectionReader
+Reader for typed
+Collection values. |
+
class |
+EnumReader
+Reader for Enum values: needed because we need a simple
+Map
+ for efficient conversion from id (gotten with Enum.toString()
+ to value. |
+
class |
+MapReader
+Reader for typed
+Map values. |
+
class |
+SimpleValueReader
+Default
+ValueReader used for simple scalar types and related,
+ not including POJO-, Map and Collection
+ types. |
+
Modifier and Type | +Field and Description | +
---|---|
protected ValueReader |
+ArrayReader._valueReader |
+
protected ValueReader |
+CollectionReader._valueReader |
+
protected ValueReader |
+MapReader._valueReader |
+
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ValueReader> |
+ValueReaderLocator._incompleteReaders
+During resolution, some readers may be in-progress, but need to be
+ linked: for example, with cyclic type references.
+ |
+
protected ConcurrentHashMap<ClassKey,ValueReader> |
+ValueReaderLocator._knownReaders
+Set of
+ValueReader s that we have resolved |
+
Modifier and Type | +Method and Description | +
---|---|
protected ValueReader |
+ValueReaderLocator._createReader(Class<?> contextType,
+ Class<?> type,
+ Type genericType) |
+
protected ValueReader |
+ValueReaderLocator.arrayReader(Class<?> contextType,
+ Class<?> arrayType) |
+
protected ValueReader |
+ValueReaderLocator.beanReader(Class<?> type) |
+
protected ValueReader |
+ValueReaderLocator.collectionReader(Class<?> collectionType,
+ ResolvedType valueType) |
+
protected ValueReader |
+ValueReaderLocator.collectionReader(Class<?> contextType,
+ Type collectionType) |
+
protected ValueReader |
+ValueReaderLocator.createReader(Class<?> contextType,
+ Class<?> type,
+ Type genericType)
+Factory method for creating standard readers of any declared type.
+ |
+
protected ValueReader |
+ValueReaderLocator.enumReader(Class<?> enumType) |
+
ValueReader |
+ValueReaderLocator.findReader(Class<?> raw)
+Method used during deserialization to find handler for given
+ non-generic type: will first check for already resolved (and cached) readers
+ -- and return if one found -- and then if no cached reader found, create
+ one, cache, return.
+ |
+
ValueReader |
+BeanPropertyReader.getReader() |
+
protected ValueReader |
+ValueReaderLocator.mapReader(Class<?> mapType,
+ ResolvedType valueType) |
+
protected ValueReader |
+ValueReaderLocator.mapReader(Class<?> contextType,
+ Type mapType) |
+
Modifier and Type | +Method and Description | +
---|---|
BeanPropertyReader |
+BeanPropertyReader.withReader(ValueReader vr) |
+
Constructor and Description | +
---|
ArrayReader(Class<?> arrayType,
+ Class<?> elementType,
+ ValueReader vr) |
+
BeanPropertyReader(BeanPropertyReader src,
+ ValueReader vr) |
+
CollectionReader(Class<?> t,
+ ValueReader vr) |
+
MapReader(Class<?> mapType,
+ ValueReader vr) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueWriter.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueWriter.html new file mode 100644 index 00000000..fab71175 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/class-use/ValueWriter.html @@ -0,0 +1,274 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
ValueWriter |
+ReaderWriterProvider.findValueWriter(JSONWriter writeContext,
+ Class<?> type) |
+
ValueWriter |
+ReaderWriterProvider.Pair.findValueWriter(JSONWriter ctxt,
+ Class<?> type) |
+
ValueWriter |
+ReaderWriterModifier.modifyValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+ReaderWriterModifier.Pair.modifyValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ ValueWriter defaultWriter) |
+
ValueWriter |
+ReaderWriterModifier.overrideStandardValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ int stdTypeId)
+Method called instead of
+ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter) for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter and are
+ normally directly serialized by JSONWriter itself. |
+
ValueWriter |
+ReaderWriterModifier.Pair.overrideStandardValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ int stdTypeId) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueWriter |
+ReaderWriterModifier.modifyValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+ReaderWriterModifier.Pair.modifyValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ ValueWriter defaultWriter) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BeanWriter |
+
Modifier and Type | +Field and Description | +
---|---|
protected CopyOnWriteArrayList<ValueWriter> |
+ValueWriterLocator._knownWriters |
+
Modifier and Type | +Method and Description | +
---|---|
ValueWriter |
+ValueWriterLocator.getValueWriter(int index) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/package-frame.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/package-frame.html new file mode 100644 index 00000000..1e110c32 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/package-frame.html @@ -0,0 +1,33 @@ + + + + + + +Interface | +Description | +
---|---|
ValueWriter | ++ |
Class | +Description | +
---|---|
CollectionBuilder | +
+ Helper class that is used for constructing
+Collection s
+ to map JSON Array values in. |
+
CollectionBuilder.Default | +
+ Default
+CollectionBuilder implementation, which uses ArrayList
+ as the type of List to build, unless instructed otherwise. |
+
ExtensionContext | +
+ API that lets
+JacksonJrExtension s to register handlers
+ it needs to. |
+
MapBuilder | +
+ Helper class that is used for constructing
+Map s
+ to map JSON Object values in. |
+
MapBuilder.Default | +
+ Default
+MapBuilder implementation which builds
+ either HashMap or LinkedHashMap instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING ). |
+
ReaderWriterModifier | +
+ API to implement to apply modifications to
+ValueReader s and
+ ValueWriter s of all kinds (default scalar ones, custom ones,
+ POJO ones). |
+
ReaderWriterModifier.Pair | +
+ Implementation that allows chaining of two modifiers, one (first) with higher precedence
+ than the other (second).
+ |
+
ReaderWriterProvider | +
+ API to implement to provide custom
+ValueReader s and
+ ValueWriter s. |
+
ReaderWriterProvider.Pair | +
+ Implementation that allows chaining of two providers, one (first) with higher precedence
+ than the other (second).
+ |
+
ValueReader | +
+ API and base class for all "deserializer" implementations used to actually read
+ values of Java types from (JSON) input.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/package-tree.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/package-tree.html new file mode 100644 index 00000000..9b8b9d08 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/package-tree.html @@ -0,0 +1,163 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/package-use.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/package-use.html new file mode 100644 index 00000000..1fbad0f5 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/api/package-use.html @@ -0,0 +1,292 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Class and Description | +
---|
CollectionBuilder
+ Helper class that is used for constructing
+Collection s
+ to map JSON Array values in. |
+
ExtensionContext
+ API that lets
+JacksonJrExtension s to register handlers
+ it needs to. |
+
MapBuilder
+ Helper class that is used for constructing
+Map s
+ to map JSON Object values in. |
+
ReaderWriterModifier
+ API to implement to apply modifications to
+ValueReader s and
+ ValueWriter s of all kinds (default scalar ones, custom ones,
+ POJO ones). |
+
ReaderWriterProvider
+ API to implement to provide custom
+ValueReader s and
+ ValueWriter s. |
+
Class and Description | +
---|
CollectionBuilder
+ Helper class that is used for constructing
+Collection s
+ to map JSON Array values in. |
+
ExtensionContext
+ API that lets
+JacksonJrExtension s to register handlers
+ it needs to. |
+
MapBuilder
+ Helper class that is used for constructing
+Map s
+ to map JSON Object values in. |
+
ReaderWriterModifier
+ API to implement to apply modifications to
+ValueReader s and
+ ValueWriter s of all kinds (default scalar ones, custom ones,
+ POJO ones). |
+
ReaderWriterProvider
+ API to implement to provide custom
+ValueReader s and
+ ValueWriter s. |
+
ValueReader
+ API and base class for all "deserializer" implementations used to actually read
+ values of Java types from (JSON) input.
+ |
+
ValueWriter | +
Class and Description | +
---|
CollectionBuilder
+ Helper class that is used for constructing
+Collection s
+ to map JSON Array values in. |
+
MapBuilder
+ Helper class that is used for constructing
+Map s
+ to map JSON Object values in. |
+
ReaderWriterModifier
+ API to implement to apply modifications to
+ValueReader s and
+ ValueWriter s of all kinds (default scalar ones, custom ones,
+ POJO ones). |
+
ReaderWriterProvider
+ API to implement to provide custom
+ValueReader s and
+ ValueWriter s. |
+
ValueReader
+ API and base class for all "deserializer" implementations used to actually read
+ values of Java types from (JSON) input.
+ |
+
ValueWriter | +
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Builder.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Builder.html new file mode 100644 index 00000000..d3ac589f --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Builder.html @@ -0,0 +1,236 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
Modifier and Type | +Method and Description | +
---|---|
static JSON.Builder |
+JSON.builder() |
+
static JSON.Builder |
+JSON.builder(JsonFactory streamFactory) |
+
JSON.Builder |
+JSON.Builder.collectionBuilder(CollectionBuilder b) |
+
JSON.Builder |
+JSON.Builder.disable(JSON.Feature... features)
+Method for disabling a set of Features for
+JSON to be built. |
+
JSON.Builder |
+JSON.Builder.enable(JSON.Feature... features)
+Method for enabling a set of Features for
+JSON to be built. |
+
JSON.Builder |
+JSON.Builder.jsonReader(JSONReader r) |
+
JSON.Builder |
+JSON.Builder.jsonWriter(JSONWriter w) |
+
JSON.Builder |
+JSON.Builder.mapBuilder(MapBuilder b) |
+
JSON.Builder |
+JSON.Builder.prettyPrinter(PrettyPrinter pp)
+Method for specifying
+PrettyPrinter JSON to be built
+ should use on serialization. |
+
JSON.Builder |
+JSON.Builder.register(JacksonJrExtension extension)
+Method for registering given extension to be used by
+JSON
+ this builder builds. |
+
JSON.Builder |
+JSON.Builder.set(JSON.Feature feature,
+ boolean state) |
+
JSON.Builder |
+JSON.Builder.treeCodec(TreeCodec tc)
+
+ |
+
Constructor and Description | +
---|
JSON(JSON.Builder b)
+Constructor used when creating instance using
+JSON.Builder . |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Feature.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Feature.html new file mode 100644 index 00000000..3e09a309 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.Feature.html @@ -0,0 +1,284 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
static JSON.Feature |
+JSON.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static JSON.Feature[] |
+JSON.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
JSON.Builder |
+JSON.Builder.disable(JSON.Feature... features)
+Method for disabling a set of Features for
+JSON to be built. |
+
JSON.Builder |
+JSON.Builder.enable(JSON.Feature... features)
+Method for enabling a set of Features for
+JSON to be built. |
+
boolean |
+JSON.isEnabled(JSON.Feature f) |
+
boolean |
+JSON.Builder.isEnabled(JSON.Feature f) |
+
JSON.Builder |
+JSON.Builder.set(JSON.Feature feature,
+ boolean state) |
+
JSON |
+JSON.with(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ enabled.
+ |
+
JSON |
+JSON.with(JSON.Feature feature,
+ boolean state)
+Mutant factory for constructing an instance with specified feature
+ enabled or disabled (depending on
+state ), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance. |
+
JSON |
+JSON.without(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ disabled.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+MapBuilder.isEnabled(JSON.Feature f) |
+
boolean |
+CollectionBuilder.isEnabled(JSON.Feature f) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+JSONWriter.isEnabled(JSON.Feature f) |
+
boolean |
+JSONReader.isEnabled(JSON.Feature f) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.html new file mode 100644 index 00000000..45ce2fbd --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSON.html @@ -0,0 +1,348 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
static JSON |
+JSON.std
+Singleton instance with standard, default configuration.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSON |
+JSON._with(int features)
+Internal mutant factory method used for constructing
+ |
+
protected JSON |
+JSON._with(int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader reader,
+ JSONWriter writer,
+ PrettyPrinter pp) |
+
JSON |
+JSON.Builder.build() |
+
JSON |
+JSON.with(CollectionBuilder b)
+Mutant factory for constructing an instance with specified
+CollectionBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+JSON.with(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ enabled.
+ |
+
JSON |
+JSON.with(JSON.Feature feature,
+ boolean state)
+Mutant factory for constructing an instance with specified feature
+ enabled or disabled (depending on
+state ), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance. |
+
JSON |
+JSON.with(JsonFactory f)
+Deprecated.
+
+Since 2.11 should not try changing underlying stream factory but create
+ a new instance if necessary: method will be removed from 3.0 at latest
+ |
+
JSON |
+JSON.with(JSONReader r)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+JSON.with(JSONWriter w)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+JSON.with(MapBuilder b)
+Mutant factory for constructing an instance with specified
+MapBuilder ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+JSON.with(PrettyPrinter pp)
+Mutant factory for constructing an instance with specified
+PrettyPrinter ,
+ and returning new instance (or, if there would be no change, this instance). |
+
JSON |
+JSON.with(ReaderWriterProvider rwp)
+Deprecated.
+
+Since 2.11 should register using
+JacksonJrExtension |
+
JSON |
+JSON.with(TreeCodec c)
+Deprecated.
+
+Since 2.11 should try using builder (see
+builder() and create
+ properly configured instance |
+
JSON |
+JSON.without(JSON.Feature... features)
+Mutant factory for constructing an instance with specified features
+ disabled.
+ |
+
Constructor and Description | +
---|
JSON(JSON base,
+ int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader r,
+ JSONWriter w,
+ PrettyPrinter pp) |
+
JSON(JSON base,
+ ValueReaderLocator rloc,
+ ValueWriterLocator wloc) |
+
Modifier and Type | +Field and Description | +
---|---|
protected JSON |
+JSONAsObjectCodec._json |
+
Constructor and Description | +
---|
JSONAsObjectCodec(JSON json) |
+
JSONAsObjectCodec(JSON json,
+ JsonFactory jf) |
+
JSONAsObjectCodec(JSON json,
+ JsonFactory jf,
+ TreeCodec treeCodec) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONComposer.html new file mode 100644 index 00000000..2b2ed6ce --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONComposer.html @@ -0,0 +1,217 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected JSONComposer<T> |
+JSONComposer._start() |
+
static JSONComposer<byte[]> |
+JSONComposer.bytesComposer(int features,
+ JsonGenerator gen,
+ ByteArrayBuilder w) |
+
static <T extends Collection<Object>> |
+JSONComposer.collectionComposer(int features,
+ T coll) |
+
JSONComposer<byte[]> |
+JSON.composeBytes() |
+
JSONComposer<String> |
+JSON.composeString() |
+
JSONComposer<OutputStream> |
+JSON.composeTo(File f) |
+
JSONComposer<OutputStream> |
+JSON.composeTo(OutputStream out) |
+
JSONComposer<OutputStream> |
+JSON.composeTo(Writer w) |
+
JSONComposer<OutputStream> |
+JSON.composeUsing(JsonGenerator gen) |
+
static JSONComposer<Map<String,Object>> |
+JSONComposer.mapComposer(int features,
+ Map<String,Object> map) |
+
static <RESULT> JSONComposer<RESULT> |
+JSONComposer.streamComposer(int features,
+ JsonGenerator gen,
+ boolean closeGenerator) |
+
static JSONComposer<String> |
+JSONComposer.stringComposer(int features,
+ JsonGenerator gen,
+ SegmentedStringWriter w) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.Reference.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.Reference.html new file mode 100644 index 00000000..d7b1bb89 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.Reference.html @@ -0,0 +1,206 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected LinkedList<JSONObjectException.Reference> |
+JSONObjectException._path
+Path through which problem that triggering throwing of
+ this exception was reached.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<JSONObjectException.Reference> |
+JSONObjectException.getPath()
+Method for accessing full structural path within type hierarchy
+ down to problematic property.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+JSONObjectException.prependPath(JSONObjectException.Reference r) |
+
static JSONObjectException |
+JSONObjectException.wrapWithPath(Throwable src,
+ JSONObjectException.Reference ref)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.html new file mode 100644 index 00000000..f3516705 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JSONObjectException.html @@ -0,0 +1,456 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
static JSONObjectException |
+JSONObjectException.from(JsonParser p,
+ String msg) |
+
static JSONObjectException |
+JSONObjectException.from(JsonParser p,
+ String msg,
+ Object... args) |
+
static JSONObjectException |
+JSONObjectException.from(JsonParser p,
+ Throwable problem,
+ String msg,
+ Object... args) |
+
static JSONObjectException |
+JSONObjectException.fromUnexpectedIOE(IOException src)
+Factory method used when "upgrading" an
+IOException into
+ JSONObjectException : usually only needed to comply with
+ a signature. |
+
static JSONObjectException |
+JSONObjectException.wrapWithPath(Throwable src,
+ JSONObjectException.Reference ref)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
static JSONObjectException |
+JSONObjectException.wrapWithPath(Throwable src,
+ Object refFrom,
+ int index)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
static JSONObjectException |
+JSONObjectException.wrapWithPath(Throwable src,
+ Object refFrom,
+ String refFieldName)
+Method that can be called to either create a new JsonMappingException
+ (if underlying exception is not a JsonMappingException), or augment
+ given exception with given path/reference information.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected <R> R |
+ValueIterator._handleMappingException(JSONObjectException e) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JsonParser |
+JSON._parser(Object source) |
+
ValueIterator<Object> |
+JSON.anySequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map ,
+ List , String , Number or Boolean . |
+
Object[] |
+JSON.arrayFrom(Object source) |
+
<T> T[] |
+JSON.arrayOfFrom(Class<T> type,
+ Object source) |
+
byte[] |
+JSON.asBytes(Object value) |
+
String |
+JSON.asString(Object value) |
+
<T> T |
+JSON.beanFrom(Class<T> type,
+ Object source) |
+
<T> ValueIterator<T> |
+JSON.beanSequenceFrom(Class<T> type,
+ Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type. |
+
JSONComposer<byte[]> |
+JSON.composeBytes() |
+
JSONComposer<String> |
+JSON.composeString() |
+
JSONComposer<OutputStream> |
+JSON.composeTo(File f) |
+
JSONComposer<OutputStream> |
+JSON.composeTo(OutputStream out) |
+
JSONComposer<OutputStream> |
+JSON.composeTo(Writer w) |
+
JSONComposer<OutputStream> |
+JSON.composeUsing(JsonGenerator gen) |
+
JsonParser |
+JSON.createParser(Object source)
+Factory method for opening a
+JsonParser to read content from one of
+ following supported sources
+
+ InputStream
+ Reader
+ byte[]
+ char[]
+ String /CharSequence
+ URL
+ File
+ |
+
List<Object> |
+JSON.listFrom(Object source) |
+
<T> List<T> |
+JSON.listOfFrom(Class<T> type,
+ Object source) |
+
Map<String,Object> |
+JSON.mapFrom(Object source) |
+
<T> Map<String,T> |
+JSON.mapOfFrom(Class<T> type,
+ Object source)
+Read method for reading a
+Map of type (usually POJO) values. |
+
<T extends TreeNode> |
+JSON.treeFrom(Object source)
+Method for reading content as a JSON Tree (of type that configured
+
+TreeCodec , see JSON.with(TreeCodec) ) supports. |
+
<T extends TreeNode> |
+JSON.treeSequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec , see JSON.with(TreeCodec) ) supports. |
+
void |
+JSON.write(Object value,
+ File f) |
+
void |
+JSON.write(Object value,
+ JsonGenerator gen) |
+
void |
+JSON.write(Object value,
+ OutputStream out) |
+
void |
+JSON.write(Object value,
+ Writer w) |
+
Modifier and Type | +Method and Description | +
---|---|
Map<String,Object> |
+MapBuilder.emptyMap()
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
Map<String,Object> |
+MapBuilder.singletonMap(String key,
+ Object value)
+Specialized method that is called when an empty list needs to
+ be constructed; this may be a new list, or an immutable shared
+ List, depending on implementation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONObjectException |
+JSONAsObjectCodec._noTypeReference() |
+
protected JSONObjectException |
+MapReader._reportProblem(JsonParser p) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+JSONAsObjectCodec._checkResultType(Class<?> valueType,
+ Object ob) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JacksonJrExtension.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JacksonJrExtension.html new file mode 100644 index 00000000..215e6e3f --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/JacksonJrExtension.html @@ -0,0 +1,168 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
Modifier and Type | +Method and Description | +
---|---|
JSON.Builder |
+JSON.Builder.register(JacksonJrExtension extension)
+Method for registering given extension to be used by
+JSON
+ this builder builds. |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/PackageVersion.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/PackageVersion.html new file mode 100644 index 00000000..bbef0944 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/PackageVersion.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/ValueIterator.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/ValueIterator.html new file mode 100644 index 00000000..7f8e9691 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/class-use/ValueIterator.html @@ -0,0 +1,208 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected static ValueIterator<?> |
+ValueIterator.EMPTY_ITERATOR |
+
Modifier and Type | +Method and Description | +
---|---|
ValueIterator<Object> |
+JSON.anySequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map ,
+ List , String , Number or Boolean . |
+
<T> ValueIterator<T> |
+JSON.beanSequenceFrom(Class<T> type,
+ Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type. |
+
protected static <T> ValueIterator<T> |
+ValueIterator.emptyIterator() |
+
<T extends TreeNode> |
+JSON.treeSequenceFrom(Object source)
+Method for creating
+ValueIterator for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec , see JSON.with(TreeCodec) ) supports. |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/ArrayComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/ArrayComposer.html new file mode 100644 index 00000000..3cf5a1be --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/ArrayComposer.html @@ -0,0 +1,405 @@ + + + + + + +public class ArrayComposer<PARENT extends ComposerBase> +extends SequenceComposer<ArrayComposer<PARENT>>+
Modifier and Type | +Field and Description | +
---|---|
protected PARENT |
+_parent |
+
_generator
_child, _open
Constructor and Description | +
---|
ArrayComposer(PARENT parent,
+ JsonGenerator g) |
+
Modifier and Type | +Method and Description | +
---|---|
protected Object |
+_finish() |
+
protected ArrayComposer<PARENT> |
+_start() |
+
PARENT |
+end() |
+
_closeChild, _this, add, add, add, add, add, add, addNull, addObject, flush, startArray, startObject
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final PARENT extends ComposerBase _parent+
public ArrayComposer(PARENT parent, + JsonGenerator g)+
protected ArrayComposer<PARENT> _start() + throws IOException, + JsonProcessingException+
_start
in class ComposerBase
IOException
JsonProcessingException
protected Object _finish() + throws IOException, + JsonProcessingException+
_finish
in class ComposerBase
IOException
JsonProcessingException
public PARENT end() + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/CollectionComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/CollectionComposer.html new file mode 100644 index 00000000..d442f23f --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/CollectionComposer.html @@ -0,0 +1,600 @@ + + + + + + +public class CollectionComposer<PARENT extends ComposerBase,C extends Collection<Object>> +extends ComposerBase+
Modifier and Type | +Field and Description | +
---|---|
protected C |
+_collection |
+
protected PARENT |
+_parent |
+
_child, _open
Constructor and Description | +
---|
CollectionComposer(C coll) |
+
CollectionComposer(PARENT parent) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_closeChild() |
+
protected C |
+_finish() |
+
protected CollectionComposer<PARENT,C> |
+_start() |
+
CollectionComposer<PARENT,C> |
+add(boolean value) |
+
CollectionComposer<PARENT,C> |
+add(CharSequence value) |
+
CollectionComposer<PARENT,C> |
+add(double value) |
+
CollectionComposer<PARENT,C> |
+add(int value) |
+
CollectionComposer<PARENT,C> |
+add(long value) |
+
CollectionComposer<PARENT,C> |
+add(String value) |
+
CollectionComposer<PARENT,C> |
+addNull() |
+
CollectionComposer<PARENT,C> |
+addObject(Object pojo)
+Method used to add Java Object ("POJO") into sequence being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object. |
+
protected C |
+constructCollection() |
+
PARENT |
+end() |
+
C |
+finish() |
+
void |
+flush() |
+
static <T extends Collection<Object>> |
+rootComposer(T coll) |
+
CollectionComposer<CollectionComposer<PARENT,C>,?> |
+startArray() |
+
MapComposer<CollectionComposer<PARENT,C>> |
+startObject() |
+
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final PARENT extends ComposerBase _parent+
protected C extends Collection<Object> _collection+
public CollectionComposer(PARENT parent)+
public CollectionComposer(C coll)+
public static <T extends Collection<Object>> CollectionComposer<?,T> rootComposer(T coll)+
public void flush()+
protected CollectionComposer<PARENT,C> _start()+
_start
in class ComposerBase
protected C _finish()+
_finish
in class ComposerBase
public CollectionComposer<CollectionComposer<PARENT,C>,?> startArray()+
public MapComposer<CollectionComposer<PARENT,C>> startObject()+
public C finish()+
public CollectionComposer<PARENT,C> add(int value)+
public CollectionComposer<PARENT,C> add(long value)+
public CollectionComposer<PARENT,C> add(double value)+
public CollectionComposer<PARENT,C> add(String value)+
public CollectionComposer<PARENT,C> add(CharSequence value)+
public CollectionComposer<PARENT,C> addNull()+
public CollectionComposer<PARENT,C> add(boolean value)+
public CollectionComposer<PARENT,C> addObject(Object pojo)+
JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object.public PARENT end()+
protected C constructCollection()+
protected void _closeChild()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/ComposerBase.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/ComposerBase.html new file mode 100644 index 00000000..5975f41d --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/ComposerBase.html @@ -0,0 +1,479 @@ + + + + + + +public abstract class ComposerBase +extends Object +implements Flushable+
Modifier and Type | +Field and Description | +
---|---|
protected ComposerBase |
+_child |
+
protected boolean |
+_open |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+ComposerBase() |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_childClosed() |
+
protected abstract Object |
+_finish() |
+
protected IllegalStateException |
+_illegalCall() |
+
protected Object |
+_safeFinish()
+Helper method used to "peel away" bogus exception declaration
+ |
+
protected abstract ComposerBase |
+_start() |
+
protected <P extends ComposerBase> |
+_startArray(P parent,
+ JsonGenerator g) |
+
protected <P extends ComposerBase> |
+_startCollection(P parent) |
+
protected <P extends ComposerBase> |
+_startMap(P parent) |
+
protected <P extends ComposerBase> |
+_startObject(P parent,
+ JsonGenerator g) |
+
protected ComposerBase _child+
protected boolean _open+
protected abstract ComposerBase _start() + throws IOException+
IOException
protected abstract Object _finish() + throws IOException+
IOException
protected Object _safeFinish()+
protected final void _childClosed()+
protected IllegalStateException _illegalCall()+
protected <P extends ComposerBase> ArrayComposer<P> _startArray(P parent, + JsonGenerator g) + throws IOException+
IOException
protected <P extends ComposerBase> ObjectComposer<P> _startObject(P parent, + JsonGenerator g) + throws IOException+
IOException
protected <P extends ComposerBase> CollectionComposer<P,?> _startCollection(P parent)+
protected <P extends ComposerBase> MapComposer<P> _startMap(P parent)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/MapComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/MapComposer.html new file mode 100644 index 00000000..2e5d5b1f --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/MapComposer.html @@ -0,0 +1,630 @@ + + + + + + +public class MapComposer<PARENT extends ComposerBase> +extends ComposerBase+
Modifier and Type | +Field and Description | +
---|---|
protected String |
+_fieldName |
+
protected Map<String,Object> |
+_map |
+
protected PARENT |
+_parent |
+
_child, _open
Constructor and Description | +
---|
MapComposer(Map<String,Object> map) |
+
MapComposer(PARENT parent) |
+
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final PARENT extends ComposerBase _parent+
protected String _fieldName+
public MapComposer(PARENT parent)+
public static MapComposer<?> rootComposer(Map<String,Object> map)+
public void flush() + throws IOException+
IOException
protected MapComposer<PARENT> _start()+
_start
in class ComposerBase
protected Map<String,Object> _finish()+
_finish
in class ComposerBase
public CollectionComposer<MapComposer<PARENT>,?> startArrayField(String fieldName)+
public CollectionComposer<MapComposer<PARENT>,?> startArrayField(SerializableString fieldName)+
public MapComposer<MapComposer<PARENT>> startObjectField(String fieldName)+
public MapComposer<MapComposer<PARENT>> startObjectField(SerializableString fieldName)+
public PARENT end()+
public MapComposer<PARENT> put(String fieldName, + boolean value)+
public MapComposer<PARENT> putNull(String fieldName)+
public MapComposer<PARENT> put(String fieldName, + int value)+
public MapComposer<PARENT> put(String fieldName, + long value)+
public MapComposer<PARENT> put(String fieldName, + double value)+
public MapComposer<PARENT> put(String fieldName, + String value)+
public MapComposer<PARENT> put(String fieldName, + CharSequence value)+
protected void _closeChild()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/ObjectComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/ObjectComposer.html new file mode 100644 index 00000000..cf8339b9 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/ObjectComposer.html @@ -0,0 +1,702 @@ + + + + + + +public class ObjectComposer<PARENT extends ComposerBase> +extends ComposerBase+
Modifier and Type | +Field and Description | +
---|---|
protected JsonGenerator |
+_generator |
+
protected PARENT |
+_parent |
+
_child, _open
Constructor and Description | +
---|
ObjectComposer(PARENT parent,
+ JsonGenerator g) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_closeChild() |
+
protected Object |
+_finish() |
+
protected ObjectComposer<PARENT> |
+_start() |
+
PARENT |
+end() |
+
void |
+flush() |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ boolean value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ CharSequence value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ double value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ int value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ long value) |
+
ObjectComposer<PARENT> |
+put(String fieldName,
+ String value) |
+
ObjectComposer<PARENT> |
+putNull(String fieldName) |
+
ObjectComposer<PARENT> |
+putObject(String fieldName,
+ Object value)
+Method used to put a Java Object ("POJO") value into Object being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object. |
+
ArrayComposer<ObjectComposer<PARENT>> |
+startArrayField(SerializableString fieldName) |
+
ArrayComposer<ObjectComposer<PARENT>> |
+startArrayField(String fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+startObjectField(SerializableString fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+startObjectField(String fieldName) |
+
_childClosed, _illegalCall, _safeFinish, _startArray, _startCollection, _startMap, _startObject
protected final PARENT extends ComposerBase _parent+
protected final JsonGenerator _generator+
public ObjectComposer(PARENT parent, + JsonGenerator g)+
public void flush() + throws IOException+
IOException
protected ObjectComposer<PARENT> _start() + throws IOException, + JsonProcessingException+
_start
in class ComposerBase
IOException
JsonProcessingException
protected Object _finish() + throws IOException, + JsonProcessingException+
_finish
in class ComposerBase
IOException
JsonProcessingException
public ArrayComposer<ObjectComposer<PARENT>> startArrayField(String fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ArrayComposer<ObjectComposer<PARENT>> startArrayField(SerializableString fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<ObjectComposer<PARENT>> startObjectField(String fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<ObjectComposer<PARENT>> startObjectField(SerializableString fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public PARENT end() + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + boolean value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> putNull(String fieldName) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> putObject(String fieldName, + Object value) + throws IOException, + JsonProcessingException+
JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object.IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + int value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + long value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + double value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + String value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
public ObjectComposer<PARENT> put(String fieldName, + CharSequence value) + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
protected void _closeChild() + throws IOException, + JsonProcessingException+
IOException
JsonProcessingException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/SequenceComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/SequenceComposer.html new file mode 100644 index 00000000..59544886 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/SequenceComposer.html @@ -0,0 +1,563 @@ + + + + + + +public abstract class SequenceComposer<THIS extends SequenceComposer<THIS>> +extends ComposerBase+
Modifier and Type | +Field and Description | +
---|---|
protected JsonGenerator |
+_generator |
+
_child, _open
Constructor and Description | +
---|
SequenceComposer(JsonGenerator g) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_closeChild() |
+
protected THIS |
+_this() |
+
THIS |
+add(boolean value) |
+
THIS |
+add(CharSequence value) |
+
THIS |
+add(double value) |
+
THIS |
+add(int value) |
+
THIS |
+add(long value) |
+
THIS |
+add(String value) |
+
THIS |
+addNull() |
+
THIS |
+addObject(Object pojo)
+Method used to add Java Object ("POJO") into sequence being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configure ObjectCodec
+ to use for serializer object. |
+
void |
+flush()
+Calls
+JsonGenerator.flush() on underlying JsonGenerator . |
+
ArrayComposer<THIS> |
+startArray() |
+
ObjectComposer<THIS> |
+startObject() |
+
_childClosed, _finish, _illegalCall, _safeFinish, _start, _startArray, _startCollection, _startMap, _startObject
protected final JsonGenerator _generator+
public SequenceComposer(JsonGenerator g)+
public void flush() + throws IOException+
JsonGenerator.flush()
on underlying JsonGenerator
.IOException
public ArrayComposer<THIS> startArray() + throws IOException+
IOException
public ObjectComposer<THIS> startObject() + throws IOException+
IOException
public THIS add(int value) + throws IOException+
IOException
public THIS add(long value) + throws IOException+
IOException
public THIS add(double value) + throws IOException+
IOException
public THIS add(String value) + throws IOException+
IOException
public THIS add(CharSequence value) + throws IOException+
IOException
public THIS addNull() + throws IOException+
IOException
public THIS add(boolean value) + throws IOException+
IOException
public THIS addObject(Object pojo) + throws IOException+
JsonGenerator
+ has a properly configure ObjectCodec
+ to use for serializer object.IOException
protected void _closeChild() + throws IOException+
IOException
protected THIS _this()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ArrayComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ArrayComposer.html new file mode 100644 index 00000000..8f7e5e2d --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ArrayComposer.html @@ -0,0 +1,182 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected ArrayComposer<PARENT> |
+ArrayComposer._start() |
+
protected <P extends ComposerBase> |
+ComposerBase._startArray(P parent,
+ JsonGenerator g) |
+
ArrayComposer<THIS> |
+SequenceComposer.startArray() |
+
ArrayComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startArrayField(SerializableString fieldName) |
+
ArrayComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startArrayField(String fieldName) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/CollectionComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/CollectionComposer.html new file mode 100644 index 00000000..9c5595eb --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/CollectionComposer.html @@ -0,0 +1,265 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Method and Description | +
---|---|
<C extends Collection<Object>> |
+JSON.composeCollection(C collection) |
+
CollectionComposer<?,List<Object>> |
+JSON.composeList() |
+
Modifier and Type | +Method and Description | +
---|---|
protected CollectionComposer<PARENT,C> |
+CollectionComposer._start() |
+
protected <P extends ComposerBase> |
+ComposerBase._startCollection(P parent) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(boolean value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(CharSequence value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(double value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(int value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(long value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.add(String value) |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.addNull() |
+
CollectionComposer<PARENT,C> |
+CollectionComposer.addObject(Object pojo)
+Method used to add Java Object ("POJO") into sequence being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object. |
+
static <T extends Collection<Object>> |
+CollectionComposer.rootComposer(T coll) |
+
CollectionComposer<CollectionComposer<PARENT,C>,?> |
+CollectionComposer.startArray() |
+
CollectionComposer<MapComposer<PARENT>,?> |
+MapComposer.startArrayField(SerializableString fieldName) |
+
CollectionComposer<MapComposer<PARENT>,?> |
+MapComposer.startArrayField(String fieldName) |
+
Modifier and Type | +Method and Description | +
---|---|
CollectionComposer<CollectionComposer<PARENT,C>,?> |
+CollectionComposer.startArray() |
+
MapComposer<CollectionComposer<PARENT,C>> |
+CollectionComposer.startObject() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ComposerBase.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ComposerBase.html new file mode 100644 index 00000000..affabb58 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ComposerBase.html @@ -0,0 +1,300 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+JSONComposer<T>
+Root-level composer object that acts as streaming "builder"
+ object, using an underlying
+JsonGenerator object. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ArrayComposer<PARENT extends ComposerBase> |
+
class |
+CollectionComposer<PARENT extends ComposerBase,C extends Collection<Object>> |
+
class |
+MapComposer<PARENT extends ComposerBase> |
+
class |
+ObjectComposer<PARENT extends ComposerBase> |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ArrayComposer<PARENT extends ComposerBase> |
+
class |
+CollectionComposer<PARENT extends ComposerBase,C extends Collection<Object>> |
+
class |
+MapComposer<PARENT extends ComposerBase> |
+
class |
+ObjectComposer<PARENT extends ComposerBase> |
+
class |
+SequenceComposer<THIS extends SequenceComposer<THIS>> |
+
Modifier and Type | +Field and Description | +
---|---|
protected ComposerBase |
+ComposerBase._child |
+
protected PARENT |
+ArrayComposer._parent |
+
protected PARENT |
+ObjectComposer._parent |
+
protected PARENT |
+CollectionComposer._parent |
+
protected PARENT |
+MapComposer._parent |
+
Modifier and Type | +Method and Description | +
---|---|
protected <P extends ComposerBase> |
+ComposerBase._startArray(P parent,
+ JsonGenerator g) |
+
protected <P extends ComposerBase> |
+ComposerBase._startCollection(P parent) |
+
protected <P extends ComposerBase> |
+ComposerBase._startMap(P parent) |
+
protected <P extends ComposerBase> |
+ComposerBase._startObject(P parent,
+ JsonGenerator g) |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract ComposerBase |
+ComposerBase._start() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/MapComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/MapComposer.html new file mode 100644 index 00000000..fa36387c --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/MapComposer.html @@ -0,0 +1,270 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Method and Description | +
---|---|
MapComposer<?> |
+JSON.composeMap() |
+
MapComposer<?> |
+JSON.composeMap(Map<String,Object> map) |
+
Modifier and Type | +Method and Description | +
---|---|
protected MapComposer<PARENT> |
+MapComposer._start() |
+
protected <P extends ComposerBase> |
+ComposerBase._startMap(P parent) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ boolean value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ CharSequence value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ double value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ int value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ long value) |
+
MapComposer<PARENT> |
+MapComposer.put(String fieldName,
+ String value) |
+
MapComposer<PARENT> |
+MapComposer.putNull(String fieldName) |
+
static MapComposer<?> |
+MapComposer.rootComposer(Map<String,Object> map) |
+
MapComposer<CollectionComposer<PARENT,C>> |
+CollectionComposer.startObject() |
+
MapComposer<MapComposer<PARENT>> |
+MapComposer.startObjectField(SerializableString fieldName) |
+
MapComposer<MapComposer<PARENT>> |
+MapComposer.startObjectField(String fieldName) |
+
Modifier and Type | +Method and Description | +
---|---|
CollectionComposer<MapComposer<PARENT>,?> |
+MapComposer.startArrayField(SerializableString fieldName) |
+
CollectionComposer<MapComposer<PARENT>,?> |
+MapComposer.startArrayField(String fieldName) |
+
MapComposer<MapComposer<PARENT>> |
+MapComposer.startObjectField(SerializableString fieldName) |
+
MapComposer<MapComposer<PARENT>> |
+MapComposer.startObjectField(String fieldName) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ObjectComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ObjectComposer.html new file mode 100644 index 00000000..e26a4baf --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/ObjectComposer.html @@ -0,0 +1,251 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected ObjectComposer<PARENT> |
+ObjectComposer._start() |
+
protected <P extends ComposerBase> |
+ComposerBase._startObject(P parent,
+ JsonGenerator g) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ boolean value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ CharSequence value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ double value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ int value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ long value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.put(String fieldName,
+ String value) |
+
ObjectComposer<PARENT> |
+ObjectComposer.putNull(String fieldName) |
+
ObjectComposer<PARENT> |
+ObjectComposer.putObject(String fieldName,
+ Object value)
+Method used to put a Java Object ("POJO") value into Object being
+ composed: this requires that the underlying
+JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object. |
+
ObjectComposer<THIS> |
+SequenceComposer.startObject() |
+
ObjectComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startObjectField(SerializableString fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startObjectField(String fieldName) |
+
Modifier and Type | +Method and Description | +
---|---|
ArrayComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startArrayField(SerializableString fieldName) |
+
ArrayComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startArrayField(String fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startObjectField(SerializableString fieldName) |
+
ObjectComposer<ObjectComposer<PARENT>> |
+ObjectComposer.startObjectField(String fieldName) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/SequenceComposer.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/SequenceComposer.html new file mode 100644 index 00000000..996d296d --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/class-use/SequenceComposer.html @@ -0,0 +1,203 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+JSONComposer<T>
+Root-level composer object that acts as streaming "builder"
+ object, using an underlying
+JsonGenerator object. |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+SequenceComposer<THIS extends SequenceComposer<THIS>> |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+ArrayComposer<PARENT extends ComposerBase> |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/package-frame.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/package-frame.html new file mode 100644 index 00000000..25af1dbc --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +Class | +Description | +
---|---|
ArrayComposer<PARENT extends ComposerBase> | ++ |
CollectionComposer<PARENT extends ComposerBase,C extends Collection<Object>> | ++ |
ComposerBase | +
+ Base class for all composer implementations.
+ |
+
MapComposer<PARENT extends ComposerBase> | ++ |
ObjectComposer<PARENT extends ComposerBase> | ++ |
SequenceComposer<THIS extends SequenceComposer<THIS>> | ++ |
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/package-tree.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/package-tree.html new file mode 100644 index 00000000..3917a538 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/package-use.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/package-use.html new file mode 100644 index 00000000..cb238276 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/comp/package-use.html @@ -0,0 +1,205 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
Class and Description | +
---|
CollectionComposer | +
ComposerBase
+ Base class for all composer implementations.
+ |
+
MapComposer | +
SequenceComposer | +
Class and Description | +
---|
ArrayComposer | +
CollectionComposer | +
ComposerBase
+ Base class for all composer implementations.
+ |
+
MapComposer | +
ObjectComposer | +
SequenceComposer | +
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/AnyReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/AnyReader.html new file mode 100644 index 00000000..7c8ed345 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/AnyReader.html @@ -0,0 +1,568 @@ + + + + + + +public class AnyReader +extends ValueReader+
ValueReader
used for "untyped" values; ones that are bound
+ to whatever Object
is the natural mapping to JSON
+ value that parser currently points toModifier and Type | +Field and Description | +
---|---|
static AnyReader |
+std |
+
_valueType
Modifier and Type | +Method and Description | +
---|---|
protected Object |
+fromBoolean(boolean b)
+Method called to let implementation change a
+Boolean value that has been
+ read from input. |
+
protected Object |
+fromEmbedded(Object value) |
+
protected String |
+fromKey(String key)
+Method called to let implementation change a key of an Object field
+ after being parsed from input.
+ |
+
protected Object |
+fromNull()
+Method called to let implementation change a null value that has been
+ read from input.
+ |
+
protected Object |
+fromString(String str)
+Method called to let implementation change a
+String value that has been
+ read from input. |
+
Object |
+read(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object[] |
+readArrayFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Collection<Object> |
+readCollectionFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Map<String,Object> |
+readFromObject(JSONReader r,
+ JsonParser p,
+ MapBuilder b) |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Map<String,Object> readFromObject(JSONReader r, + JsonParser p, + MapBuilder b) + throws IOException+
IOException
public Object[] readArrayFromArray(JSONReader r, + JsonParser p, + CollectionBuilder b) + throws IOException+
IOException
public Collection<Object> readCollectionFromArray(JSONReader r, + JsonParser p, + CollectionBuilder b) + throws IOException+
IOException
protected Object fromNull() + throws IOException+
IOException
protected Object fromBoolean(boolean b) + throws IOException+
Boolean
value that has been
+ read from input.
+ Default implementation returns Boolean value as is.IOException
protected String fromKey(String key) + throws IOException+
IOException
protected Object fromString(String str) + throws IOException+
String
value that has been
+ read from input.
+ Default implementation returns String value as is.IOException
protected Object fromEmbedded(Object value) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ArrayReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ArrayReader.html new file mode 100644 index 00000000..fbb09067 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ArrayReader.html @@ -0,0 +1,403 @@ + + + + + + +public class ArrayReader +extends ValueReader+
Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_elementType |
+
protected ValueReader |
+_valueReader |
+
_valueType
Constructor and Description | +
---|
ArrayReader(Class<?> arrayType,
+ Class<?> elementType,
+ ValueReader vr) |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+read(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
protected final Class<?> _elementType+
protected final ValueReader _valueReader+
public ArrayReader(Class<?> arrayType, + Class<?> elementType, + ValueReader vr)+
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyIntrospector.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyIntrospector.html new file mode 100644 index 00000000..f8164a15 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyIntrospector.html @@ -0,0 +1,348 @@ + + + + + + +public class BeanPropertyIntrospector +extends Object+
POJODefinition
) to build general POJO readers
+ (deserializers) and writers (serializers).
+
+ Note that most of the usage is via ValueReaderLocator
and
+ ValueWriterLocator
Modifier and Type | +Field and Description | +
---|---|
protected static POJODefinition.Prop[] |
+NO_PROPS |
+
Constructor and Description | +
---|
BeanPropertyIntrospector() |
+
Modifier and Type | +Method and Description | +
---|---|
static BeanPropertyIntrospector |
+instance() |
+
POJODefinition |
+pojoDefinitionForDeserialization(JSONReader r,
+ Class<?> pojoType) |
+
POJODefinition |
+pojoDefinitionForSerialization(JSONWriter w,
+ Class<?> pojoType) |
+
protected static final POJODefinition.Prop[] NO_PROPS+
public BeanPropertyIntrospector()+
public static BeanPropertyIntrospector instance()+
public POJODefinition pojoDefinitionForDeserialization(JSONReader r, + Class<?> pojoType)+
public POJODefinition pojoDefinitionForSerialization(JSONWriter w, + Class<?> pojoType)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyReader.html new file mode 100644 index 00000000..ae44a451 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyReader.html @@ -0,0 +1,412 @@ + + + + + + +public final class BeanPropertyReader +extends Object+
Modifier | +Constructor and Description | +
---|---|
protected |
+BeanPropertyReader(BeanPropertyReader src,
+ ValueReader vr) |
+
|
+BeanPropertyReader(String name,
+ Field f,
+ Method setter) |
+
Modifier and Type | +Method and Description | +
---|---|
protected String |
+_bean() |
+
protected Class<?> |
+_rawType() |
+
Type |
+genericSetterType() |
+
String |
+getName() |
+
ValueReader |
+getReader() |
+
Class<?> |
+rawSetterType() |
+
void |
+setValueFor(Object bean,
+ Object[] valueBuf) |
+
String |
+toString() |
+
BeanPropertyReader |
+withReader(ValueReader vr) |
+
protected BeanPropertyReader(BeanPropertyReader src, + ValueReader vr)+
public BeanPropertyReader withReader(ValueReader vr)+
public Type genericSetterType()+
public Class<?> rawSetterType()+
public ValueReader getReader()+
public String getName()+
public void setValueFor(Object bean, + Object[] valueBuf) + throws IOException+
IOException
protected String _bean()+
protected Class<?> _rawType()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyWriter.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyWriter.html new file mode 100644 index 00000000..94c6b598 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanPropertyWriter.html @@ -0,0 +1,368 @@ + + + + + + +public final class BeanPropertyWriter +extends Object+
Modifier and Type | +Field and Description | +
---|---|
SerializedString |
+name |
+
int |
+typeId |
+
Constructor and Description | +
---|
BeanPropertyWriter(int typeId,
+ String n,
+ Field f,
+ Method getter) |
+
Modifier and Type | +Method and Description | +
---|---|
protected String |
+_bean() |
+
Object |
+getValueFor(Object bean) |
+
BeanPropertyWriter |
+withName(String newName) |
+
public final SerializedString name+
public final int typeId+
public BeanPropertyWriter withName(String newName)+
public Object getValueFor(Object bean) + throws IOException+
IOException
protected String _bean()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanReader.html new file mode 100644 index 00000000..88a902c7 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanReader.html @@ -0,0 +1,614 @@ + + + + + + +public class BeanReader +extends ValueReader+
Modifier and Type | +Field and Description | +
---|---|
protected Map<String,String> |
+_aliasMapping
+Mapping of aliased names to primary names (direct linkage unfortunately
+ impractical due to implementation limits).
+ |
+
protected Constructor<?> |
+_defaultCtor |
+
protected Set<String> |
+_ignorableNames |
+
protected Constructor<?> |
+_longCtor |
+
protected Map<String,BeanPropertyReader> |
+_propsByName |
+
protected Constructor<?> |
+_stringCtor |
+
_valueType
Constructor and Description | +
---|
BeanReader(Class<?> type,
+ Map<String,BeanPropertyReader> props,
+ Constructor<?> defaultCtor,
+ Constructor<?> stringCtor,
+ Constructor<?> longCtor)
+Deprecated.
+ |
+
BeanReader(Class<?> type,
+ Map<String,BeanPropertyReader> props,
+ Constructor<?> defaultCtor,
+ Constructor<?> stringCtor,
+ Constructor<?> longCtor,
+ Set<String> ignorableNames,
+ Map<String,String> aliasMapping)
+Constructors used for deserialization use case
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected IOException |
+_reportProblem(JsonParser p) |
+
protected Object |
+create() |
+
protected Object |
+create(long l) |
+
protected Object |
+create(String str) |
+
BeanPropertyReader |
+findProperty(String name) |
+
protected void |
+handleUnknown(JSONReader reader,
+ JsonParser parser,
+ String fieldName) |
+
Map<String,BeanPropertyReader> |
+propertiesByName() |
+
Object |
+read(JSONReader r,
+ JsonParser p)
+Method used for deserialization; will read an instance of the bean
+ type using given parser.
+ |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
protected final Map<String,BeanPropertyReader> _propsByName+
protected final Map<String,String> _aliasMapping+
protected final Constructor<?> _defaultCtor+
protected final Constructor<?> _stringCtor+
protected final Constructor<?> _longCtor+
public BeanReader(Class<?> type, + Map<String,BeanPropertyReader> props, + Constructor<?> defaultCtor, + Constructor<?> stringCtor, + Constructor<?> longCtor, + Set<String> ignorableNames, + Map<String,String> aliasMapping)+
@Deprecated +public BeanReader(Class<?> type, + Map<String,BeanPropertyReader> props, + Constructor<?> defaultCtor, + Constructor<?> stringCtor, + Constructor<?> longCtor)+
public Map<String,BeanPropertyReader> propertiesByName()+
public BeanPropertyReader findProperty(String name)+
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
protected void handleUnknown(JSONReader reader, + JsonParser parser, + String fieldName) + throws IOException+
IOException
protected IOException _reportProblem(JsonParser p)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanWriter.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanWriter.html new file mode 100644 index 00000000..cd4ff1c5 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/BeanWriter.html @@ -0,0 +1,362 @@ + + + + + + +public class BeanWriter +extends Object +implements ValueWriter+
Modifier and Type | +Field and Description | +
---|---|
protected BeanPropertyWriter[] |
+_properties |
+
protected Class<?> |
+_valueType |
+
Constructor and Description | +
---|
BeanWriter(Class<?> type,
+ BeanPropertyWriter[] props) |
+
Modifier and Type | +Method and Description | +
---|---|
Class<?> |
+valueType()
+Accessor for non-generic (type-erased) type of values this reader
+ produces from input.
+ |
+
void |
+writeValue(JSONWriter context,
+ JsonGenerator g,
+ Object value) |
+
protected final BeanPropertyWriter[] _properties+
protected final Class<?> _valueType+
public BeanWriter(Class<?> type, + BeanPropertyWriter[] props)+
public void writeValue(JSONWriter context, + JsonGenerator g, + Object value) + throws IOException+
writeValue
in interface ValueWriter
IOException
public Class<?> valueType()+
ValueWriter
valueType
in interface ValueWriter
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ClassKey.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ClassKey.html new file mode 100644 index 00000000..e1d7e7d5 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ClassKey.html @@ -0,0 +1,352 @@ + + + + + + +public final class ClassKey +extends Object+
Map
s.
+
+ The reason for having a separate key class instead of
+ directly using Class
as key is mostly
+ to allow for redefining hashCode
method --
+ for some strange reason, Class
does not
+ redefine Object.hashCode()
and thus uses identity
+ hash, which is pretty slow. This makes key access using
+ Class
unnecessarily slow.
+
+ Note: since class is not strictly immutable, caller must + know what it is doing, if changing field values.
Constructor and Description | +
---|
ClassKey() |
+
ClassKey(Class<?> clz,
+ int flags) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/CollectionReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/CollectionReader.html new file mode 100644 index 00000000..29b049f8 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/CollectionReader.html @@ -0,0 +1,401 @@ + + + + + + +public class CollectionReader +extends ValueReader+
Collection
values.Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_collectionType |
+
protected ValueReader |
+_valueReader |
+
_valueType
Constructor and Description | +
---|
CollectionReader(Class<?> t,
+ ValueReader vr) |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+read(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
protected final Class<?> _collectionType+
protected final ValueReader _valueReader+
public CollectionReader(Class<?> t, + ValueReader vr)+
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/DeferredMap.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/DeferredMap.html new file mode 100644 index 00000000..1f4c5073 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/DeferredMap.html @@ -0,0 +1,635 @@ + + + + + + +public class DeferredMap +extends AbstractMap<String,Object>+
Map
implementation that will collect
+ entries during building, but only materialize full lookup structure
+ when needed; that is, actual building of hash lookup is deferred.
++ Inspired by lazily initialized Map used by Boon library.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description | +
---|
DeferredMap(boolean ordered) |
+
DeferredMap(boolean ordered,
+ int initialSize) |
+
Modifier and Type | +Method and Description | +
---|---|
protected Map<String,Object> |
+_buildMap(int expSize) |
+
protected void |
+buildIfNeeded() |
+
void |
+clear() |
+
protected Object |
+clone() |
+
boolean |
+containsKey(Object key) |
+
boolean |
+containsValue(Object value) |
+
Set<Map.Entry<String,Object>> |
+entrySet() |
+
boolean |
+equals(Object other) |
+
Object |
+get(Object key) |
+
int |
+hashCode() |
+
boolean |
+isEmpty() |
+
Set<String> |
+keySet() |
+
Object |
+put(String key,
+ Object value) |
+
Object |
+remove(Object key) |
+
int |
+size() |
+
String |
+toString() |
+
Collection<Object> |
+values() |
+
putAll
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public DeferredMap(boolean ordered)+
public DeferredMap(boolean ordered, + int initialSize)+
public int size()+ +
public boolean isEmpty()+ +
public boolean containsValue(Object value)+
containsValue
in interface Map<String,Object>
containsValue
in class AbstractMap<String,Object>
public boolean containsKey(Object key)+
containsKey
in interface Map<String,Object>
containsKey
in class AbstractMap<String,Object>
public void clear()+ +
public Collection<Object> values()+ +
public boolean equals(Object other)+ +
public int hashCode()+ +
public String toString()+
toString
in class AbstractMap<String,Object>
protected Object clone() + throws CloneNotSupportedException+
clone
in class AbstractMap<String,Object>
CloneNotSupportedException
protected void buildIfNeeded()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/EnumReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/EnumReader.html new file mode 100644 index 00000000..9532ade8 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/EnumReader.html @@ -0,0 +1,408 @@ + + + + + + +public class EnumReader +extends ValueReader+
Map
+ for efficient conversion from id (gotten with Enum.toString()
+ to value.
+
+ In future we could consider alternatively allowing use of
+ Enum.name()
for id.
Modifier and Type | +Field and Description | +
---|---|
protected Object[] |
+_byIndex |
+
protected Map<String,Object> |
+_byName |
+
_valueType
Constructor and Description | +
---|
EnumReader(Class<?> enumType,
+ Object[] byIndex,
+ Map<String,Object> byName) |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+read(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
public Object readNext(JSONReader reader, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader reader, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/JSONAsObjectCodec.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/JSONAsObjectCodec.html new file mode 100644 index 00000000..fba2b2b3 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/JSONAsObjectCodec.html @@ -0,0 +1,796 @@ + + + + + + +public class JSONAsObjectCodec +extends ObjectCodec+
JSON
that implements ObjectCodec
.
+ Note that implementation is not complete, due to natural limitations of
+ JSON
and "simple" object binding.
+
+ The main use case is to give minimal context for other components that
+ expect to get a ObjectCodec
, such as JsonParser
and
+ JsonGenerator
.
Modifier and Type | +Field and Description | +
---|---|
protected JSON |
+_json |
+
protected JsonFactory |
+_jsonFactory |
+
protected TreeCodec |
+_treeCodec |
+
Constructor and Description | +
---|
JSONAsObjectCodec(JSON json) |
+
JSONAsObjectCodec(JSON json,
+ JsonFactory jf) |
+
JSONAsObjectCodec(JSON json,
+ JsonFactory jf,
+ TreeCodec treeCodec) |
+
protected final JSON _json+
protected final JsonFactory _jsonFactory+
protected final TreeCodec _treeCodec+
public JSONAsObjectCodec(JSON json)+
public JSONAsObjectCodec(JSON json, + JsonFactory jf)+
public JSONAsObjectCodec(JSON json, + JsonFactory jf, + TreeCodec treeCodec)+
public Version version()+
version
in interface Versioned
version
in class ObjectCodec
public <T> T readValue(JsonParser p, + Class<T> valueType) + throws IOException, + JsonProcessingException+
readValue
in class ObjectCodec
IOException
JsonProcessingException
public <T> T readValue(JsonParser p, + TypeReference<T> valueTypeRef) + throws IOException, + JsonProcessingException+
readValue
in class ObjectCodec
IOException
JsonProcessingException
public <T> T readValue(JsonParser p, + ResolvedType valueType) + throws IOException, + JsonProcessingException+
readValue
in class ObjectCodec
IOException
JsonProcessingException
public <T> Iterator<T> readValues(JsonParser p, + Class<T> valueType) + throws IOException, + JsonProcessingException+
readValues
in class ObjectCodec
IOException
JsonProcessingException
public <T> Iterator<T> readValues(JsonParser p, + TypeReference<T> valueTypeRef) + throws IOException, + JsonProcessingException+
readValues
in class ObjectCodec
IOException
JsonProcessingException
public <T> Iterator<T> readValues(JsonParser p, + ResolvedType valueType) + throws IOException, + JsonProcessingException+
readValues
in class ObjectCodec
IOException
JsonProcessingException
protected JSONObjectException _noTypeReference()+
public void writeValue(JsonGenerator jgen, + Object value) + throws IOException, + JsonProcessingException+
writeValue
in class ObjectCodec
IOException
JsonProcessingException
public TreeNode createObjectNode()+
createObjectNode
in class ObjectCodec
public TreeNode createArrayNode()+
createArrayNode
in class ObjectCodec
public TreeNode missingNode()+
missingNode
in class TreeCodec
public <T extends TreeNode> T readTree(JsonParser jp) + throws IOException, + JsonProcessingException+
readTree
in class ObjectCodec
IOException
JsonProcessingException
public void writeTree(JsonGenerator jg, + TreeNode tree) + throws IOException, + JsonProcessingException+
writeTree
in class ObjectCodec
IOException
JsonProcessingException
public JsonParser treeAsTokens(TreeNode n)+
treeAsTokens
in class ObjectCodec
public <T> T treeToValue(TreeNode n, + Class<T> valueType) + throws JsonProcessingException+
treeToValue
in class ObjectCodec
JsonProcessingException
public JsonFactory getFactory()+
getFactory
in class ObjectCodec
@Deprecated +public JsonFactory getJsonFactory()+
getJsonFactory
in class ObjectCodec
protected TreeCodec _checkTreeCodec()+
protected void _checkResultType(Class<?> valueType, + Object ob) + throws JSONObjectException+
JSONObjectException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/JSONReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/JSONReader.html new file mode 100644 index 00000000..52ba79f0 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/JSONReader.html @@ -0,0 +1,807 @@ + + + + + + +public class JSONReader +extends Object+
ValueReader
s), but does not handle
+ any of reading itself (despite name).
+
+ Life-cycle is such that initial instance (called blueprint)
+ is constructed first (including possible configuration
+ using mutant factory methods). This blueprint object
+ acts as a factory, and is never used for direct reading;
+ instead, per-call instance is created by calling
+ perOperationInstance(int, com.fasterxml.jackson.jr.ob.impl.ValueReaderLocator, com.fasterxml.jackson.core.TreeCodec, com.fasterxml.jackson.core.JsonParser)
.
Modifier and Type | +Field and Description | +
---|---|
protected CollectionBuilder |
+_collectionBuilder
+Handler that takes care of constructing
+Map s as needed |
+
protected int |
+_features |
+
protected MapBuilder |
+_mapBuilder
+Handler that takes care of constructing
+Map s as needed |
+
protected JsonParser |
+_parser
+Parser used by this reader instance.
+ |
+
protected ValueReaderLocator |
+_readerLocator
+Object that is used to find value readers dynamically.
+ |
+
protected Object[] |
+_setterBuffer
+Minor performance optimization:
+Object[1] reused to avoid
+ Reflection having to allocate it for every "setter" call. |
+
protected TreeCodec |
+_treeCodec
+
+ |
+
Modifier | +Constructor and Description | +
---|---|
|
+JSONReader(CollectionBuilder lb,
+ MapBuilder mb)
+Constructor used for creating the blueprint instances.
+ |
+
protected |
+JSONReader(JSONReader base,
+ int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p)
+Constructor used for per-operation (non-blueprint) instance.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected CollectionBuilder |
+_collectionBuilder(Class<?> collType) |
+
protected MapBuilder |
+_mapBuilder(Class<?> mapType) |
+
protected JSONReader |
+_with(CollectionBuilder lb,
+ MapBuilder mb)
+Overridable method that all mutant factories call if a new instance
+ is to be constructed
+ |
+
boolean |
+arraysAsLists() |
+
int |
+features() |
+
boolean |
+isEnabled(JSON.Feature f) |
+
JSONReader |
+perOperationInstance(int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p) |
+
Object[] |
+readArray()
+Method for reading a JSON Array from input and building a
+Object[]
+ out of it. |
+
<T> T[] |
+readArrayOf(Class<T> type) |
+
<T> T |
+readBean(Class<T> type)
+Method for reading a JSON Object from input and building a Bean of
+ specified type out of it; Bean has to conform to standard Java Bean
+ specification by having setters for passing JSON Object properties.
+ |
+
List<Object> |
+readList()
+Method for reading a JSON Array from input and building a
+List
+ out of it. |
+
<T> List<T> |
+readListOf(Class<T> type)
+Method for reading a JSON Array from input and building a
+List
+ out of it, binding values into specified type . |
+
Map<String,Object> |
+readMap()
+Method for reading a JSON Object from input and building a
+Map
+ out of it. |
+
<T> Map<String,T> |
+readMapOf(Class<T> type)
+Method for reading a JSON Object from input and building a
+Map
+ out of it, binding values into specified type . |
+
TreeNode |
+readTree() |
+
Object |
+readValue()
+
+ |
+
JSONReader |
+with(CollectionBuilder lb) |
+
JSONReader |
+with(MapBuilder mb) |
+
JSONReader |
+withCacheCheck(int features) |
+
protected final MapBuilder _mapBuilder+
Map
s as neededprotected final CollectionBuilder _collectionBuilder+
Map
s as neededprotected final int _features+
protected final TreeCodec _treeCodec+ +
protected final ValueReaderLocator _readerLocator+
protected final JsonParser _parser+
protected final Object[] _setterBuffer+
Object[1]
reused to avoid
+ Reflection having to allocate it for every "setter" call.public JSONReader(CollectionBuilder lb, + MapBuilder mb)+
protected JSONReader(JSONReader base, + int features, + ValueReaderLocator loc, + TreeCodec tc, + JsonParser p)+
public JSONReader withCacheCheck(int features)+
public JSONReader with(MapBuilder mb)+
public JSONReader with(CollectionBuilder lb)+
protected JSONReader _with(CollectionBuilder lb, + MapBuilder mb)+
public JSONReader perOperationInstance(int features, + ValueReaderLocator loc, + TreeCodec tc, + JsonParser p)+
public boolean arraysAsLists()+
public boolean isEnabled(JSON.Feature f)+
public int features()+
public Object readValue() + throws IOException+
Map
for JSON Object, Map
+ for JSON Array (or, Object[]
if so configured),
+ String
for JSON String value and so on.IOException
public Map<String,Object> readMap() + throws IOException+
Map
+ out of it. Note that if input does NOT contain a
+ JSON Object, JSONObjectException
will be thrown.IOException
public List<Object> readList() + throws IOException+
List
+ out of it. Note that if input does NOT contain a
+ JSON Array, JSONObjectException
will be thrown.IOException
public Object[] readArray() + throws IOException+
Object[]
+ out of it. Note that if input does NOT contain a
+ JSON Array, JSONObjectException
will be thrown.IOException
public <T> T readBean(Class<T> type) + throws IOException+
IOException
public <T> T[] readArrayOf(Class<T> type) + throws IOException+
IOException
public <T> List<T> readListOf(Class<T> type) + throws IOException+
List
+ out of it, binding values into specified type
.
+ Note that if input does NOT contain a JSON Array, JSONObjectException
will be thrown.IOException
public <T> Map<String,T> readMapOf(Class<T> type) + throws IOException+
Map
+ out of it, binding values into specified type
.
+ Note that if input does NOT contain a JSON Object, JSONObjectException
will be thrown.IOException
public TreeNode readTree() + throws IOException+
IOException
protected MapBuilder _mapBuilder(Class<?> mapType)+
protected CollectionBuilder _collectionBuilder(Class<?> collType)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/JSONWriter.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/JSONWriter.html new file mode 100644 index 00000000..41332834 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/JSONWriter.html @@ -0,0 +1,1468 @@ + + + + + + +public class JSONWriter +extends Object+
JSONReader
, writer does actually implement write methods itself
+ and uses delegation for only some special cases.
+
+ Life-cycle is such that initial instance (called blueprint)
+ is constructed first (including possible configuration
+ using mutant factory methods). This blueprint object
+ acts as a factory, and is never used for direct writing;
+ instead, per-call instance is created by calling
+ perOperationInstance(int, com.fasterxml.jackson.jr.ob.impl.ValueWriterLocator, com.fasterxml.jackson.core.TreeCodec, com.fasterxml.jackson.core.JsonGenerator)
.
Modifier and Type | +Field and Description | +
---|---|
protected int |
+_features |
+
protected JsonGenerator |
+_generator |
+
protected TimeZone |
+_timezone |
+
protected TreeCodec |
+_treeCodec |
+
protected boolean |
+_writeNullValues |
+
protected ValueWriterLocator |
+_writerLocator
+Object that is used to dynamically find Bean (and custom type) value writers
+ |
+
Modifier | +Constructor and Description | +
---|---|
|
+JSONWriter()
+Constructor used for creating differently configured blueprint
+ instances
+ |
+
protected |
+JSONWriter(JSONWriter base,
+ int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g)
+Constructor for non-blueprint instances.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_checkUnknown(Object value) |
+
protected void |
+_writeValue(Object value,
+ int type) |
+
protected String |
+dateToString(Date v) |
+
int |
+features() |
+
boolean |
+isEnabled(JSON.Feature f) |
+
protected String |
+keyToString(Object rawKey) |
+
JSONWriter |
+perOperationInstance(int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g) |
+
JSONWriter |
+withCacheCheck(int features) |
+
void |
+writeBeanValue(BeanPropertyWriter[] props,
+ Object bean) |
+
protected void |
+writeBigDecimalField(String fieldName,
+ BigDecimal v) |
+
protected void |
+writeBigDecimalValue(BigDecimal v) |
+
protected void |
+writeBigIntegerField(String fieldName,
+ BigInteger v) |
+
protected void |
+writeBigIntegerValue(BigInteger v) |
+
protected void |
+writeBinaryField(String fieldName,
+ byte[] data) |
+
protected void |
+writeBinaryValue(byte[] data) |
+
protected void |
+writeBooleanArrayField(String fieldName,
+ boolean[] v) |
+
protected void |
+writeBooleanArrayValue(boolean[] v) |
+
protected void |
+writeBooleanField(String fieldName,
+ boolean v) |
+
protected void |
+writeBooleanValue(boolean v) |
+
protected void |
+writeCollectionField(String fieldName,
+ Collection<?> v) |
+
protected void |
+writeCollectionValue(Collection<?> v) |
+
protected void |
+writeDateField(String fieldName,
+ Date v) |
+
protected void |
+writeDateValue(Date v) |
+
protected void |
+writeDoubleField(String fieldName,
+ double v) |
+
protected void |
+writeDoubleValue(double v) |
+
protected void |
+writeEnumField(String fieldName,
+ Enum<?> v) |
+
protected void |
+writeEnumValue(Enum<?> v) |
+
void |
+writeField(String fieldName,
+ Object value,
+ int type) |
+
protected void |
+writeIntArrayField(String fieldName,
+ int[] v) |
+
protected void |
+writeIntArrayValue(int[] v) |
+
protected void |
+writeIntField(String fieldName,
+ int v) |
+
protected void |
+writeIntValue(int v) |
+
protected void |
+writeIterableField(String fieldName,
+ Iterable<?> v) |
+
protected void |
+writeIterableValue(Iterable<?> v) |
+
protected void |
+writeListField(String fieldName,
+ List<?> v) |
+
protected void |
+writeListValue(List<?> list) |
+
protected void |
+writeLongArrayField(String fieldName,
+ long[] v) |
+
protected void |
+writeLongArrayValue(long[] v) |
+
protected void |
+writeLongField(String fieldName,
+ long v) |
+
protected void |
+writeLongValue(long v) |
+
protected void |
+writeMapField(String fieldName,
+ Map<?,?> v) |
+
protected void |
+writeMapValue(Map<?,?> v) |
+
protected void |
+writeNullField(SerializedString fieldName) |
+
protected void |
+writeNullField(String fieldName) |
+
protected void |
+writeNullValue() |
+
protected void |
+writeObjectArrayField(String fieldName,
+ Object[] v) |
+
protected void |
+writeObjectArrayValue(Object[] v) |
+
protected void |
+writeStringField(String fieldName,
+ String v) |
+
protected void |
+writeStringLikeField(String fieldName,
+ String v,
+ int actualType) |
+
protected void |
+writeStringLikeValue(String v,
+ int actualType) |
+
protected void |
+writeStringValue(String v) |
+
protected void |
+writeTreeNodeField(String fieldName,
+ TreeNode v) |
+
protected void |
+writeTreeNodeValue(TreeNode v) |
+
protected void |
+writeUnknownField(String fieldName,
+ Object data) |
+
protected void |
+writeUnknownValue(Object data) |
+
void |
+writeValue(Object value)
+Main entry point for non-blueprint instances: called for the root value to
+ write it out.
+ |
+
protected final TreeCodec _treeCodec+
protected final ValueWriterLocator _writerLocator+
protected final JsonGenerator _generator+
protected final TimeZone _timezone+
protected final int _features+
protected final boolean _writeNullValues+
public JSONWriter()+
protected JSONWriter(JSONWriter base, + int features, + ValueWriterLocator loc, + TreeCodec tc, + JsonGenerator g)+
base
- Blueprint instance to base settings of the new instance onfeatures
- Active features for the write operationloc
- Helper object to use for dynamically located value writerstc
- TreeCodec to use for writing tree values, if anyg
- Underlying streaming encoder to usepublic JSONWriter withCacheCheck(int features)+
public JSONWriter perOperationInstance(int features, + ValueWriterLocator loc, + TreeCodec tc, + JsonGenerator g)+
public boolean isEnabled(JSON.Feature f)+
public int features()+
public void writeValue(Object value) + throws IOException+
IOException
public void writeField(String fieldName, + Object value, + int type) + throws IOException+
IOException
protected void _writeValue(Object value, + int type) + throws IOException+
IOException
protected void writeCollectionValue(Collection<?> v) + throws IOException+
IOException
protected void writeCollectionField(String fieldName, + Collection<?> v) + throws IOException+
IOException
protected void writeIterableValue(Iterable<?> v) + throws IOException+
IOException
protected void writeIterableField(String fieldName, + Iterable<?> v) + throws IOException+
IOException
protected void writeListValue(List<?> list) + throws IOException+
IOException
protected void writeListField(String fieldName, + List<?> v) + throws IOException+
IOException
protected void writeMapValue(Map<?,?> v) + throws IOException+
IOException
protected void writeMapField(String fieldName, + Map<?,?> v) + throws IOException+
IOException
protected void writeObjectArrayValue(Object[] v) + throws IOException+
IOException
protected void writeObjectArrayField(String fieldName, + Object[] v) + throws IOException+
IOException
protected void writeIntArrayValue(int[] v) + throws IOException+
IOException
protected void writeIntArrayField(String fieldName, + int[] v) + throws IOException+
IOException
protected void writeLongArrayValue(long[] v) + throws IOException+
IOException
protected void writeLongArrayField(String fieldName, + long[] v) + throws IOException+
IOException
protected void writeBooleanArrayValue(boolean[] v) + throws IOException+
IOException
protected void writeBooleanArrayField(String fieldName, + boolean[] v) + throws IOException+
IOException
protected void writeTreeNodeValue(TreeNode v) + throws IOException+
IOException
protected void writeTreeNodeField(String fieldName, + TreeNode v) + throws IOException+
IOException
protected void writeBooleanValue(boolean v) + throws IOException+
IOException
protected void writeBooleanField(String fieldName, + boolean v) + throws IOException+
IOException
protected void writeIntValue(int v) + throws IOException+
IOException
protected void writeIntField(String fieldName, + int v) + throws IOException+
IOException
protected void writeLongValue(long v) + throws IOException+
IOException
protected void writeBigIntegerValue(BigInteger v) + throws IOException+
IOException
protected void writeBigIntegerField(String fieldName, + BigInteger v) + throws IOException+
IOException
protected void writeLongField(String fieldName, + long v) + throws IOException+
IOException
protected void writeDoubleValue(double v) + throws IOException+
IOException
protected void writeDoubleField(String fieldName, + double v) + throws IOException+
IOException
protected void writeBigDecimalValue(BigDecimal v) + throws IOException+
IOException
protected void writeBigDecimalField(String fieldName, + BigDecimal v) + throws IOException+
IOException
protected void writeStringValue(String v) + throws IOException+
IOException
protected void writeStringField(String fieldName, + String v) + throws IOException+
IOException
protected void writeStringLikeValue(String v, + int actualType) + throws IOException+
IOException
protected void writeStringLikeField(String fieldName, + String v, + int actualType) + throws IOException+
IOException
protected void writeBinaryValue(byte[] data) + throws IOException+
IOException
protected void writeBinaryField(String fieldName, + byte[] data) + throws IOException+
IOException
protected void writeNullValue() + throws IOException+
IOException
protected void writeNullField(String fieldName) + throws IOException+
IOException
protected void writeNullField(SerializedString fieldName) + throws IOException+
IOException
protected void writeDateValue(Date v) + throws IOException+
IOException
protected void writeDateField(String fieldName, + Date v) + throws IOException+
IOException
protected void writeEnumValue(Enum<?> v) + throws IOException+
IOException
protected void writeEnumField(String fieldName, + Enum<?> v) + throws IOException+
IOException
public void writeBeanValue(BeanPropertyWriter[] props, + Object bean) + throws IOException+
IOException
protected void writeUnknownValue(Object data) + throws IOException+
IOException
protected void writeUnknownField(String fieldName, + Object data) + throws IOException+
IOException
protected void _checkUnknown(Object value) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/MapReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/MapReader.html new file mode 100644 index 00000000..78f7a665 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/MapReader.html @@ -0,0 +1,414 @@ + + + + + + +public class MapReader +extends ValueReader+
Map
values.Modifier and Type | +Field and Description | +
---|---|
protected Class<?> |
+_mapType |
+
protected ValueReader |
+_valueReader |
+
_valueType
Constructor and Description | +
---|
MapReader(Class<?> mapType,
+ ValueReader vr) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONObjectException |
+_reportProblem(JsonParser p) |
+
Object |
+read(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader r,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
protected final Class<?> _mapType+
protected final ValueReader _valueReader+
public MapReader(Class<?> mapType, + ValueReader vr)+
public Object readNext(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader r, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
r
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
protected JSONObjectException _reportProblem(JsonParser p)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.Prop.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.Prop.html new file mode 100644 index 00000000..cd18d423 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.Prop.html @@ -0,0 +1,413 @@ + + + + + + +public static final class POJODefinition.Prop +extends Object+
Modifier and Type | +Field and Description | +
---|---|
Field |
+field |
+
Method |
+getter |
+
Method |
+isGetter |
+
String |
+name |
+
Method |
+setter |
+
Constructor and Description | +
---|
Prop(String n,
+ Field f,
+ Method setter0,
+ Method getter0,
+ Method isGetter0,
+ Collection<String> aliases0) |
+
Modifier and Type | +Method and Description | +
---|---|
Iterable<String> |
+aliases() |
+
static com.fasterxml.jackson.jr.ob.impl.POJODefinition.PropBuilder |
+builder(String name) |
+
boolean |
+hasAliases() |
+
boolean |
+hasSetter() |
+
public final String name+
public final Field field+
public final Method setter+
public final Method getter+
public final Method isGetter+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.html new file mode 100644 index 00000000..ca6467dc --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/POJODefinition.html @@ -0,0 +1,491 @@ + + + + + + +public class POJODefinition +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static class |
+POJODefinition.Prop |
+
Modifier and Type | +Field and Description | +
---|---|
protected Set<String> |
+_ignorableNames
+Possible per-class definition of names that may be ignored safely
+ during deserialization.
+ |
+
protected POJODefinition.Prop[] |
+_properties |
+
protected Class<?> |
+_type |
+
Constructor<?> |
+defaultCtor |
+
Constructor<?> |
+longCtor |
+
Constructor<?> |
+stringCtor |
+
Modifier | +Constructor and Description | +
---|---|
|
+POJODefinition(Class<?> type,
+ POJODefinition.Prop[] props,
+ Constructor<?> defaultCtor0,
+ Constructor<?> stringCtor0,
+ Constructor<?> longCtor0) |
+
protected |
+POJODefinition(POJODefinition base,
+ POJODefinition.Prop[] props,
+ Set<String> ignorableN) |
+
Modifier and Type | +Method and Description | +
---|---|
Set<String> |
+getIgnorableNames() |
+
List<POJODefinition.Prop> |
+getProperties() |
+
POJODefinition.Prop[] |
+properties()
+Deprecated.
+ |
+
POJODefinition |
+withIgnorals(Set<String> ignorableN) |
+
POJODefinition |
+withProperties(Collection<POJODefinition.Prop> props) |
+
protected final Class<?> _type+
protected final POJODefinition.Prop[] _properties+
protected final Set<String> _ignorableNames+
public final Constructor<?> defaultCtor+
public final Constructor<?> stringCtor+
public final Constructor<?> longCtor+
public POJODefinition(Class<?> type, + POJODefinition.Prop[] props, + Constructor<?> defaultCtor0, + Constructor<?> stringCtor0, + Constructor<?> longCtor0)+
protected POJODefinition(POJODefinition base, + POJODefinition.Prop[] props, + Set<String> ignorableN)+
public POJODefinition withProperties(Collection<POJODefinition.Prop> props)+
public POJODefinition withIgnorals(Set<String> ignorableN)+
public List<POJODefinition.Prop> getProperties()+
@Deprecated +public POJODefinition.Prop[] properties()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/SimpleValueReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/SimpleValueReader.html new file mode 100644 index 00000000..eb72da2f --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/SimpleValueReader.html @@ -0,0 +1,444 @@ + + + + + + +public class SimpleValueReader +extends ValueReader+
ValueReader
used for simple scalar types and related,
+ not including POJO-, Map
and Collection
+ types.Modifier and Type | +Field and Description | +
---|---|
protected int |
+_typeId |
+
_valueType
Constructor and Description | +
---|
SimpleValueReader(Class<?> raw,
+ int typeId) |
+
Modifier and Type | +Method and Description | +
---|---|
protected long |
+_fetchLong(JsonParser p) |
+
protected byte[] |
+_readBinary(JsonParser p) |
+
protected int[] |
+_readIntArray(JsonParser p) |
+
Object |
+read(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+readNext(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
_tokenDesc, _tokenDesc, valueType
public SimpleValueReader(Class<?> raw, + int typeId)+
public Object readNext(JSONReader reader, + JsonParser p) + throws IOException+
ValueReader
+ Default implementation simply calls `p.nextToken()` first, then calls
+ {#link ValueReader.read(JSONReader, JsonParser)
, but some implementations
+ may decide to implement this differently to use (slightly) more efficient
+ accessor in JsonParser
, like JsonParser.nextIntValue(int)
.
readNext
in class ValueReader
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
public Object read(JSONReader reader, + JsonParser p) + throws IOException+
ValueReader
read
in class ValueReader
reader
- Context object that allows calling other read methods for contained
+ values of different types (for example for collection readers).p
- Underlying parser used for reading decoded token streamIOException
protected byte[] _readBinary(JsonParser p) + throws IOException+
IOException
protected int[] _readIntArray(JsonParser p) + throws IOException+
IOException
protected long _fetchLong(JsonParser p) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/Types.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/Types.html new file mode 100644 index 00000000..4024965f --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/Types.html @@ -0,0 +1,249 @@ + + + + + + +public final class Types +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static boolean |
+isEnum(Class<?> type)
+Detect whether a class is an enum or a subclass of an enum - e.g.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ValueLocatorBase.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ValueLocatorBase.html new file mode 100644 index 00000000..8d1afbd5 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ValueLocatorBase.html @@ -0,0 +1,881 @@ + + + + + + +public abstract class ValueLocatorBase +extends Object+
Modifier and Type | +Field and Description | +
---|---|
protected static int |
+CACHE_FLAGS |
+
static int |
+SER_BOOLEAN |
+
static int |
+SER_BOOLEAN_ARRAY |
+
static int |
+SER_BYTE_ARRAY |
+
static int |
+SER_CALENDAR |
+
static int |
+SER_CHAR |
+
static int |
+SER_CHAR_ARRAY |
+
static int |
+SER_CHARACTER_SEQUENCE |
+
static int |
+SER_CLASS |
+
static int |
+SER_COLLECTION
+All kinds of
+Collection s other than List s |
+
static int |
+SER_DATE |
+
static int |
+SER_ENUM |
+
static int |
+SER_FILE |
+
static int |
+SER_INT_ARRAY |
+
static int |
+SER_ITERABLE
+Anything that implements
+Iterable , but not
+ Collection . |
+
static int |
+SER_LIST
+All kinds of
+List s. |
+
static int |
+SER_LONG_ARRAY |
+
static int |
+SER_MAP
+All kinds of
+Map s. |
+
static int |
+SER_NUMBER_BIG_DECIMAL |
+
static int |
+SER_NUMBER_BIG_INTEGER |
+
static int |
+SER_NUMBER_BYTE |
+
static int |
+SER_NUMBER_DOUBLE |
+
static int |
+SER_NUMBER_FLOAT |
+
static int |
+SER_NUMBER_INTEGER |
+
static int |
+SER_NUMBER_LONG |
+
static int |
+SER_NUMBER_SHORT |
+
static int |
+SER_OBJECT_ARRAY
+Arrays of non-primitive types
+ |
+
static int |
+SER_STRING |
+
static int |
+SER_TREE_NODE
+An implementation of
+TreeNode |
+
static int |
+SER_UNKNOWN
+Type not yet resolved
+ |
+
static int |
+SER_URI |
+
static int |
+SER_URL |
+
static int |
+SER_UUID |
+
Constructor and Description | +
---|
ValueLocatorBase() |
+
Modifier and Type | +Method and Description | +
---|---|
protected int |
+_findSimpleType(Class<?> raw,
+ boolean forSer) |
+
public static final int SER_UNKNOWN+
public static final int SER_MAP+
Map
s.public static final int SER_LIST+
List
s.public static final int SER_COLLECTION+
Collection
s other than List
spublic static final int SER_OBJECT_ARRAY+
public static final int SER_INT_ARRAY+
public static final int SER_LONG_ARRAY+
public static final int SER_BOOLEAN_ARRAY+
public static final int SER_TREE_NODE+
TreeNode
public static final int SER_STRING+
public static final int SER_CHARACTER_SEQUENCE+
public static final int SER_CHAR_ARRAY+
public static final int SER_BYTE_ARRAY+
public static final int SER_NUMBER_BYTE+
public static final int SER_NUMBER_SHORT+
public static final int SER_NUMBER_INTEGER+
public static final int SER_NUMBER_LONG+
public static final int SER_NUMBER_FLOAT+
public static final int SER_NUMBER_DOUBLE+
public static final int SER_NUMBER_BIG_INTEGER+
public static final int SER_NUMBER_BIG_DECIMAL+
public static final int SER_BOOLEAN+
public static final int SER_CHAR+
public static final int SER_ENUM+
public static final int SER_DATE+
public static final int SER_CALENDAR+
public static final int SER_CLASS+
public static final int SER_FILE+
public static final int SER_UUID+
public static final int SER_URL+
public static final int SER_URI+
public static final int SER_ITERABLE+
Iterable
, but not
+ Collection
.protected static final int CACHE_FLAGS+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ValueReaderLocator.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ValueReaderLocator.html new file mode 100644 index 00000000..9f41c15c --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ValueReaderLocator.html @@ -0,0 +1,797 @@ + + + + + + +public class ValueReaderLocator +extends ValueLocatorBase+
+ Note that usage pattern is such that a single "root" instance is kept
+ by each JSON
instance; and
+ an actual per-operation instance must be constructed by calling
+ perOperationInstance(com.fasterxml.jackson.jr.ob.impl.JSONReader, int)
: reason for this is that instances
+ use simple caching to handle the common case of repeating types
+ within JSON Arrays.
Modifier and Type | +Field and Description | +
---|---|
protected int |
+_features
+Feature flags that are enabled
+ |
+
protected Map<ClassKey,ValueReader> |
+_incompleteReaders
+During resolution, some readers may be in-progress, but need to be
+ linked: for example, with cyclic type references.
+ |
+
protected ConcurrentHashMap<ClassKey,ValueReader> |
+_knownReaders
+Set of
+ValueReader s that we have resolved |
+
protected JSONReader |
+_readContext |
+
protected Object |
+_readerLock
+Object used for mutex during construction of a Bean deserializer: necessary
+ to avoid race conditions during handling of cyclic dependencies.
+ |
+
protected ReaderWriterModifier |
+_readerModifier
+Provider for reader customizer, if any; may be null.
+ |
+
protected ReaderWriterProvider |
+_readerProvider
+Provider for custom readers, if any; may be null.
+ |
+
protected TypeResolver |
+_typeResolver
+For generic containers (Collections, Maps, arrays), we may need
+ this guy.
+ |
+
protected static int |
+MAX_CACHED_READERS
+While we should be able to cache all types in the active working set,
+ we should also avoid potential unbounded retention, since there is
+ often just one big instance per JVM (or at least ClassLoader).
+ |
+
CACHE_FLAGS, SER_BOOLEAN, SER_BOOLEAN_ARRAY, SER_BYTE_ARRAY, SER_CALENDAR, SER_CHAR, SER_CHAR_ARRAY, SER_CHARACTER_SEQUENCE, SER_CLASS, SER_COLLECTION, SER_DATE, SER_ENUM, SER_FILE, SER_INT_ARRAY, SER_ITERABLE, SER_LIST, SER_LONG_ARRAY, SER_MAP, SER_NUMBER_BIG_DECIMAL, SER_NUMBER_BIG_INTEGER, SER_NUMBER_BYTE, SER_NUMBER_DOUBLE, SER_NUMBER_FLOAT, SER_NUMBER_INTEGER, SER_NUMBER_LONG, SER_NUMBER_SHORT, SER_OBJECT_ARRAY, SER_STRING, SER_TREE_NODE, SER_UNKNOWN, SER_URI, SER_URL, SER_UUID
Modifier | +Constructor and Description | +
---|---|
protected |
+ValueReaderLocator(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance
+ |
+
protected |
+ValueReaderLocator(ValueReaderLocator base,
+ int features,
+ JSONReader r) |
+
protected |
+ValueReaderLocator(ValueReaderLocator base,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
Modifier and Type | +Method and Description | +
---|---|
protected ValueReader |
+_createReader(Class<?> contextType,
+ Class<?> type,
+ Type genericType) |
+
protected POJODefinition |
+_resolveBeanDef(Class<?> raw) |
+
protected BeanReader |
+_resolveBeanForDeser(Class<?> raw,
+ POJODefinition beanDef) |
+
protected ValueReader |
+arrayReader(Class<?> contextType,
+ Class<?> arrayType) |
+
protected ValueReader |
+beanReader(Class<?> type) |
+
static ValueReaderLocator |
+blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
protected ValueReader |
+collectionReader(Class<?> collectionType,
+ ResolvedType valueType) |
+
protected ValueReader |
+collectionReader(Class<?> contextType,
+ Type collectionType) |
+
protected ValueReader |
+createReader(Class<?> contextType,
+ Class<?> type,
+ Type genericType)
+Factory method for creating standard readers of any declared type.
+ |
+
protected ValueReader |
+enumReader(Class<?> enumType) |
+
ValueReader |
+findReader(Class<?> raw)
+Method used during deserialization to find handler for given
+ non-generic type: will first check for already resolved (and cached) readers
+ -- and return if one found -- and then if no cached reader found, create
+ one, cache, return.
+ |
+
protected ValueReader |
+mapReader(Class<?> mapType,
+ ResolvedType valueType) |
+
protected ValueReader |
+mapReader(Class<?> contextType,
+ Type mapType) |
+
ValueReaderLocator |
+perOperationInstance(JSONReader r,
+ int features) |
+
ReaderWriterModifier |
+readerWriterModifier() |
+
ReaderWriterProvider |
+readerWriterProvider() |
+
ValueReaderLocator |
+with(ReaderWriterModifier rwm) |
+
ValueReaderLocator |
+with(ReaderWriterProvider rwp) |
+
_findSimpleType
protected static final int MAX_CACHED_READERS+
protected final TypeResolver _typeResolver+
protected final ReaderWriterProvider _readerProvider+
protected final ReaderWriterModifier _readerModifier+
protected final ConcurrentHashMap<ClassKey,ValueReader> _knownReaders+
ValueReader
s that we have resolvedprotected Map<ClassKey,ValueReader> _incompleteReaders+
protected final Object _readerLock+
protected final int _features+
protected final JSONReader _readContext+
protected ValueReaderLocator(ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
protected ValueReaderLocator(ValueReaderLocator base, + int features, + JSONReader r)+
protected ValueReaderLocator(ValueReaderLocator base, + ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
public static final ValueReaderLocator blueprint(ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
public ValueReaderLocator with(ReaderWriterProvider rwp)+
public ValueReaderLocator with(ReaderWriterModifier rwm)+
public ValueReaderLocator perOperationInstance(JSONReader r, + int features)+
public ReaderWriterProvider readerWriterProvider()+
public ReaderWriterModifier readerWriterModifier()+
public ValueReader findReader(Class<?> raw)+
raw
- Type-erased type of value to find reader forprotected ValueReader createReader(Class<?> contextType, + Class<?> type, + Type genericType)+
contextType
- Context for resolving generic type parameterstype
- Type-erased type of value to construct reader forgenericType
- Full (possibly) generic type of value to construct reader for (important
+ for Map
, Collection
).protected ValueReader _createReader(Class<?> contextType, + Class<?> type, + Type genericType)+
protected ValueReader arrayReader(Class<?> contextType, + Class<?> arrayType)+
protected ValueReader enumReader(Class<?> enumType)+
protected ValueReader collectionReader(Class<?> contextType, + Type collectionType)+
protected ValueReader collectionReader(Class<?> collectionType, + ResolvedType valueType)+
protected ValueReader mapReader(Class<?> contextType, + Type mapType)+
protected ValueReader mapReader(Class<?> mapType, + ResolvedType valueType)+
protected ValueReader beanReader(Class<?> type)+
protected POJODefinition _resolveBeanDef(Class<?> raw)+
protected BeanReader _resolveBeanForDeser(Class<?> raw, + POJODefinition beanDef)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ValueWriterLocator.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ValueWriterLocator.html new file mode 100644 index 00000000..402c561a --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/ValueWriterLocator.html @@ -0,0 +1,588 @@ + + + + + + +public class ValueWriterLocator +extends ValueLocatorBase+
+ Note that usage pattern is such that a single "root" instance is kept
+ by each JSON
instance; and
+ an actual per-operation instance must be constructed by calling
+ perOperationInstance(com.fasterxml.jackson.jr.ob.impl.JSONWriter, int)
: reason for this is that instances
+ use simple caching to handle the common case of repeating types
+ within JSON Arrays.
Modifier and Type | +Field and Description | +
---|---|
protected int |
+_features |
+
protected ConcurrentHashMap<ClassKey,Integer> |
+_knownSerTypes
+Mapping from classes to resolved type constants or indexes, to use
+ for serialization.
+ |
+
protected CopyOnWriteArrayList<ValueWriter> |
+_knownWriters |
+
protected JSONWriter |
+_writeContext |
+
protected ReaderWriterModifier |
+_writerModifier
+Provider for reader customizer, if any; may be null.
+ |
+
protected ReaderWriterProvider |
+_writerProvider
+Provider for custom writers, if any; may be null.
+ |
+
protected static BeanPropertyWriter[] |
+NO_PROPS_FOR_WRITE |
+
CACHE_FLAGS, SER_BOOLEAN, SER_BOOLEAN_ARRAY, SER_BYTE_ARRAY, SER_CALENDAR, SER_CHAR, SER_CHAR_ARRAY, SER_CHARACTER_SEQUENCE, SER_CLASS, SER_COLLECTION, SER_DATE, SER_ENUM, SER_FILE, SER_INT_ARRAY, SER_ITERABLE, SER_LIST, SER_LONG_ARRAY, SER_MAP, SER_NUMBER_BIG_DECIMAL, SER_NUMBER_BIG_INTEGER, SER_NUMBER_BYTE, SER_NUMBER_DOUBLE, SER_NUMBER_FLOAT, SER_NUMBER_INTEGER, SER_NUMBER_LONG, SER_NUMBER_SHORT, SER_OBJECT_ARRAY, SER_STRING, SER_TREE_NODE, SER_UNKNOWN, SER_URI, SER_URL, SER_UUID
Modifier | +Constructor and Description | +
---|---|
protected |
+ValueWriterLocator(int features,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm)
+Constructor for the blueprint instance (and variations)
+ |
+
protected |
+ValueWriterLocator(ValueWriterLocator base,
+ int features,
+ JSONWriter w) |
+
Modifier and Type | +Method and Description | +
---|---|
protected int |
+_findPOJOSerializationType(Class<?> raw)
+Method called to locate a serializer for given type and return numeric id.
+ |
+
protected POJODefinition |
+_resolveBeanDef(Class<?> raw) |
+
protected BeanPropertyWriter[] |
+_resolveBeanForSer(Class<?> raw,
+ POJODefinition beanDef) |
+
static ValueWriterLocator |
+blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
int |
+findSerializationType(Class<?> raw)
+The main lookup method used to find type identifier for
+ given raw class; including Bean types (if allowed).
+ |
+
ValueWriter |
+getValueWriter(int index) |
+
ValueWriterLocator |
+perOperationInstance(JSONWriter w,
+ int features) |
+
ValueWriterLocator |
+with(ReaderWriterModifier rwm) |
+
ValueWriterLocator |
+with(ReaderWriterProvider rwp) |
+
_findSimpleType
protected static final BeanPropertyWriter[] NO_PROPS_FOR_WRITE+
protected final ConcurrentHashMap<ClassKey,Integer> _knownSerTypes+
protected final CopyOnWriteArrayList<ValueWriter> _knownWriters+
protected final ReaderWriterProvider _writerProvider+
protected final ReaderWriterModifier _writerModifier+
protected final int _features+
protected final JSONWriter _writeContext+
protected ValueWriterLocator(int features, + ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
protected ValueWriterLocator(ValueWriterLocator base, + int features, + JSONWriter w)+
public static final ValueWriterLocator blueprint(ReaderWriterProvider rwp, + ReaderWriterModifier rwm)+
public ValueWriterLocator with(ReaderWriterProvider rwp)+
public ValueWriterLocator with(ReaderWriterModifier rwm)+
public ValueWriterLocator perOperationInstance(JSONWriter w, + int features)+
public ValueWriter getValueWriter(int index)+
public final int findSerializationType(Class<?> raw)+
protected POJODefinition _resolveBeanDef(Class<?> raw)+
protected int _findPOJOSerializationType(Class<?> raw)+
ReaderWriterProvider
+ String
,
+ Boolean
, Number
and a small number of other JDK types
+ protected BeanPropertyWriter[] _resolveBeanForSer(Class<?> raw, + POJODefinition beanDef)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/AnyReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/AnyReader.html new file mode 100644 index 00000000..04a0b788 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/AnyReader.html @@ -0,0 +1,165 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
static AnyReader |
+AnyReader.std |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ArrayReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ArrayReader.html new file mode 100644 index 00000000..e9d1cd14 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ArrayReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyIntrospector.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyIntrospector.html new file mode 100644 index 00000000..70bdc473 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyIntrospector.html @@ -0,0 +1,165 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
static BeanPropertyIntrospector |
+BeanPropertyIntrospector.instance() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyReader.html new file mode 100644 index 00000000..69f62ae3 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyReader.html @@ -0,0 +1,235 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected Map<String,BeanPropertyReader> |
+BeanReader._propsByName |
+
Modifier and Type | +Method and Description | +
---|---|
BeanPropertyReader |
+BeanReader.findProperty(String name) |
+
BeanPropertyReader |
+BeanPropertyReader.withReader(ValueReader vr) |
+
Modifier and Type | +Method and Description | +
---|---|
Map<String,BeanPropertyReader> |
+BeanReader.propertiesByName() |
+
Constructor and Description | +
---|
BeanPropertyReader(BeanPropertyReader src,
+ ValueReader vr) |
+
Constructor and Description | +
---|
BeanReader(Class<?> type,
+ Map<String,BeanPropertyReader> props,
+ Constructor<?> defaultCtor,
+ Constructor<?> stringCtor,
+ Constructor<?> longCtor)
+Deprecated.
+ |
+
BeanReader(Class<?> type,
+ Map<String,BeanPropertyReader> props,
+ Constructor<?> defaultCtor,
+ Constructor<?> stringCtor,
+ Constructor<?> longCtor,
+ Set<String> ignorableNames,
+ Map<String,String> aliasMapping)
+Constructors used for deserialization use case
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyWriter.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyWriter.html new file mode 100644 index 00000000..b1a38edf --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanPropertyWriter.html @@ -0,0 +1,213 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected BeanPropertyWriter[] |
+BeanWriter._properties |
+
protected static BeanPropertyWriter[] |
+ValueWriterLocator.NO_PROPS_FOR_WRITE |
+
Modifier and Type | +Method and Description | +
---|---|
protected BeanPropertyWriter[] |
+ValueWriterLocator._resolveBeanForSer(Class<?> raw,
+ POJODefinition beanDef) |
+
BeanPropertyWriter |
+BeanPropertyWriter.withName(String newName) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+JSONWriter.writeBeanValue(BeanPropertyWriter[] props,
+ Object bean) |
+
Constructor and Description | +
---|
BeanWriter(Class<?> type,
+ BeanPropertyWriter[] props) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanReader.html new file mode 100644 index 00000000..9c3acd46 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanReader.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
protected BeanReader |
+ValueReaderLocator._resolveBeanForDeser(Class<?> raw,
+ POJODefinition beanDef) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanWriter.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanWriter.html new file mode 100644 index 00000000..f7a0fc28 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/BeanWriter.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ClassKey.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ClassKey.html new file mode 100644 index 00000000..fab0665b --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ClassKey.html @@ -0,0 +1,217 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.type | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ValueReader> |
+ValueReaderLocator._incompleteReaders
+During resolution, some readers may be in-progress, but need to be
+ linked: for example, with cyclic type references.
+ |
+
protected ConcurrentHashMap<ClassKey,ValueReader> |
+ValueReaderLocator._knownReaders
+Set of
+ValueReader s that we have resolved |
+
protected ConcurrentHashMap<ClassKey,Integer> |
+ValueWriterLocator._knownSerTypes
+Mapping from classes to resolved type constants or indexes, to use
+ for serialization.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ClassKey |
+ClassKey.with(Class<?> clz,
+ int flags) |
+
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ResolvedType> |
+TypeResolver._cache |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/CollectionReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/CollectionReader.html new file mode 100644 index 00000000..fe35f977 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/CollectionReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/DeferredMap.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/DeferredMap.html new file mode 100644 index 00000000..07eefe70 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/DeferredMap.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/EnumReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/EnumReader.html new file mode 100644 index 00000000..93d5a45e --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/EnumReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONAsObjectCodec.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONAsObjectCodec.html new file mode 100644 index 00000000..8beb8932 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONAsObjectCodec.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONReader.html new file mode 100644 index 00000000..7006bf3e --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONReader.html @@ -0,0 +1,552 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected JSONReader |
+ValueIterator._reader
+Context for deserialization, needed to pass through to deserializer
+ |
+
protected JSONReader |
+JSON._reader
+Blueprint instance of the reader to use for reading JSON as simple
+ Objects.
+ |
+
protected JSONReader |
+JSON.Builder._reader |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONReader |
+JSON._defaultReader() |
+
protected JSONReader |
+JSON._readerForOperation(JsonParser p) |
+
JSONReader |
+JSON.Builder.jsonReader() |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSON |
+JSON._with(int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader reader,
+ JSONWriter writer,
+ PrettyPrinter pp) |
+
JSON.Builder |
+JSON.Builder.jsonReader(JSONReader r) |
+
JSON |
+JSON.with(JSONReader r)
+Deprecated.
+
+Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
Constructor and Description | +
---|
JSON(JSON base,
+ int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader r,
+ JSONWriter w,
+ PrettyPrinter pp) |
+
ValueIterator(int mode,
+ Class<?> type,
+ JsonParser p,
+ JSONReader reader,
+ TreeCodec treeCodec,
+ boolean managedParser) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+ReaderWriterProvider.findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findValueReader(JSONReader readContext,
+ Class<?> type)
+Method called to find custom reader for given type that is NOT one of
+ special container types (
+Collection ,
+ Map ): typically value is a scalar, Bean or Enum. |
+
ValueReader |
+ReaderWriterProvider.Pair.findValueReader(JSONReader ctxt,
+ Class<?> type) |
+
ValueReader |
+ReaderWriterModifier.modifyValueReader(JSONReader readContext,
+ Class<?> type,
+ ValueReader defaultReader)
+Method called after
+ValueReader to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueReader |
+ReaderWriterModifier.Pair.modifyValueReader(JSONReader ctxt,
+ Class<?> type,
+ ValueReader defaultReader) |
+
POJODefinition |
+ReaderWriterModifier.pojoDefinitionForDeserialization(JSONReader readContext,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.Pair.pojoDefinitionForDeserialization(JSONReader ctxt,
+ Class<?> pojoType) |
+
abstract Object |
+ValueReader.read(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Object |
+ValueReader.readNext(JSONReader reader,
+ JsonParser p)
+Method called to deserialize value of type supported by this reader, using
+ given parser.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected JSONReader |
+ValueReaderLocator._readContext |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONReader |
+JSONReader._with(CollectionBuilder lb,
+ MapBuilder mb)
+Overridable method that all mutant factories call if a new instance
+ is to be constructed
+ |
+
JSONReader |
+JSONReader.perOperationInstance(int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p) |
+
JSONReader |
+JSONReader.with(CollectionBuilder lb) |
+
JSONReader |
+JSONReader.with(MapBuilder mb) |
+
JSONReader |
+JSONReader.withCacheCheck(int features) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+BeanReader.handleUnknown(JSONReader reader,
+ JsonParser parser,
+ String fieldName) |
+
ValueReaderLocator |
+ValueReaderLocator.perOperationInstance(JSONReader r,
+ int features) |
+
POJODefinition |
+BeanPropertyIntrospector.pojoDefinitionForDeserialization(JSONReader r,
+ Class<?> pojoType) |
+
Object |
+ArrayReader.read(JSONReader r,
+ JsonParser p) |
+
Object |
+CollectionReader.read(JSONReader r,
+ JsonParser p) |
+
Object |
+MapReader.read(JSONReader r,
+ JsonParser p) |
+
Object |
+BeanReader.read(JSONReader r,
+ JsonParser p)
+Method used for deserialization; will read an instance of the bean
+ type using given parser.
+ |
+
Object |
+EnumReader.read(JSONReader reader,
+ JsonParser p) |
+
Object |
+AnyReader.read(JSONReader r,
+ JsonParser p) |
+
Object |
+SimpleValueReader.read(JSONReader reader,
+ JsonParser p) |
+
Object[] |
+AnyReader.readArrayFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Collection<Object> |
+AnyReader.readCollectionFromArray(JSONReader r,
+ JsonParser p,
+ CollectionBuilder b) |
+
Map<String,Object> |
+AnyReader.readFromObject(JSONReader r,
+ JsonParser p,
+ MapBuilder b) |
+
Object |
+ArrayReader.readNext(JSONReader r,
+ JsonParser p) |
+
Object |
+CollectionReader.readNext(JSONReader r,
+ JsonParser p) |
+
Object |
+MapReader.readNext(JSONReader r,
+ JsonParser p) |
+
Object |
+BeanReader.readNext(JSONReader r,
+ JsonParser p) |
+
Object |
+EnumReader.readNext(JSONReader reader,
+ JsonParser p) |
+
Object |
+AnyReader.readNext(JSONReader r,
+ JsonParser p) |
+
Object |
+SimpleValueReader.readNext(JSONReader reader,
+ JsonParser p) |
+
Constructor and Description | +
---|
JSONReader(JSONReader base,
+ int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p)
+Constructor used for per-operation (non-blueprint) instance.
+ |
+
ValueReaderLocator(ValueReaderLocator base,
+ int features,
+ JSONReader r) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONWriter.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONWriter.html new file mode 100644 index 00000000..dbf8f82f --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/JSONWriter.html @@ -0,0 +1,405 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected JSONWriter |
+JSON._writer
+Blueprint instance of the writer to use for writing JSON given
+ simple Objects.
+ |
+
protected JSONWriter |
+JSON.Builder._writer |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSONWriter |
+JSON._defaultWriter() |
+
protected JSONWriter |
+JSON._writerForOperation(JsonGenerator gen) |
+
JSONWriter |
+JSON.Builder.jsonWriter() |
+
Modifier and Type | +Method and Description | +
---|---|
protected JSON |
+JSON._with(int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader reader,
+ JSONWriter writer,
+ PrettyPrinter pp) |
+
JSON.Builder |
+JSON.Builder.jsonWriter(JSONWriter w) |
+
JSON |
+JSON.with(JSONWriter w)
+Deprecated.
+
+Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
Constructor and Description | +
---|
JSON(JSON base,
+ int features,
+ JsonFactory jsonF,
+ TreeCodec trees,
+ JSONReader r,
+ JSONWriter w,
+ PrettyPrinter pp) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueWriter |
+ReaderWriterProvider.findValueWriter(JSONWriter writeContext,
+ Class<?> type) |
+
ValueWriter |
+ReaderWriterProvider.Pair.findValueWriter(JSONWriter ctxt,
+ Class<?> type) |
+
ValueWriter |
+ReaderWriterModifier.modifyValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ ValueWriter defaultWriter)
+Method called after
+ValueWriter to use has been constructed, but
+ before it is to be used for the first time. |
+
ValueWriter |
+ReaderWriterModifier.Pair.modifyValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ ValueWriter defaultWriter) |
+
ValueWriter |
+ReaderWriterModifier.overrideStandardValueWriter(JSONWriter writeContext,
+ Class<?> type,
+ int stdTypeId)
+Method called instead of
+ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter) for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter and are
+ normally directly serialized by JSONWriter itself. |
+
ValueWriter |
+ReaderWriterModifier.Pair.overrideStandardValueWriter(JSONWriter ctxt,
+ Class<?> type,
+ int stdTypeId) |
+
POJODefinition |
+ReaderWriterModifier.pojoDefinitionForSerialization(JSONWriter writeContext,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.Pair.pojoDefinitionForSerialization(JSONWriter ctxt,
+ Class<?> pojoType) |
+
void |
+ValueWriter.writeValue(JSONWriter context,
+ JsonGenerator g,
+ Object value) |
+
Modifier and Type | +Field and Description | +
---|---|
protected JSONWriter |
+ValueWriterLocator._writeContext |
+
Modifier and Type | +Method and Description | +
---|---|
JSONWriter |
+JSONWriter.perOperationInstance(int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g) |
+
JSONWriter |
+JSONWriter.withCacheCheck(int features) |
+
Modifier and Type | +Method and Description | +
---|---|
ValueWriterLocator |
+ValueWriterLocator.perOperationInstance(JSONWriter w,
+ int features) |
+
POJODefinition |
+BeanPropertyIntrospector.pojoDefinitionForSerialization(JSONWriter w,
+ Class<?> pojoType) |
+
void |
+BeanWriter.writeValue(JSONWriter context,
+ JsonGenerator g,
+ Object value) |
+
Constructor and Description | +
---|
JSONWriter(JSONWriter base,
+ int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g)
+Constructor for non-blueprint instances.
+ |
+
ValueWriterLocator(ValueWriterLocator base,
+ int features,
+ JSONWriter w) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/MapReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/MapReader.html new file mode 100644 index 00000000..fbfd58ec --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/MapReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.Prop.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.Prop.html new file mode 100644 index 00000000..a7f88c03 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.Prop.html @@ -0,0 +1,230 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected POJODefinition.Prop[] |
+POJODefinition._properties |
+
protected static POJODefinition.Prop[] |
+BeanPropertyIntrospector.NO_PROPS |
+
Modifier and Type | +Method and Description | +
---|---|
POJODefinition.Prop[] |
+POJODefinition.properties()
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
List<POJODefinition.Prop> |
+POJODefinition.getProperties() |
+
Modifier and Type | +Method and Description | +
---|---|
POJODefinition |
+POJODefinition.withProperties(Collection<POJODefinition.Prop> props) |
+
Constructor and Description | +
---|
POJODefinition(Class<?> type,
+ POJODefinition.Prop[] props,
+ Constructor<?> defaultCtor0,
+ Constructor<?> stringCtor0,
+ Constructor<?> longCtor0) |
+
POJODefinition(POJODefinition base,
+ POJODefinition.Prop[] props,
+ Set<String> ignorableN) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.html new file mode 100644 index 00000000..90a55066 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/POJODefinition.html @@ -0,0 +1,257 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Method and Description | +
---|---|
POJODefinition |
+ReaderWriterModifier.pojoDefinitionForDeserialization(JSONReader readContext,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.Pair.pojoDefinitionForDeserialization(JSONReader ctxt,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.pojoDefinitionForSerialization(JSONWriter writeContext,
+ Class<?> pojoType) |
+
POJODefinition |
+ReaderWriterModifier.Pair.pojoDefinitionForSerialization(JSONWriter ctxt,
+ Class<?> pojoType) |
+
Modifier and Type | +Method and Description | +
---|---|
protected POJODefinition |
+ValueReaderLocator._resolveBeanDef(Class<?> raw) |
+
protected POJODefinition |
+ValueWriterLocator._resolveBeanDef(Class<?> raw) |
+
POJODefinition |
+BeanPropertyIntrospector.pojoDefinitionForDeserialization(JSONReader r,
+ Class<?> pojoType) |
+
POJODefinition |
+BeanPropertyIntrospector.pojoDefinitionForSerialization(JSONWriter w,
+ Class<?> pojoType) |
+
POJODefinition |
+POJODefinition.withIgnorals(Set<String> ignorableN) |
+
POJODefinition |
+POJODefinition.withProperties(Collection<POJODefinition.Prop> props) |
+
Modifier and Type | +Method and Description | +
---|---|
protected BeanReader |
+ValueReaderLocator._resolveBeanForDeser(Class<?> raw,
+ POJODefinition beanDef) |
+
protected BeanPropertyWriter[] |
+ValueWriterLocator._resolveBeanForSer(Class<?> raw,
+ POJODefinition beanDef) |
+
Constructor and Description | +
---|
POJODefinition(POJODefinition base,
+ POJODefinition.Prop[] props,
+ Set<String> ignorableN) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/SimpleValueReader.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/SimpleValueReader.html new file mode 100644 index 00000000..d0ae5075 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/SimpleValueReader.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/Types.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/Types.html new file mode 100644 index 00000000..503fd7f3 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/Types.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueLocatorBase.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueLocatorBase.html new file mode 100644 index 00000000..8a2c2437 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueLocatorBase.html @@ -0,0 +1,176 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+ValueReaderLocator
+Helper object used for efficient detection of type information relevant
+ to our conversion needs when writing out Java Objects as JSON.
+ |
+
class |
+ValueWriterLocator
+Helper object used for efficient detection of type information
+ relevant to our conversion needs when writing out Java Objects
+ as JSON.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueReaderLocator.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueReaderLocator.html new file mode 100644 index 00000000..4ead0d7c --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueReaderLocator.html @@ -0,0 +1,272 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected ValueReaderLocator |
+JSON._valueReaderLocator |
+
Constructor and Description | +
---|
JSON(JSON base,
+ ValueReaderLocator rloc,
+ ValueWriterLocator wloc) |
+
Modifier and Type | +Field and Description | +
---|---|
protected ValueReaderLocator |
+JSONReader._readerLocator
+Object that is used to find value readers dynamically.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static ValueReaderLocator |
+ValueReaderLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueReaderLocator |
+ValueReaderLocator.perOperationInstance(JSONReader r,
+ int features) |
+
ValueReaderLocator |
+ValueReaderLocator.with(ReaderWriterModifier rwm) |
+
ValueReaderLocator |
+ValueReaderLocator.with(ReaderWriterProvider rwp) |
+
Modifier and Type | +Method and Description | +
---|---|
JSONReader |
+JSONReader.perOperationInstance(int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p) |
+
Constructor and Description | +
---|
JSONReader(JSONReader base,
+ int features,
+ ValueReaderLocator loc,
+ TreeCodec tc,
+ JsonParser p)
+Constructor used for per-operation (non-blueprint) instance.
+ |
+
ValueReaderLocator(ValueReaderLocator base,
+ int features,
+ JSONReader r) |
+
ValueReaderLocator(ValueReaderLocator base,
+ ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueWriterLocator.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueWriterLocator.html new file mode 100644 index 00000000..9ce7eb58 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/class-use/ValueWriterLocator.html @@ -0,0 +1,267 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected ValueWriterLocator |
+JSON._valueWriterLocator |
+
Constructor and Description | +
---|
JSON(JSON base,
+ ValueReaderLocator rloc,
+ ValueWriterLocator wloc) |
+
Modifier and Type | +Field and Description | +
---|---|
protected ValueWriterLocator |
+JSONWriter._writerLocator
+Object that is used to dynamically find Bean (and custom type) value writers
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static ValueWriterLocator |
+ValueWriterLocator.blueprint(ReaderWriterProvider rwp,
+ ReaderWriterModifier rwm) |
+
ValueWriterLocator |
+ValueWriterLocator.perOperationInstance(JSONWriter w,
+ int features) |
+
ValueWriterLocator |
+ValueWriterLocator.with(ReaderWriterModifier rwm) |
+
ValueWriterLocator |
+ValueWriterLocator.with(ReaderWriterProvider rwp) |
+
Modifier and Type | +Method and Description | +
---|---|
JSONWriter |
+JSONWriter.perOperationInstance(int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g) |
+
Constructor and Description | +
---|
JSONWriter(JSONWriter base,
+ int features,
+ ValueWriterLocator loc,
+ TreeCodec tc,
+ JsonGenerator g)
+Constructor for non-blueprint instances.
+ |
+
ValueWriterLocator(ValueWriterLocator base,
+ int features,
+ JSONWriter w) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/package-frame.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/package-frame.html new file mode 100644 index 00000000..a291cce7 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/package-frame.html @@ -0,0 +1,41 @@ + + + + + + +Class | +Description | +
---|---|
AnyReader | +
+ValueReader used for "untyped" values; ones that are bound
+ to whatever Object is the natural mapping to JSON
+ value that parser currently points to |
+
ArrayReader | +
+ Reader for typed Array values.
+ |
+
BeanPropertyIntrospector | +
+ Helper class that jackson-jr uses by default to introspect POJO properties
+ (represented as
+POJODefinition ) to build general POJO readers
+ (deserializers) and writers (serializers). |
+
BeanPropertyReader | ++ |
BeanPropertyWriter | +
+ Simple container class used to contain information needed for serializing
+ value of a single POJO property.
+ |
+
BeanReader | +
+ Class that contains information about dynamically introspected
+ Bean types, to be able to deserialize (read) JSON into a POJO
+ and serialize (write) POJO as JSON.
+ |
+
BeanWriter | ++ |
ClassKey | +
+ Key class, used as an efficient and accurate key
+ for locating per-class values from
+Map s. |
+
CollectionReader | +
+ Reader for typed
+Collection values. |
+
DeferredMap | +
+ A specialized
+Map implementation that will collect
+ entries during building, but only materialize full lookup structure
+ when needed; that is, actual building of hash lookup is deferred. |
+
EnumReader | +
+ Reader for Enum values: needed because we need a simple
+Map
+ for efficient conversion from id (gotten with Enum.toString()
+ to value. |
+
JSONAsObjectCodec | +
+ Convenience wrapper around
+JSON that implements ObjectCodec . |
+
JSONReader | +
+ Root-level helper object that handles initial delegation to actual
+ readers (which are
+ValueReader s), but does not handle
+ any of reading itself (despite name). |
+
JSONWriter | +
+ Object that handles serialization of simple Objects into underlying
+ data format (usually JSON).
+ |
+
MapReader | +
+ Reader for typed
+Map values. |
+
POJODefinition | +
+ Definition of a single Bean-style Java class, without assumptions
+ on usage for serialization or deserialization, used as input
+ for constructing bean readers and writers.
+ |
+
POJODefinition.Prop | ++ |
SimpleValueReader | +
+ Default
+ValueReader used for simple scalar types and related,
+ not including POJO-, Map and Collection
+ types. |
+
Types | +
+ Utilities to help with reflection and types
+ |
+
ValueLocatorBase | ++ |
ValueReaderLocator | +
+ Helper object used for efficient detection of type information relevant
+ to our conversion needs when writing out Java Objects as JSON.
+ |
+
ValueWriterLocator | +
+ Helper object used for efficient detection of type information
+ relevant to our conversion needs when writing out Java Objects
+ as JSON.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/package-tree.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/package-tree.html new file mode 100644 index 00000000..acf8bc04 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/package-tree.html @@ -0,0 +1,178 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/package-use.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/package-use.html new file mode 100644 index 00000000..fa285a00 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/impl/package-use.html @@ -0,0 +1,330 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.type | ++ |
Class and Description | +
---|
JSONReader
+ Root-level helper object that handles initial delegation to actual
+ readers (which are
+ValueReader s), but does not handle
+ any of reading itself (despite name). |
+
JSONWriter
+ Object that handles serialization of simple Objects into underlying
+ data format (usually JSON).
+ |
+
ValueReaderLocator
+ Helper object used for efficient detection of type information relevant
+ to our conversion needs when writing out Java Objects as JSON.
+ |
+
ValueWriterLocator
+ Helper object used for efficient detection of type information
+ relevant to our conversion needs when writing out Java Objects
+ as JSON.
+ |
+
Class and Description | +
---|
JSONReader
+ Root-level helper object that handles initial delegation to actual
+ readers (which are
+ValueReader s), but does not handle
+ any of reading itself (despite name). |
+
JSONWriter
+ Object that handles serialization of simple Objects into underlying
+ data format (usually JSON).
+ |
+
POJODefinition
+ Definition of a single Bean-style Java class, without assumptions
+ on usage for serialization or deserialization, used as input
+ for constructing bean readers and writers.
+ |
+
Class and Description | +
---|
AnyReader
+ValueReader used for "untyped" values; ones that are bound
+ to whatever Object is the natural mapping to JSON
+ value that parser currently points to |
+
BeanPropertyIntrospector
+ Helper class that jackson-jr uses by default to introspect POJO properties
+ (represented as
+POJODefinition ) to build general POJO readers
+ (deserializers) and writers (serializers). |
+
BeanPropertyReader | +
BeanPropertyWriter
+ Simple container class used to contain information needed for serializing
+ value of a single POJO property.
+ |
+
BeanReader
+ Class that contains information about dynamically introspected
+ Bean types, to be able to deserialize (read) JSON into a POJO
+ and serialize (write) POJO as JSON.
+ |
+
ClassKey
+ Key class, used as an efficient and accurate key
+ for locating per-class values from
+Map s. |
+
JSONReader
+ Root-level helper object that handles initial delegation to actual
+ readers (which are
+ValueReader s), but does not handle
+ any of reading itself (despite name). |
+
JSONWriter
+ Object that handles serialization of simple Objects into underlying
+ data format (usually JSON).
+ |
+
POJODefinition
+ Definition of a single Bean-style Java class, without assumptions
+ on usage for serialization or deserialization, used as input
+ for constructing bean readers and writers.
+ |
+
POJODefinition.Prop | +
ValueLocatorBase | +
ValueReaderLocator
+ Helper object used for efficient detection of type information relevant
+ to our conversion needs when writing out Java Objects as JSON.
+ |
+
ValueWriterLocator
+ Helper object used for efficient detection of type information
+ relevant to our conversion needs when writing out Java Objects
+ as JSON.
+ |
+
Class and Description | +
---|
ClassKey
+ Key class, used as an efficient and accurate key
+ for locating per-class values from
+Map s. |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/package-frame.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/package-frame.html new file mode 100644 index 00000000..a9b57941 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +Class | +Description | +
---|---|
JacksonJrExtension | +
+ Simple interface that processing additions can implement to be easily pluggable
+ to main Jackson jr handler,
+JSON . |
+
JSON | +
+ Main entry point for functionality for reading and writing JSON
+ and configuring details of reading and writing.
+ |
+
JSON.Builder | +
+ Builder class that needs to be used for certain kind of "static" configuration
+ (settings that can not vary on per-call basis for
+JSON ), such as
+ Extension registration. |
+
JSONComposer<T> | +
+ Root-level composer object that acts as streaming "builder"
+ object, using an underlying
+JsonGenerator object. |
+
JSONObjectException.Reference | +
+ Simple bean class used to contain references.
+ |
+
PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
ValueIterator<T> | +
+ Iterator exposed by
+JSON when binding sequence of
+ objects. |
+
Enum | +Description | +
---|---|
JSON.Feature | +
+ Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
Exception | +Description | +
---|---|
JSONObjectException | +
+ Standard exception exposed by this package; equivalent of
+
+com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package). |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/package-tree.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/package-tree.html new file mode 100644 index 00000000..f3caefb0 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/package-tree.html @@ -0,0 +1,185 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/package-use.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/package-use.html new file mode 100644 index 00000000..bc4e3558 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/ob/package-use.html @@ -0,0 +1,271 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
Class and Description | +
---|
JacksonJrExtension
+ Simple interface that processing additions can implement to be easily pluggable
+ to main Jackson jr handler,
+JSON . |
+
JSON
+ Main entry point for functionality for reading and writing JSON
+ and configuring details of reading and writing.
+ |
+
JSON.Builder
+ Builder class that needs to be used for certain kind of "static" configuration
+ (settings that can not vary on per-call basis for
+JSON ), such as
+ Extension registration. |
+
JSON.Feature
+ Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
JSONComposer
+ Root-level composer object that acts as streaming "builder"
+ object, using an underlying
+JsonGenerator object. |
+
JSONObjectException
+ Standard exception exposed by this package; equivalent of
+
+com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package). |
+
JSONObjectException.Reference
+ Simple bean class used to contain references.
+ |
+
ValueIterator
+ Iterator exposed by
+JSON when binding sequence of
+ objects. |
+
Class and Description | +
---|
JSON.Feature
+ Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
JSONObjectException
+ Standard exception exposed by this package; equivalent of
+
+com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package). |
+
Class and Description | +
---|
JSON
+ Main entry point for functionality for reading and writing JSON
+ and configuring details of reading and writing.
+ |
+
JSON.Feature
+ Simple on/off (enabled/disabled) features for
+JSON ; used for simple
+ configuration aspects. |
+
JSONObjectException
+ Standard exception exposed by this package; equivalent of
+
+com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package). |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/RecursiveType.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/RecursiveType.html new file mode 100644 index 00000000..60a223ed --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/RecursiveType.html @@ -0,0 +1,361 @@ + + + + + + +public class RecursiveType +extends ResolvedType+
Modifier and Type | +Field and Description | +
---|---|
protected ResolvedType |
+_referencedType |
+
_bindings, _elemType, _erasedType, _interfaces, _kind, _super, NO_TYPES, T_ARRAY, T_INTERFACE, T_PRIMITIVE, T_RECURSIVE, T_REGULAR
Constructor and Description | +
---|
RecursiveType(Class<?> erased,
+ TypeBindings bindings) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object o) |
+
ResolvedType |
+selfRefType() |
+
_appendClassDesc, appendDesc, elementType, erasedType, findSupertype, getDesc, hashCode, implInterfaces, isArray, parentType, toString, typeBindings, typeParametersFor, typeParams
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTypeName
protected ResolvedType _referencedType+
public RecursiveType(Class<?> erased, + TypeBindings bindings)+
public ResolvedType selfRefType()+
public boolean equals(Object o)+
equals
in class ResolvedType
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/ResolvedType.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/ResolvedType.html new file mode 100644 index 00000000..ba0fda1e --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/ResolvedType.html @@ -0,0 +1,774 @@ + + + + + + +public class ResolvedType +extends Object +implements Type, Serializable+
Modifier and Type | +Field and Description | +
---|---|
protected TypeBindings |
+_bindings |
+
protected ResolvedType |
+_elemType |
+
protected Class<?> |
+_erasedType |
+
protected ResolvedType[] |
+_interfaces |
+
protected int |
+_kind |
+
protected ResolvedType |
+_super |
+
static ResolvedType[] |
+NO_TYPES |
+
protected static int |
+T_ARRAY |
+
protected static int |
+T_INTERFACE |
+
protected static int |
+T_PRIMITIVE |
+
protected static int |
+T_RECURSIVE |
+
protected static int |
+T_REGULAR |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+ResolvedType(Class<?> cls) |
+
protected |
+ResolvedType(Class<?> cls,
+ ResolvedType sup,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
protected |
+ResolvedType(Class<?> cls,
+ TypeBindings bindings) |
+
protected |
+ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType elemType) |
+
protected |
+ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
Modifier and Type | +Method and Description | +
---|---|
protected StringBuilder |
+_appendClassDesc(StringBuilder sb) |
+
StringBuilder |
+appendDesc(StringBuilder sb) |
+
ResolvedType |
+elementType() |
+
boolean |
+equals(Object o) |
+
Class<?> |
+erasedType() |
+
ResolvedType |
+findSupertype(Class<?> erasedSupertype)
+Method for finding super type of this type that has specified type
+ erased signature.
+ |
+
String |
+getDesc() |
+
int |
+hashCode() |
+
List<ResolvedType> |
+implInterfaces() |
+
boolean |
+isArray() |
+
ResolvedType |
+parentType() |
+
String |
+toString() |
+
TypeBindings |
+typeBindings() |
+
List<ResolvedType> |
+typeParametersFor(Class<?> erasedSupertype)
+Method that will try to find type parameterization this type
+ has for specified super type
+ |
+
List<ResolvedType> |
+typeParams() |
+
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTypeName
public static final ResolvedType[] NO_TYPES+
protected static final int T_ARRAY+
protected static final int T_INTERFACE+
protected static final int T_PRIMITIVE+
protected static final int T_RECURSIVE+
protected static final int T_REGULAR+
protected final int _kind+
protected final Class<?> _erasedType+
protected final TypeBindings _bindings+
protected final ResolvedType[] _interfaces+
protected final ResolvedType _elemType+
protected final ResolvedType _super+
protected ResolvedType(Class<?> cls)+
protected ResolvedType(Class<?> cls, + TypeBindings bindings)+
protected ResolvedType(Class<?> cls, + TypeBindings bindings, + ResolvedType elemType)+
protected ResolvedType(Class<?> cls, + TypeBindings bindings, + ResolvedType[] ifaces)+
protected ResolvedType(Class<?> cls, + ResolvedType sup, + TypeBindings bindings, + ResolvedType[] ifaces)+
public Class<?> erasedType()+
public ResolvedType elementType()+
public ResolvedType parentType()+
public boolean isArray()+
public final List<ResolvedType> implInterfaces()+
public List<ResolvedType> typeParams()+
public TypeBindings typeBindings()+
public List<ResolvedType> typeParametersFor(Class<?> erasedSupertype)+
public ResolvedType findSupertype(Class<?> erasedSupertype)+
public String getDesc()+
public StringBuilder appendDesc(StringBuilder sb)+
protected StringBuilder _appendClassDesc(StringBuilder sb)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/TypeBindings.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/TypeBindings.html new file mode 100644 index 00000000..473ee6a3 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/TypeBindings.html @@ -0,0 +1,458 @@ + + + + + + +public final class TypeBindings +extends Object +implements Serializable+
Modifier and Type | +Method and Description | +
---|---|
static TypeBindings |
+create(Class<?> erasedType,
+ List<ResolvedType> typeList) |
+
static TypeBindings |
+create(Class<?> erasedType,
+ ResolvedType[] types) |
+
static TypeBindings |
+emptyBindings() |
+
boolean |
+equals(Object o) |
+
ResolvedType |
+findBoundType(String name) |
+
String |
+getBoundName(int index) |
+
ResolvedType |
+getBoundType(int index) |
+
List<ResolvedType> |
+getTypeParameters() |
+
int |
+hashCode() |
+
boolean |
+hasUnbound(String name) |
+
boolean |
+isEmpty() |
+
int |
+size() |
+
String |
+toString() |
+
protected ResolvedType[] |
+typeParameterArray() |
+
TypeBindings |
+withUnboundVariable(String name)
+Method for creating an instance that has same bindings as this object,
+ plus an indicator for additional type variable that may be unbound within
+ this context; this is needed to resolve recursive self-references.
+ |
+
public static TypeBindings emptyBindings()+
public static TypeBindings create(Class<?> erasedType, + List<ResolvedType> typeList)+
public static TypeBindings create(Class<?> erasedType, + ResolvedType[] types)+
public TypeBindings withUnboundVariable(String name)+
public ResolvedType findBoundType(String name)+
public boolean isEmpty()+
public int size()+
public String getBoundName(int index)+
public ResolvedType getBoundType(int index)+
public List<ResolvedType> getTypeParameters()+
public boolean hasUnbound(String name)+
protected ResolvedType[] typeParameterArray()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/TypeResolver.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/TypeResolver.html new file mode 100644 index 00000000..1228b9c6 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/TypeResolver.html @@ -0,0 +1,350 @@ + + + + + + +public class TypeResolver +extends Object +implements Serializable+
+ Note that resolver instances are stateful in that resolvers cache resolved + types for efficiency. Since this is internal state and not directly visible + to callers, access to state is fully synchronized so that access from + multiple threads is safe.
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ResolvedType> |
+_cache |
+
Constructor and Description | +
---|
TypeResolver() |
+
Modifier and Type | +Method and Description | +
---|---|
protected Object |
+readResolve() |
+
ResolvedType |
+resolve(TypeBindings typeBindings,
+ Type jdkType)
+Factory method for resolving specified Java
+Type , given
+ TypeBindings needed to resolve any type variables. |
+
protected final transient Map<ClassKey,ResolvedType> _cache+
protected Object readResolve()+
public ResolvedType resolve(TypeBindings typeBindings, + Type jdkType)+
Type
, given
+ TypeBindings
needed to resolve any type variables.
+
+ Use of this method is discouraged (use if and only if you really know what you
+ are doing!); but if used, type bindings passed should come from ResolvedType
+ instance of declaring class (or interface).
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/RecursiveType.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/RecursiveType.html new file mode 100644 index 00000000..65c80b8f --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/RecursiveType.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/ResolvedType.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/ResolvedType.html new file mode 100644 index 00000000..22c6df80 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/ResolvedType.html @@ -0,0 +1,415 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.type | ++ |
Modifier and Type | +Method and Description | +
---|---|
ValueReader |
+ReaderWriterProvider.findCollectionReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.findMapReader(JSONReader readContext,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
ValueReader |
+ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
+ Class<?> type,
+ ResolvedType valueType,
+ ValueReader readerForValues) |
+
Modifier and Type | +Method and Description | +
---|---|
protected ValueReader |
+ValueReaderLocator.collectionReader(Class<?> collectionType,
+ ResolvedType valueType) |
+
protected ValueReader |
+ValueReaderLocator.mapReader(Class<?> mapType,
+ ResolvedType valueType) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+RecursiveType |
+
Modifier and Type | +Field and Description | +
---|---|
protected ResolvedType |
+ResolvedType._elemType |
+
protected ResolvedType[] |
+ResolvedType._interfaces |
+
protected ResolvedType |
+RecursiveType._referencedType |
+
protected ResolvedType |
+ResolvedType._super |
+
static ResolvedType[] |
+ResolvedType.NO_TYPES |
+
Modifier and Type | +Field and Description | +
---|---|
protected Map<ClassKey,ResolvedType> |
+TypeResolver._cache |
+
Modifier and Type | +Method and Description | +
---|---|
ResolvedType |
+ResolvedType.elementType() |
+
ResolvedType |
+TypeBindings.findBoundType(String name) |
+
ResolvedType |
+ResolvedType.findSupertype(Class<?> erasedSupertype)
+Method for finding super type of this type that has specified type
+ erased signature.
+ |
+
ResolvedType |
+TypeBindings.getBoundType(int index) |
+
ResolvedType |
+ResolvedType.parentType() |
+
ResolvedType |
+TypeResolver.resolve(TypeBindings typeBindings,
+ Type jdkType)
+Factory method for resolving specified Java
+Type , given
+ TypeBindings needed to resolve any type variables. |
+
ResolvedType |
+RecursiveType.selfRefType() |
+
protected ResolvedType[] |
+TypeBindings.typeParameterArray() |
+
Modifier and Type | +Method and Description | +
---|---|
List<ResolvedType> |
+TypeBindings.getTypeParameters() |
+
List<ResolvedType> |
+ResolvedType.implInterfaces() |
+
List<ResolvedType> |
+ResolvedType.typeParametersFor(Class<?> erasedSupertype)
+Method that will try to find type parameterization this type
+ has for specified super type
+ |
+
List<ResolvedType> |
+ResolvedType.typeParams() |
+
Modifier and Type | +Method and Description | +
---|---|
static TypeBindings |
+TypeBindings.create(Class<?> erasedType,
+ ResolvedType[] types) |
+
Modifier and Type | +Method and Description | +
---|---|
static TypeBindings |
+TypeBindings.create(Class<?> erasedType,
+ List<ResolvedType> typeList) |
+
Constructor and Description | +
---|
ResolvedType(Class<?> cls,
+ ResolvedType sup,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
ResolvedType(Class<?> cls,
+ ResolvedType sup,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType elemType) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/TypeBindings.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/TypeBindings.html new file mode 100644 index 00000000..b65c1729 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/TypeBindings.html @@ -0,0 +1,249 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.type | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected TypeBindings |
+ResolvedType._bindings |
+
Modifier and Type | +Method and Description | +
---|---|
static TypeBindings |
+TypeBindings.create(Class<?> erasedType,
+ List<ResolvedType> typeList) |
+
static TypeBindings |
+TypeBindings.create(Class<?> erasedType,
+ ResolvedType[] types) |
+
static TypeBindings |
+TypeBindings.emptyBindings() |
+
TypeBindings |
+ResolvedType.typeBindings() |
+
TypeBindings |
+TypeBindings.withUnboundVariable(String name)
+Method for creating an instance that has same bindings as this object,
+ plus an indicator for additional type variable that may be unbound within
+ this context; this is needed to resolve recursive self-references.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ResolvedType |
+TypeResolver.resolve(TypeBindings typeBindings,
+ Type jdkType)
+Factory method for resolving specified Java
+Type , given
+ TypeBindings needed to resolve any type variables. |
+
Constructor and Description | +
---|
RecursiveType(Class<?> erased,
+ TypeBindings bindings) |
+
ResolvedType(Class<?> cls,
+ ResolvedType sup,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType elemType) |
+
ResolvedType(Class<?> cls,
+ TypeBindings bindings,
+ ResolvedType[] ifaces) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/TypeResolver.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/TypeResolver.html new file mode 100644 index 00000000..cb40d72b --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/class-use/TypeResolver.html @@ -0,0 +1,168 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.impl | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected TypeResolver |
+ValueReaderLocator._typeResolver
+For generic containers (Collections, Maps, arrays), we may need
+ this guy.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/package-frame.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/package-frame.html new file mode 100644 index 00000000..4d8579d5 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +Class | +Description | +
---|---|
RecursiveType | ++ |
ResolvedType | ++ |
TypeBindings | +
+ Helper class used for storing binding of local type variables to
+ matching resolved types, in context of a single class.
+ |
+
TypeResolver | +
+ Object that is used for resolving generic type information of a class
+ so that it is accessible using simple API.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/package-tree.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/package-tree.html new file mode 100644 index 00000000..920be2eb --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/package-tree.html @@ -0,0 +1,144 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/package-use.html b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/package-use.html new file mode 100644 index 00000000..75957f53 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/com/fasterxml/jackson/jr/type/package-use.html @@ -0,0 +1,208 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.type | ++ |
Class and Description | +
---|
ResolvedType | +
Class and Description | +
---|
ResolvedType | +
TypeResolver
+ Object that is used for resolving generic type information of a class
+ so that it is accessible using simple API.
+ |
+
Class and Description | +
---|
ResolvedType | +
TypeBindings
+ Helper class used for storing binding of local type variables to
+ matching resolved types, in context of a single class.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/constant-values.html b/docs/javadoc/jr-objects/2.14/constant-values.html new file mode 100644 index 00000000..5c41f3d6 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/constant-values.html @@ -0,0 +1,502 @@ + + + + + + +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final int |
+MODE_ANY |
+2 |
+
+
+protected static final int |
+MODE_BEAN |
+1 |
+
+
+protected static final int |
+MODE_TREE |
+3 |
+
+
+protected static final int |
+STATE_CLOSED |
+0 |
+
+
+protected static final int |
+STATE_HAS_VALUE |
+3 |
+
+
+protected static final int |
+STATE_MAY_HAVE_VALUE |
+2 |
+
+
+protected static final int |
+STATE_NEED_RESYNC |
+1 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final int |
+SER_BOOLEAN |
+21 |
+
+
+public static final int |
+SER_BOOLEAN_ARRAY |
+7 |
+
+
+public static final int |
+SER_BYTE_ARRAY |
+12 |
+
+
+public static final int |
+SER_CALENDAR |
+25 |
+
+
+public static final int |
+SER_CHAR |
+22 |
+
+
+public static final int |
+SER_CHAR_ARRAY |
+11 |
+
+
+public static final int |
+SER_CHARACTER_SEQUENCE |
+10 |
+
+
+public static final int |
+SER_CLASS |
+26 |
+
+
+public static final int |
+SER_COLLECTION |
+3 |
+
+
+public static final int |
+SER_DATE |
+24 |
+
+
+public static final int |
+SER_ENUM |
+23 |
+
+
+public static final int |
+SER_FILE |
+27 |
+
+
+public static final int |
+SER_INT_ARRAY |
+5 |
+
+
+public static final int |
+SER_ITERABLE |
+31 |
+
+
+public static final int |
+SER_LIST |
+2 |
+
+
+public static final int |
+SER_LONG_ARRAY |
+6 |
+
+
+public static final int |
+SER_MAP |
+1 |
+
+
+public static final int |
+SER_NUMBER_BIG_DECIMAL |
+20 |
+
+
+public static final int |
+SER_NUMBER_BIG_INTEGER |
+19 |
+
+
+public static final int |
+SER_NUMBER_BYTE |
+13 |
+
+
+public static final int |
+SER_NUMBER_DOUBLE |
+18 |
+
+
+public static final int |
+SER_NUMBER_FLOAT |
+17 |
+
+
+public static final int |
+SER_NUMBER_INTEGER |
+15 |
+
+
+public static final int |
+SER_NUMBER_LONG |
+16 |
+
+
+public static final int |
+SER_NUMBER_SHORT |
+14 |
+
+
+public static final int |
+SER_OBJECT_ARRAY |
+4 |
+
+
+public static final int |
+SER_STRING |
+9 |
+
+
+public static final int |
+SER_TREE_NODE |
+8 |
+
+
+public static final int |
+SER_UNKNOWN |
+0 |
+
+
+public static final int |
+SER_URI |
+30 |
+
+
+public static final int |
+SER_URL |
+29 |
+
+
+public static final int |
+SER_UUID |
+28 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final int |
+MAX_CACHED_READERS |
+500 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final int |
+T_ARRAY |
+1 |
+
+
+protected static final int |
+T_INTERFACE |
+2 |
+
+
+protected static final int |
+T_PRIMITIVE |
+3 |
+
+
+protected static final int |
+T_RECURSIVE |
+4 |
+
+
+protected static final int |
+T_REGULAR |
+5 |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/deprecated-list.html b/docs/javadoc/jr-objects/2.14/deprecated-list.html new file mode 100644 index 00000000..fd902d77 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/deprecated-list.html @@ -0,0 +1,198 @@ + + + + + + +Method and Description | +
---|
com.fasterxml.jackson.jr.ob.impl.JSONAsObjectCodec.getJsonFactory() | +
com.fasterxml.jackson.jr.ob.impl.POJODefinition.properties() | +
com.fasterxml.jackson.jr.ob.JSON.with(JsonFactory)
+ Since 2.11 should not try changing underlying stream factory but create
+ a new instance if necessary: method will be removed from 3.0 at latest
+ |
+
com.fasterxml.jackson.jr.ob.JSON.with(JSONReader)
+ Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
com.fasterxml.jackson.jr.ob.JSON.with(JSONWriter)
+ Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
com.fasterxml.jackson.jr.ob.JSON.with(ReaderWriterProvider)
+ Since 2.11 should register using
+JacksonJrExtension |
+
com.fasterxml.jackson.jr.ob.JSON.with(TreeCodec)
+ Since 2.11 should try using builder (see
+JSON.builder() and create
+ properly configured instance |
+
Constructor and Description | +
---|
com.fasterxml.jackson.jr.ob.impl.BeanReader(Class<?>, Map<String, BeanPropertyReader>, Constructor<?>, Constructor<?>, Constructor<?>) | +
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/help-doc.html b/docs/javadoc/jr-objects/2.14/help-doc.html new file mode 100644 index 00000000..49db9c10 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/help-doc.html @@ -0,0 +1,230 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/index-all.html b/docs/javadoc/jr-objects/2.14/index-all.html new file mode 100644 index 00000000..97231c57 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/index-all.html @@ -0,0 +1,2598 @@ + + + + + + +JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object.JsonGenerator
+ has a properly configure ObjectCodec
+ to use for serializer object.ValueReader
used for "untyped" values; ones that are bound
+ to whatever Object
is the natural mapping to JSON
+ value that parser currently points toValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as "Simple" type: Map
,
+ List
, String
, Number
or Boolean
.ReaderWriterModifier
as the lowest priority
+ modifier (that is, being called after all other modifiers registered).ReaderWriterProvider
as the lowest priority
+ provider (that is, having lower precedence than anything registered so far)ObjectCodec
POJODefinition
) to build general POJO readers
+ (deserializers) and writers (serializers).ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound to specific Bean (POJO) type.Object[]
Collection
Map
s.Collection
s
+ to map JSON Array values in.CollectionBuilder
implementation, which uses ArrayList
+ as the type of List
to build, unless instructed otherwise.Collection
values.JsonParser
to read content from one of
+ following supported sources
+
+ InputStream
+ Reader
+ byte[]
+ char[]
+ String
/CharSequence
+ URL
+ File
+ CollectionBuilder
implementation.MapBuilder
implementation.Map
implementation that will collect
+ entries during building, but only materialize full lookup structure
+ when needed; that is, actual building of hash lookup is deferred.JSON
to be built.Object[]
needs to
+ be returned.JSON
to be built.Map
+ for efficient conversion from id (gotten with Enum.toString()
+ to value.JacksonJrExtension
s to register handlers
+ it needs to.Collection
,
+ Map
): typically value is a scalar, Bean or Enum.JsonGenerator.flush()
on underlying JsonGenerator
.Boolean
value that has been
+ read from input.String
value that has been
+ read from input.IOException
into
+ JSONObjectException
: usually only needed to comply with
+ a signature.
+ iterator.getParser().getCurrentLocation()
+
ValueIterator.next()
but one that may throw checked
+ exceptions from Jackson due to invalid input.ReaderWriterModifier
as the highest priority
+ modifier (that is, being called before any other modifiers registered).ReaderWriterProvider
as the highest priority
+ provider (that is, having higher precedence than anything registered so far)JSON
.JSON.Builder
.JSON
), such as
+ Extension registration.JSON
; used for simple
+ configuration aspects.JSON
that implements ObjectCodec
.JsonGenerator
object.com.fasterxml.jackson.databind.JsonMappingException
+ (and, in fact, much of implementation came from that class, but
+ had to be cut-n-pasted since we do not depend on databind package).ValueReader
s), but does not handle
+ any of reading itself (despite name).Map
s
+ to map JSON Object values in.MapBuilder
implementation which builds
+ either HashMap
or LinkedHashMap
instances
+ (depending on JSON.Feature.PRESERVE_FIELD_ORDERING
).Map
of type
(usually POJO) values.Map
values.TreeCodec
.ValueReader
to use has been constructed, but
+ before it is to be used for the first time.ValueWriter
to use has been constructed, but
+ before it is to be used for the first time.null
,
+ a ReaderWriterModifier.Pair
is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null
s, null
is returned.null
,
+ a ReaderWriterProvider.Pair
is constructed; otherwise if one is non-null, that provider is returned;
+ or if both are null
s, null
is returned.ReaderWriterModifier.modifyValueWriter(com.fasterxml.jackson.jr.ob.impl.JSONWriter, java.lang.Class<?>, com.fasterxml.jackson.jr.ob.api.ValueWriter)
for set of non-POJO
+ "standard" JDK types that do not have matching ValueWriter
and are
+ normally directly serialized by JSONWriter
itself.PrettyPrinter
JSON
to be built
+ should use on serialization.JsonGenerator
+ has a properly configured ObjectCodec
+ to use for serializer object.ArrayList
.Object[]
+ out of it.ValueReader
s and
+ ValueWriter
s of all kinds (default scalar ones, custom ones,
+ POJO ones).ValueReader
s and
+ ValueWriter
s.List
+ out of it.List
+ out of it, binding values into specified type
.Map
+ out of it.Map
+ out of it, binding values into specified type
.JSON
to let extension register handlers
+ it wants to.JSON
+ this builder builds.Type
, given
+ TypeBindings
needed to resolve any type variables.Collection
s other than List
sIterable
, but not
+ Collection
.List
s.Map
s.TreeNode
TreeCodec
to use, replacing codec that was formerly configured
+ (if any).ValueReader
used for simple scalar types and related,
+ not including POJO-, Map
and Collection
+ types.TreeCodec
, see JSON.with(TreeCodec)
) supports.ValueIterator
for reading
+ streaming JSON
+ content (specifically line-delimited and concatenated variants);
+ individual values are bound as JSON Trees(of type that configured
+ TreeCodec
, see JSON.with(TreeCodec)
) supports.JSON
when binding sequence of
+ objects.PrettyPrinter
,
+ and returning new instance (or, if there would be no change, this instance).state
), and returning
+ an instance with that setting; this may either be this instance (if feature
+ already had specified state), or a newly constructed instance.JSON.builder()
and create
+ properly configured instanceJSON.builder()
and create
+ properly configured instanceJSON.builder()
and create
+ properly configured instanceMapBuilder
,
+ and returning new instance (or, if there would be no change, this instance).CollectionBuilder
,
+ and returning new instance (or, if there would be no change, this instance).JacksonJrExtension
JsonParser
should be closed
+ when we are done or not; generally only called when caller did not
+ pass JsonParser.Map
s as neededCollection
implementation class, used when specific
+ implementation is desired.Collection
instance that contained
+ the reference; used if index is relevant and available.ValueReader
s that we have resolvedMap
s as neededMap
implementation class, used when specific
+ implementation is desired.Object[1]
reused to avoid
+ Reflection having to allocate it for every "setter" call.Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/index.html b/docs/javadoc/jr-objects/2.14/index.html new file mode 100644 index 00000000..49e77779 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/index.html @@ -0,0 +1,76 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
++ + diff --git a/docs/javadoc/jr-objects/2.14/overview-summary.html b/docs/javadoc/jr-objects/2.14/overview-summary.html new file mode 100644 index 00000000..2bc469c9 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/overview-summary.html @@ -0,0 +1,155 @@ + + + + + + +
Package | +Description | +
---|---|
com.fasterxml.jackson.jr.ob | ++ |
com.fasterxml.jackson.jr.ob.api | ++ |
com.fasterxml.jackson.jr.ob.comp | ++ |
com.fasterxml.jackson.jr.ob.impl | ++ |
com.fasterxml.jackson.jr.type | ++ |
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/overview-tree.html b/docs/javadoc/jr-objects/2.14/overview-tree.html new file mode 100644 index 00000000..d6373290 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/overview-tree.html @@ -0,0 +1,266 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/package-list b/docs/javadoc/jr-objects/2.14/package-list new file mode 100644 index 00000000..4c8b7d8e --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/package-list @@ -0,0 +1,5 @@ +com.fasterxml.jackson.jr.ob +com.fasterxml.jackson.jr.ob.api +com.fasterxml.jackson.jr.ob.comp +com.fasterxml.jackson.jr.ob.impl +com.fasterxml.jackson.jr.type diff --git a/docs/javadoc/jr-objects/2.14/script.js b/docs/javadoc/jr-objects/2.14/script.js new file mode 100644 index 00000000..b3463569 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/jr-objects/2.14/serialized-form.html b/docs/javadoc/jr-objects/2.14/serialized-form.html new file mode 100644 index 00000000..d985552a --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/serialized-form.html @@ -0,0 +1,318 @@ + + + + + + +LinkedList<E> _path+
Object _from+
String _fieldName+
JSONObjectException.Reference._index
defined), or when resolving
+ Map classes without (yet) having an instance to operate on.int _index+
Collection
instance that contained
+ the reference; used if index is relevant and available.
+ If either not applicable, or not available, -1 is used to
+ denote "not known".ResolvedType _referencedType+
int _kind+
Class<T> _erasedType+
TypeBindings _bindings+
ResolvedType[] _interfaces+
ResolvedType _elemType+
ResolvedType _super+
String[] _names+
ResolvedType[] _types+
String[] _unboundVariables+
int _hashCode+
protected Object readResolve()+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-objects/2.14/stylesheet.css b/docs/javadoc/jr-objects/2.14/stylesheet.css new file mode 100644 index 00000000..98055b22 --- /dev/null +++ b/docs/javadoc/jr-objects/2.14/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/javadoc/jr-retrofit2/2.14/allclasses-frame.html b/docs/javadoc/jr-retrofit2/2.14/allclasses-frame.html new file mode 100644 index 00000000..86f1bd80 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/allclasses-frame.html @@ -0,0 +1,22 @@ + + + + + + +public class JacksonJrConverter<T>
+extends retrofit2.Converter.Factory
+Modifier and Type | +Field and Description | +
---|---|
protected com.fasterxml.jackson.jr.ob.JSON |
+_jr |
+
protected Class<T> |
+_type |
+
Constructor and Description | +
---|
JacksonJrConverter(Class<T> tClass) |
+
JacksonJrConverter(com.fasterxml.jackson.jr.ob.JSON jr,
+ Class<T> t) |
+
Modifier and Type | +Method and Description | +
---|---|
retrofit2.Converter<?,okhttp3.RequestBody> |
+requestBodyConverter(Type type,
+ Annotation[] parameterAnnotations,
+ Annotation[] methodAnnotations,
+ retrofit2.Retrofit retrofit) |
+
retrofit2.Converter<okhttp3.ResponseBody,?> |
+responseBodyConverter(Type type,
+ Annotation[] annotations,
+ retrofit2.Retrofit retrofit) |
+
getParameterUpperBound, getRawType, stringConverter
protected final com.fasterxml.jackson.jr.ob.JSON _jr+
public retrofit2.Converter<okhttp3.ResponseBody,?> responseBodyConverter(Type type, + Annotation[] annotations, + retrofit2.Retrofit retrofit)+
responseBodyConverter
in class retrofit2.Converter.Factory
public retrofit2.Converter<?,okhttp3.RequestBody> requestBodyConverter(Type type, + Annotation[] parameterAnnotations, + Annotation[] methodAnnotations, + retrofit2.Retrofit retrofit)+
requestBodyConverter
in class retrofit2.Converter.Factory
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/JacksonJrRequestBodyConverter.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/JacksonJrRequestBodyConverter.html new file mode 100644 index 00000000..8e6e12a4 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/JacksonJrRequestBodyConverter.html @@ -0,0 +1,353 @@ + + + + + + +public class JacksonJrRequestBodyConverter<T> +extends Object +implements retrofit2.Converter<T,okhttp3.RequestBody>+
retrofit2.Converter.Factory
Modifier and Type | +Field and Description | +
---|---|
protected com.fasterxml.jackson.jr.ob.JSON |
+_jr |
+
protected static String |
+PROTOCOL_CHARSET |
+
Constructor and Description | +
---|
JacksonJrRequestBodyConverter(com.fasterxml.jackson.jr.ob.JSON jr) |
+
Modifier and Type | +Method and Description | +
---|---|
okhttp3.RequestBody |
+convert(T value) |
+
protected static final String PROTOCOL_CHARSET+
protected final com.fasterxml.jackson.jr.ob.JSON _jr+
public JacksonJrRequestBodyConverter(com.fasterxml.jackson.jr.ob.JSON jr)+
public okhttp3.RequestBody convert(T value) + throws IOException+
convert
in interface retrofit2.Converter<T,okhttp3.RequestBody>
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/JacksonJrResponseArrayConverter.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/JacksonJrResponseArrayConverter.html new file mode 100644 index 00000000..34f58c24 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/JacksonJrResponseArrayConverter.html @@ -0,0 +1,348 @@ + + + + + + +retrofit2.Converter.Factory
Modifier and Type | +Field and Description | +
---|---|
protected com.fasterxml.jackson.jr.ob.JSON |
+_jr |
+
protected Class<T> |
+_type |
+
Constructor and Description | +
---|
JacksonJrResponseArrayConverter(com.fasterxml.jackson.jr.ob.JSON jr,
+ Class<T> type) |
+
Modifier and Type | +Method and Description | +
---|---|
List<T> |
+convert(okhttp3.ResponseBody value) |
+
protected final com.fasterxml.jackson.jr.ob.JSON _jr+
public List<T> convert(okhttp3.ResponseBody value) + throws IOException+
convert
in interface retrofit2.Converter<okhttp3.ResponseBody,List<T>>
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/JacksonJrResponseConverter.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/JacksonJrResponseConverter.html new file mode 100644 index 00000000..4f4486c9 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/JacksonJrResponseConverter.html @@ -0,0 +1,348 @@ + + + + + + +public class JacksonJrResponseConverter<T> +extends Object +implements retrofit2.Converter<okhttp3.ResponseBody,T>+
retrofit2.Converter.Factory
Modifier and Type | +Field and Description | +
---|---|
protected com.fasterxml.jackson.jr.ob.JSON |
+_jr |
+
protected Class<T> |
+_type |
+
Constructor and Description | +
---|
JacksonJrResponseConverter(com.fasterxml.jackson.jr.ob.JSON jr,
+ Class<T> t) |
+
Modifier and Type | +Method and Description | +
---|---|
T |
+convert(okhttp3.ResponseBody value) |
+
protected final com.fasterxml.jackson.jr.ob.JSON _jr+
public T convert(okhttp3.ResponseBody value) + throws IOException+
convert
in interface retrofit2.Converter<okhttp3.ResponseBody,T>
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrConverter.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrConverter.html new file mode 100644 index 00000000..bd1d87a4 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrConverter.html @@ -0,0 +1,123 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrRequestBodyConverter.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrRequestBodyConverter.html new file mode 100644 index 00000000..66ce14b7 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrRequestBodyConverter.html @@ -0,0 +1,123 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrResponseArrayConverter.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrResponseArrayConverter.html new file mode 100644 index 00000000..89e61142 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrResponseArrayConverter.html @@ -0,0 +1,123 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrResponseConverter.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrResponseConverter.html new file mode 100644 index 00000000..24c13ba8 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/class-use/JacksonJrResponseConverter.html @@ -0,0 +1,123 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/package-frame.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/package-frame.html new file mode 100644 index 00000000..36fd3987 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +Class | +Description | +
---|---|
JacksonJrConverter<T> | ++ |
JacksonJrRequestBodyConverter<T> | +
+ Created by Gulajava Ministudio on 11/18/15.
+ |
+
JacksonJrResponseArrayConverter<T> | ++ |
JacksonJrResponseConverter<T> | ++ |
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/package-tree.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/package-tree.html new file mode 100644 index 00000000..15960f04 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/package-use.html b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/package-use.html new file mode 100644 index 00000000..eb46253d --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/com/fasterxml/jackson/jr/retrofit2/package-use.html @@ -0,0 +1,123 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/constant-values.html b/docs/javadoc/jr-retrofit2/2.14/constant-values.html new file mode 100644 index 00000000..843a24a1 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/constant-values.html @@ -0,0 +1,152 @@ + + + + + + +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected static final String |
+PROTOCOL_CHARSET |
+"utf-8" |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/deprecated-list.html b/docs/javadoc/jr-retrofit2/2.14/deprecated-list.html new file mode 100644 index 00000000..d50c56a3 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/deprecated-list.html @@ -0,0 +1,123 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/help-doc.html b/docs/javadoc/jr-retrofit2/2.14/help-doc.html new file mode 100644 index 00000000..93de2c7a --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/help-doc.html @@ -0,0 +1,224 @@ + + + + + + +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/index-all.html b/docs/javadoc/jr-retrofit2/2.14/index-all.html new file mode 100644 index 00000000..7003b01c --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/index-all.html @@ -0,0 +1,198 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/index.html b/docs/javadoc/jr-retrofit2/2.14/index.html new file mode 100644 index 00000000..3851e512 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/index.html @@ -0,0 +1,73 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
+Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-retrofit2/2.14/package-list b/docs/javadoc/jr-retrofit2/2.14/package-list new file mode 100644 index 00000000..04523dd3 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/package-list @@ -0,0 +1 @@ +com.fasterxml.jackson.jr.retrofit2 diff --git a/docs/javadoc/jr-retrofit2/2.14/script.js b/docs/javadoc/jr-retrofit2/2.14/script.js new file mode 100644 index 00000000..b3463569 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/jr-retrofit2/2.14/stylesheet.css b/docs/javadoc/jr-retrofit2/2.14/stylesheet.css new file mode 100644 index 00000000..98055b22 --- /dev/null +++ b/docs/javadoc/jr-retrofit2/2.14/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/javadoc/jr-stree/2.14/allclasses-frame.html b/docs/javadoc/jr-stree/2.14/allclasses-frame.html new file mode 100644 index 00000000..ca26925c --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/allclasses-frame.html @@ -0,0 +1,32 @@ + + + + + + +public class JacksonJrsTreeCodec
+extends com.fasterxml.jackson.core.TreeCodec
+TreeCodec
implementation that can build "simple", immutable
+ (read-only) trees out of JSON: these are represented as subtypes
+ of JrsValue
("Jrs" from "jackson JR Simple").Modifier and Type | +Field and Description | +
---|---|
protected com.fasterxml.jackson.core.ObjectCodec |
+_objectCodec |
+
static JrsMissing |
+MISSING |
+
static JacksonJrsTreeCodec |
+SINGLETON |
+
Constructor and Description | +
---|
JacksonJrsTreeCodec() |
+
JacksonJrsTreeCodec(com.fasterxml.jackson.core.ObjectCodec codec) |
+
Modifier and Type | +Method and Description | +
---|---|
protected List<JrsValue> |
+_list() |
+
protected Map<String,JrsValue> |
+_map() |
+
JrsBoolean |
+booleanNode(boolean state)
+Factory method for constructing node to represent Boolean values.
+ |
+
JrsValue |
+createArrayNode() |
+
JrsValue |
+createObjectNode() |
+
JrsValue |
+missingNode() |
+
JrsValue |
+nullNode() |
+
JrsNumber |
+numberNode(Number nr)
+Factory method for constructing node to represent String values.
+ |
+
<T extends com.fasterxml.jackson.core.TreeNode> |
+readTree(com.fasterxml.jackson.core.JsonParser p) |
+
JrsString |
+stringNode(String text)
+Factory method for constructing node to represent String values.
+ |
+
com.fasterxml.jackson.core.JsonParser |
+treeAsTokens(com.fasterxml.jackson.core.TreeNode node) |
+
void |
+writeTree(com.fasterxml.jackson.core.JsonGenerator g,
+ com.fasterxml.jackson.core.TreeNode treeNode) |
+
public static JrsMissing MISSING+
public static final JacksonJrsTreeCodec SINGLETON+
protected com.fasterxml.jackson.core.ObjectCodec _objectCodec+
public JacksonJrsTreeCodec()+
public JacksonJrsTreeCodec(com.fasterxml.jackson.core.ObjectCodec codec)+
public <T extends com.fasterxml.jackson.core.TreeNode> T readTree(com.fasterxml.jackson.core.JsonParser p) + throws IOException+
readTree
in class com.fasterxml.jackson.core.TreeCodec
IOException
public void writeTree(com.fasterxml.jackson.core.JsonGenerator g, + com.fasterxml.jackson.core.TreeNode treeNode) + throws IOException+
writeTree
in class com.fasterxml.jackson.core.TreeCodec
IOException
public JrsValue createArrayNode()+
createArrayNode
in class com.fasterxml.jackson.core.TreeCodec
public JrsValue createObjectNode()+
createObjectNode
in class com.fasterxml.jackson.core.TreeCodec
public JrsValue missingNode()+
missingNode
in class com.fasterxml.jackson.core.TreeCodec
public JrsValue nullNode()+
nullNode
in class com.fasterxml.jackson.core.TreeCodec
public com.fasterxml.jackson.core.JsonParser treeAsTokens(com.fasterxml.jackson.core.TreeNode node)+
treeAsTokens
in class com.fasterxml.jackson.core.TreeCodec
public JrsBoolean booleanNode(boolean state)+
state
- Whether to create Boolean.TRUE
or Boolean.FALSE
nodepublic JrsString stringNode(String text)+
text
- String value for constructed node to containpublic JrsNumber numberNode(Number nr)+
nr
- Numeric value for constructed node to containCopyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrSimpleTreeExtension.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrSimpleTreeExtension.html new file mode 100644 index 00000000..a1522ca5 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrSimpleTreeExtension.html @@ -0,0 +1,337 @@ + + + + + + +public class JrSimpleTreeExtension
+extends com.fasterxml.jackson.jr.ob.JacksonJrExtension
+JacksonJrExtension
for registering "simple Tree Model"
+ implementation (JacksonJrsTreeCodec
).JacksonJrsTreeCodec
Modifier and Type | +Field and Description | +
---|---|
protected JacksonJrsTreeCodec |
+_codec |
+
Constructor and Description | +
---|
JrSimpleTreeExtension() |
+
JrSimpleTreeExtension(JacksonJrsTreeCodec tc) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+register(com.fasterxml.jackson.jr.ob.api.ExtensionContext ctxt) |
+
protected final JacksonJrsTreeCodec _codec+
public JrSimpleTreeExtension()+
public JrSimpleTreeExtension(JacksonJrsTreeCodec tc)+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsArray.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsArray.html new file mode 100644 index 00000000..c47ee0b3 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsArray.html @@ -0,0 +1,535 @@ + + + + + + +public class JrsArray +extends JrsValue+
JrsValue.Scalar
Constructor and Description | +
---|
JrsArray() |
+
JrsArray(List<JrsValue> v) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+_at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
com.fasterxml.jackson.core.JsonToken |
+asToken() |
+
Iterator<JrsValue> |
+elements() |
+
boolean |
+equals(Object o) |
+
JrsValue |
+get(int i) |
+
JrsValue |
+get(String s) |
+
int |
+hashCode() |
+
boolean |
+isArray() |
+
boolean |
+isContainerNode() |
+
boolean |
+isValueNode() |
+
JrsValue |
+path(int i) |
+
JrsValue |
+path(String s) |
+
int |
+size() |
+
protected void |
+write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
asText, at, at, fieldNames, isEmbeddedValue, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse
public com.fasterxml.jackson.core.JsonToken asToken()+
public int size()+
public boolean isValueNode()+
public boolean isContainerNode()+
public boolean isArray()+ +
public JrsValue get(int i)+ +
public JrsValue path(int i)+ +
protected JrsValue _at(com.fasterxml.jackson.core.JsonPointer ptr)+ +
protected void write(com.fasterxml.jackson.core.JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsBoolean.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsBoolean.html new file mode 100644 index 00000000..9b3dc707 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsBoolean.html @@ -0,0 +1,423 @@ + + + + + + +public class JrsBoolean +extends JrsValue.Scalar+
JrsValue.Scalar
Modifier and Type | +Field and Description | +
---|---|
static JrsBoolean |
+FALSE |
+
static JrsBoolean |
+TRUE |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
com.fasterxml.jackson.core.JsonToken |
+asToken() |
+
boolean |
+booleanValue() |
+
boolean |
+equals(Object o) |
+
int |
+hashCode() |
+
protected void |
+write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse
public static JrsBoolean TRUE+
public static JrsBoolean FALSE+
public com.fasterxml.jackson.core.JsonToken asToken()+
public String asText()+
JrsValue
public boolean booleanValue()+
protected void write(com.fasterxml.jackson.core.JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsEmbeddedObject.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsEmbeddedObject.html new file mode 100644 index 00000000..572ce5b0 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsEmbeddedObject.html @@ -0,0 +1,464 @@ + + + + + + +public class JrsEmbeddedObject +extends JrsValue.Scalar+
JrsValue.Scalar
Modifier and Type | +Field and Description | +
---|---|
protected Object |
+_value |
+
Constructor and Description | +
---|
JrsEmbeddedObject(Object v) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
com.fasterxml.jackson.core.JsonToken |
+asToken() |
+
Object |
+embeddedValue() |
+
boolean |
+equals(Object o) |
+
int |
+hashCode() |
+
boolean |
+isEmbeddedValue() |
+
protected void |
+write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
at, at, fieldNames, isArray, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse
public boolean isEmbeddedValue()+
isEmbeddedValue
in class JrsValue
public com.fasterxml.jackson.core.JsonToken asToken()+
public String asText()+
JrsValue
public Object embeddedValue()+
protected void write(com.fasterxml.jackson.core.JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsMissing.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsMissing.html new file mode 100644 index 00000000..434eed80 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsMissing.html @@ -0,0 +1,543 @@ + + + + + + +public final class JrsMissing +extends JrsValue+
JrsValue.Scalar
Constructor and Description | +
---|
JrsMissing() |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+_at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
com.fasterxml.jackson.core.JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
JrsValue |
+get(int i) |
+
JrsValue |
+get(String s) |
+
int |
+hashCode() |
+
static JrsMissing |
+instance() |
+
boolean |
+isContainerNode() |
+
boolean |
+isMissingNode() |
+
boolean |
+isValueNode() |
+
JrsValue |
+path(int i) |
+
JrsValue |
+path(String s) |
+
int |
+size() |
+
String |
+toString() |
+
protected void |
+write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
asText, at, at, fieldNames, isArray, isEmbeddedValue, isNull, isNumber, isObject, numberType, traverse, traverse
public static final JrsMissing instance()+
public com.fasterxml.jackson.core.JsonToken asToken()+
public boolean isValueNode()+
public boolean isContainerNode()+
public boolean isMissingNode()+
isMissingNode
in interface com.fasterxml.jackson.core.TreeNode
isMissingNode
in class JrsValue
protected JrsValue _at(com.fasterxml.jackson.core.JsonPointer ptr)+ +
public int size()+
public JrsValue get(int i)+ +
public JrsValue path(int i)+ +
protected void write(com.fasterxml.jackson.core.JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsNull.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsNull.html new file mode 100644 index 00000000..70d57368 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsNull.html @@ -0,0 +1,421 @@ + + + + + + +public final class JrsNull +extends JrsValue.Scalar+
JrsValue.Scalar
Modifier and Type | +Method and Description | +
---|---|
com.fasterxml.jackson.core.JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
int |
+hashCode() |
+
static JrsNull |
+instance() |
+
boolean |
+isNull() |
+
String |
+toString() |
+
protected void |
+write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
asText, at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNumber, isObject, numberType, traverse, traverse
public static final JrsNull instance()+
public com.fasterxml.jackson.core.JsonToken asToken()+
protected void write(com.fasterxml.jackson.core.JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsNumber.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsNumber.html new file mode 100644 index 00000000..810a3deb --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsNumber.html @@ -0,0 +1,486 @@ + + + + + + +public class JrsNumber +extends JrsValue.Scalar+
JrsValue.Scalar
Constructor and Description | +
---|
JrsNumber(Number value) |
+
Modifier and Type | +Method and Description | +
---|---|
BigDecimal |
+asBigDecimal() |
+
BigInteger |
+asBigInteger() |
+
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
com.fasterxml.jackson.core.JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
Number |
+getValue() |
+
int |
+hashCode() |
+
boolean |
+isNumber()
+Method that allows checking whether this value is a JSON number
+ (integer or floating-point).
+ |
+
com.fasterxml.jackson.core.JsonParser.NumberType |
+numberType() |
+
protected void |
+write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNull, isObject, traverse, traverse
public boolean isNumber()+
JrsValue
public Number getValue()+
public com.fasterxml.jackson.core.JsonToken asToken()+
public String asText()+
JrsValue
public com.fasterxml.jackson.core.JsonParser.NumberType numberType()+
numberType
in interface com.fasterxml.jackson.core.TreeNode
numberType
in class JrsValue
public BigInteger asBigInteger() + throws IOException+
IOException
public BigDecimal asBigDecimal() + throws IOException+
IOException
protected void write(com.fasterxml.jackson.core.JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsObject.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsObject.html new file mode 100644 index 00000000..d8410def --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsObject.html @@ -0,0 +1,554 @@ + + + + + + +public class JrsObject +extends JrsValue+
JrsValue.Scalar
Constructor and Description | +
---|
JrsObject() |
+
JrsObject(Map<String,JrsValue> values) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+_at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
com.fasterxml.jackson.core.JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
Iterator<String> |
+fieldNames() |
+
Iterator<Map.Entry<String,JrsValue>> |
+fields() |
+
JrsValue |
+get(int i) |
+
JrsValue |
+get(String name) |
+
int |
+hashCode() |
+
boolean |
+isContainerNode() |
+
boolean |
+isObject() |
+
boolean |
+isValueNode() |
+
JrsValue |
+path(int i) |
+
JrsValue |
+path(String name) |
+
int |
+size() |
+
protected void |
+write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
asText, at, at, isArray, isEmbeddedValue, isMissingNode, isNull, isNumber, numberType, traverse, traverse
public com.fasterxml.jackson.core.JsonToken asToken()+
public int size()+
public boolean isValueNode()+
public boolean isContainerNode()+
public boolean isObject()+ +
public Iterator<String> fieldNames()+
fieldNames
in interface com.fasterxml.jackson.core.TreeNode
fieldNames
in class JrsValue
public JrsValue get(int i)+ +
public JrsValue path(int i)+ +
protected JrsValue _at(com.fasterxml.jackson.core.JsonPointer ptr)+ +
protected void write(com.fasterxml.jackson.core.JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsString.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsString.html new file mode 100644 index 00000000..d7c5633d --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsString.html @@ -0,0 +1,444 @@ + + + + + + +public class JrsString +extends JrsValue.Scalar+
JrsValue.Scalar
Modifier and Type | +Field and Description | +
---|---|
protected String |
+_value |
+
Constructor and Description | +
---|
JrsString(String v) |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
com.fasterxml.jackson.core.JsonToken |
+asToken() |
+
boolean |
+equals(Object o) |
+
String |
+getValue() |
+
int |
+hashCode() |
+
protected void |
+write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
_at, get, get, isContainerNode, isValueNode, path, path, size
at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse
public String getValue()+
public com.fasterxml.jackson.core.JsonToken asToken()+
public String asText()+
JrsValue
protected void write(com.fasterxml.jackson.core.JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
write
in class JrsValue
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsValue.Scalar.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsValue.Scalar.html new file mode 100644 index 00000000..c5be6201 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsValue.Scalar.html @@ -0,0 +1,439 @@ + + + + + + +public abstract static class JrsValue.Scalar +extends JrsValue+
JrsMissing
.JrsValue.Scalar
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+_at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
JrsValue |
+get(int i) |
+
JrsValue |
+get(String s) |
+
boolean |
+isContainerNode() |
+
boolean |
+isValueNode() |
+
JrsValue |
+path(int i) |
+
JrsValue |
+path(String s) |
+
int |
+size() |
+
asText, at, at, fieldNames, isArray, isEmbeddedValue, isMissingNode, isNull, isNumber, isObject, numberType, traverse, traverse, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asToken
public final boolean isValueNode()+
public final boolean isContainerNode()+
public int size()+
public JrsValue get(int i)+ +
public JrsValue path(int i)+ +
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsValue.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsValue.html new file mode 100644 index 00000000..8842f948 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/JrsValue.html @@ -0,0 +1,618 @@ + + + + + + +public abstract class JrsValue +extends Object +implements com.fasterxml.jackson.core.TreeNode+
TreeNode
and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec
).Modifier and Type | +Class and Description | +
---|---|
static class |
+JrsValue.Scalar
+Intermediate base class for non-structured types, other than
+
+JrsMissing . |
+
Modifier and Type | +Method and Description | +
---|---|
protected abstract JrsValue |
+_at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
String |
+asText()
+Method that may be called on scalar value nodes to get a textual
+ representation of contents.
+ |
+
JrsValue |
+at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
JrsValue |
+at(String s) |
+
Iterator<String> |
+fieldNames() |
+
abstract JrsValue |
+get(int i) |
+
abstract JrsValue |
+get(String s) |
+
boolean |
+isArray() |
+
boolean |
+isEmbeddedValue() |
+
boolean |
+isMissingNode() |
+
boolean |
+isNull() |
+
boolean |
+isNumber()
+Method that allows checking whether this value is a JSON number
+ (integer or floating-point).
+ |
+
boolean |
+isObject() |
+
com.fasterxml.jackson.core.JsonParser.NumberType |
+numberType() |
+
abstract JrsValue |
+path(int i) |
+
abstract JrsValue |
+path(String s) |
+
com.fasterxml.jackson.core.JsonParser |
+traverse() |
+
com.fasterxml.jackson.core.JsonParser |
+traverse(com.fasterxml.jackson.core.ObjectCodec codec) |
+
protected abstract void |
+write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asToken, isContainerNode, isValueNode, size
public com.fasterxml.jackson.core.JsonParser.NumberType numberType()+
numberType
in interface com.fasterxml.jackson.core.TreeNode
public boolean isMissingNode()+
isMissingNode
in interface com.fasterxml.jackson.core.TreeNode
public boolean isArray()+
isArray
in interface com.fasterxml.jackson.core.TreeNode
public boolean isObject()+
isObject
in interface com.fasterxml.jackson.core.TreeNode
public boolean isNull()+
public boolean isEmbeddedValue()+
public Iterator<String> fieldNames()+
fieldNames
in interface com.fasterxml.jackson.core.TreeNode
public JrsValue at(com.fasterxml.jackson.core.JsonPointer ptr)+
at
in interface com.fasterxml.jackson.core.TreeNode
public JrsValue at(String s)+
at
in interface com.fasterxml.jackson.core.TreeNode
public com.fasterxml.jackson.core.JsonParser traverse()+
traverse
in interface com.fasterxml.jackson.core.TreeNode
public com.fasterxml.jackson.core.JsonParser traverse(com.fasterxml.jackson.core.ObjectCodec codec)+
traverse
in interface com.fasterxml.jackson.core.TreeNode
public boolean isNumber()+
public String asText()+
public abstract JrsValue get(String s)+
get
in interface com.fasterxml.jackson.core.TreeNode
public abstract JrsValue get(int i)+
get
in interface com.fasterxml.jackson.core.TreeNode
public abstract JrsValue path(String s)+
path
in interface com.fasterxml.jackson.core.TreeNode
public abstract JrsValue path(int i)+
path
in interface com.fasterxml.jackson.core.TreeNode
protected abstract JrsValue _at(com.fasterxml.jackson.core.JsonPointer ptr)+
protected abstract void write(com.fasterxml.jackson.core.JsonGenerator g, + JacksonJrsTreeCodec codec) + throws IOException+
IOException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/PackageVersion.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/PackageVersion.html new file mode 100644 index 00000000..a8d2081e --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/PackageVersion.html @@ -0,0 +1,320 @@ + + + + + + +public final class PackageVersion +extends Object +implements com.fasterxml.jackson.core.Versioned+
Modifier and Type | +Field and Description | +
---|---|
static com.fasterxml.jackson.core.Version |
+VERSION |
+
Constructor and Description | +
---|
PackageVersion() |
+
Modifier and Type | +Method and Description | +
---|---|
com.fasterxml.jackson.core.Version |
+version() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JacksonJrsTreeCodec.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JacksonJrsTreeCodec.html new file mode 100644 index 00000000..027ffdf4 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JacksonJrsTreeCodec.html @@ -0,0 +1,234 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected JacksonJrsTreeCodec |
+JrSimpleTreeExtension._codec |
+
static JacksonJrsTreeCodec |
+JacksonJrsTreeCodec.SINGLETON |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+JrsMissing.write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsNull.write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsArray.write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsEmbeddedObject.write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected abstract void |
+JrsValue.write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsNumber.write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsString.write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsObject.write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
protected void |
+JrsBoolean.write(com.fasterxml.jackson.core.JsonGenerator g,
+ JacksonJrsTreeCodec codec) |
+
Constructor and Description | +
---|
JrSimpleTreeExtension(JacksonJrsTreeCodec tc) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrSimpleTreeExtension.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrSimpleTreeExtension.html new file mode 100644 index 00000000..770287e7 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrSimpleTreeExtension.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsArray.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsArray.html new file mode 100644 index 00000000..dc3222de --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsArray.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsBoolean.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsBoolean.html new file mode 100644 index 00000000..f3c890ba --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsBoolean.html @@ -0,0 +1,184 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Field and Description | +
---|---|
static JrsBoolean |
+JrsBoolean.FALSE |
+
static JrsBoolean |
+JrsBoolean.TRUE |
+
Modifier and Type | +Method and Description | +
---|---|
JrsBoolean |
+JacksonJrsTreeCodec.booleanNode(boolean state)
+Factory method for constructing node to represent Boolean values.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsEmbeddedObject.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsEmbeddedObject.html new file mode 100644 index 00000000..137209f7 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsEmbeddedObject.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsMissing.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsMissing.html new file mode 100644 index 00000000..ed30c6ce --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsMissing.html @@ -0,0 +1,178 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Field and Description | +
---|---|
static JrsMissing |
+JacksonJrsTreeCodec.MISSING |
+
Modifier and Type | +Method and Description | +
---|---|
static JrsMissing |
+JrsMissing.instance() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNull.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNull.html new file mode 100644 index 00000000..de48c833 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNull.html @@ -0,0 +1,165 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Method and Description | +
---|---|
static JrsNull |
+JrsNull.instance() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNumber.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNumber.html new file mode 100644 index 00000000..fcc08d8b --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsNumber.html @@ -0,0 +1,189 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
com.fasterxml.jackson.jr.stree.util | ++ |
Modifier and Type | +Method and Description | +
---|---|
JrsNumber |
+JacksonJrsTreeCodec.numberNode(Number nr)
+Factory method for constructing node to represent String values.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsNumber |
+JrsTreeTraversingParser.currentNumericNode() |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsObject.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsObject.html new file mode 100644 index 00000000..5c42b09c --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsObject.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsString.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsString.html new file mode 100644 index 00000000..55d8be19 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsString.html @@ -0,0 +1,167 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Method and Description | +
---|---|
JrsString |
+JacksonJrsTreeCodec.stringNode(String text)
+Factory method for constructing node to represent String values.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.Scalar.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.Scalar.html new file mode 100644 index 00000000..b1660b2f --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.Scalar.html @@ -0,0 +1,189 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+JrsBoolean |
+
class |
+JrsEmbeddedObject
+Container for opaque embedded Java objects, exposed by some non-JSON
+ backends: for example, binary formats would expose binary data natively
+ as such tokens.
+ |
+
class |
+JrsNull
+Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
class |
+JrsNumber |
+
class |
+JrsString |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.html new file mode 100644 index 00000000..b3a4579c --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/JrsValue.html @@ -0,0 +1,421 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
com.fasterxml.jackson.jr.stree.util | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+JrsArray |
+
class |
+JrsBoolean |
+
class |
+JrsEmbeddedObject
+Container for opaque embedded Java objects, exposed by some non-JSON
+ backends: for example, binary formats would expose binary data natively
+ as such tokens.
+ |
+
class |
+JrsMissing
+Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
class |
+JrsNull
+Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
class |
+JrsNumber |
+
class |
+JrsObject |
+
class |
+JrsString |
+
static class |
+JrsValue.Scalar
+Intermediate base class for non-structured types, other than
+
+JrsMissing . |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+JrsMissing._at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
protected JrsValue |
+JrsArray._at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
protected abstract JrsValue |
+JrsValue._at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
protected JrsValue |
+JrsValue.Scalar._at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
protected JrsValue |
+JrsObject._at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
JrsValue |
+JrsValue.at(com.fasterxml.jackson.core.JsonPointer ptr) |
+
JrsValue |
+JrsValue.at(String s) |
+
JrsValue |
+JacksonJrsTreeCodec.createArrayNode() |
+
JrsValue |
+JacksonJrsTreeCodec.createObjectNode() |
+
JrsValue |
+JrsMissing.get(int i) |
+
JrsValue |
+JrsArray.get(int i) |
+
abstract JrsValue |
+JrsValue.get(int i) |
+
JrsValue |
+JrsValue.Scalar.get(int i) |
+
JrsValue |
+JrsObject.get(int i) |
+
JrsValue |
+JrsMissing.get(String s) |
+
JrsValue |
+JrsArray.get(String s) |
+
abstract JrsValue |
+JrsValue.get(String s) |
+
JrsValue |
+JrsValue.Scalar.get(String s) |
+
JrsValue |
+JrsObject.get(String name) |
+
JrsValue |
+JacksonJrsTreeCodec.missingNode() |
+
JrsValue |
+JacksonJrsTreeCodec.nullNode() |
+
JrsValue |
+JrsMissing.path(int i) |
+
JrsValue |
+JrsArray.path(int i) |
+
abstract JrsValue |
+JrsValue.path(int i) |
+
JrsValue |
+JrsValue.Scalar.path(int i) |
+
JrsValue |
+JrsObject.path(int i) |
+
JrsValue |
+JrsMissing.path(String s) |
+
JrsValue |
+JrsArray.path(String s) |
+
abstract JrsValue |
+JrsValue.path(String s) |
+
JrsValue |
+JrsValue.Scalar.path(String s) |
+
JrsValue |
+JrsObject.path(String name) |
+
Modifier and Type | +Method and Description | +
---|---|
protected List<JrsValue> |
+JacksonJrsTreeCodec._list() |
+
protected Map<String,JrsValue> |
+JacksonJrsTreeCodec._map() |
+
Iterator<JrsValue> |
+JrsArray.elements() |
+
Iterator<Map.Entry<String,JrsValue>> |
+JrsObject.fields() |
+
Constructor and Description | +
---|
JrsArray(List<JrsValue> v) |
+
JrsObject(Map<String,JrsValue> values) |
+
Modifier and Type | +Method and Description | +
---|---|
protected JrsValue |
+JrsTreeTraversingParser.currentNode() |
+
Constructor and Description | +
---|
JrsTreeTraversingParser(JrsValue n) |
+
JrsTreeTraversingParser(JrsValue n,
+ com.fasterxml.jackson.core.ObjectCodec codec) |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/PackageVersion.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/PackageVersion.html new file mode 100644 index 00000000..2e21f1bb --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/class-use/PackageVersion.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/package-frame.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/package-frame.html new file mode 100644 index 00000000..ffab3f61 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +Class | +Description | +
---|---|
JacksonJrsTreeCodec | +
+TreeCodec implementation that can build "simple", immutable
+ (read-only) trees out of JSON: these are represented as subtypes
+ of JrsValue ("Jrs" from "jackson JR Simple"). |
+
JrsArray | ++ |
JrsBoolean | ++ |
JrsEmbeddedObject | +
+ Container for opaque embedded Java objects, exposed by some non-JSON
+ backends: for example, binary formats would expose binary data natively
+ as such tokens.
+ |
+
JrSimpleTreeExtension | +
+ Simple
+JacksonJrExtension for registering "simple Tree Model"
+ implementation (JacksonJrsTreeCodec ). |
+
JrsMissing | +
+ Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
JrsNull | +
+ Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
JrsNumber | ++ |
JrsObject | ++ |
JrsString | ++ |
JrsValue | +
+ Shared base class for all "simple" node types of Jackson Jr
+ "simple tree" package; implements
+TreeNode and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec ). |
+
JrsValue.Scalar | +
+ Intermediate base class for non-structured types, other than
+
+JrsMissing . |
+
PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/package-tree.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/package-tree.html new file mode 100644 index 00000000..f4478dcf --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/package-tree.html @@ -0,0 +1,164 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/package-use.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/package-use.html new file mode 100644 index 00000000..e87d2485 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/package-use.html @@ -0,0 +1,226 @@ + + + + + + +Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
com.fasterxml.jackson.jr.stree.util | ++ |
Class and Description | +
---|
JacksonJrsTreeCodec
+TreeCodec implementation that can build "simple", immutable
+ (read-only) trees out of JSON: these are represented as subtypes
+ of JrsValue ("Jrs" from "jackson JR Simple"). |
+
JrsBoolean | +
JrsMissing
+ Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
JrsNull
+ Virtual node used instead of `null`, when an operation does not match an
+ actual existing node; this can significantly simplify handling when no
+ null checks are needed.
+ |
+
JrsNumber | +
JrsString | +
JrsValue
+ Shared base class for all "simple" node types of Jackson Jr
+ "simple tree" package; implements
+TreeNode and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec ). |
+
JrsValue.Scalar
+ Intermediate base class for non-structured types, other than
+
+JrsMissing . |
+
Class and Description | +
---|
JrsNumber | +
JrsValue
+ Shared base class for all "simple" node types of Jackson Jr
+ "simple tree" package; implements
+TreeNode and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec ). |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/JrsTreeTraversingParser.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/JrsTreeTraversingParser.html new file mode 100644 index 00000000..8f705c18 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/JrsTreeTraversingParser.html @@ -0,0 +1,1044 @@ + + + + + + +public class JrsTreeTraversingParser
+extends com.fasterxml.jackson.core.base.ParserMinimalBase
+JrsValue
that implements JsonParser
to allow
+ accessing contents of JSON tree in alternate form (stream of tokens).
+ Useful when a streaming source is expected by code, such as data binding
+ functionality.com.fasterxml.jackson.core.JsonParser.Feature, com.fasterxml.jackson.core.JsonParser.NumberType
Modifier and Type | +Field and Description | +
---|---|
protected boolean |
+_closed
+Flag that indicates whether parser is closed or not.
+ |
+
protected com.fasterxml.jackson.core.JsonToken |
+_nextToken
+Sometimes parser needs to buffer a single look-ahead token; if so,
+ it'll be stored here.
+ |
+
protected com.fasterxml.jackson.jr.stree.util.JrsValueCursor |
+_nodeCursor
+Traversal context within tree
+ |
+
protected com.fasterxml.jackson.core.ObjectCodec |
+_objectCodec
+Optional codec, to allow chaining.
+ |
+
protected boolean |
+_startContainer
+Flag needed to handle recursion into contents of child
+ Array/Object nodes.
+ |
+
_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN
_features, _requestPayload, DEFAULT_READ_CAPABILITIES
Constructor and Description | +
---|
JrsTreeTraversingParser(JrsValue n) |
+
JrsTreeTraversingParser(JrsValue n,
+ com.fasterxml.jackson.core.ObjectCodec codec) |
+
Modifier and Type | +Method and Description | +
---|---|
protected void |
+_handleEOF() |
+
void |
+close() |
+
protected JrsValue |
+currentNode() |
+
protected JrsNumber |
+currentNumericNode() |
+
protected Number |
+currentNumericValue() |
+
BigInteger |
+getBigIntegerValue() |
+
byte[] |
+getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) |
+
com.fasterxml.jackson.core.ObjectCodec |
+getCodec() |
+
com.fasterxml.jackson.core.JsonLocation |
+getCurrentLocation() |
+
String |
+getCurrentName() |
+
BigDecimal |
+getDecimalValue() |
+
double |
+getDoubleValue() |
+
Object |
+getEmbeddedObject() |
+
float |
+getFloatValue() |
+
int |
+getIntValue() |
+
long |
+getLongValue() |
+
com.fasterxml.jackson.core.JsonParser.NumberType |
+getNumberType() |
+
Number |
+getNumberValue() |
+
com.fasterxml.jackson.core.JsonStreamContext |
+getParsingContext() |
+
String |
+getText() |
+
char[] |
+getTextCharacters() |
+
int |
+getTextLength() |
+
int |
+getTextOffset() |
+
com.fasterxml.jackson.core.JsonLocation |
+getTokenLocation() |
+
boolean |
+hasTextCharacters() |
+
boolean |
+isClosed() |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+overrideCurrentName(String name) |
+
int |
+readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant,
+ OutputStream out) |
+
void |
+setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
+
com.fasterxml.jackson.core.JsonParser |
+skipChildren() |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _reportUnexpectedNumberChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar
_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, canReadTypeId, canUseSchema, configure, currentLocation, currentName, currentTokenLocation, currentValue, disable, enable, finishToken, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getFormatFeatures, getInputSource, getNonBlockingInputFeeder, getNumberValueExact, getObjectId, getReadCapabilities, getSchema, getShortValue, getText, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, isNaN, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchema
protected com.fasterxml.jackson.core.ObjectCodec _objectCodec+
protected com.fasterxml.jackson.jr.stree.util.JrsValueCursor _nodeCursor+
protected com.fasterxml.jackson.core.JsonToken _nextToken+
protected boolean _startContainer+
protected boolean _closed+
close()
) or when end-of-input is reached.public JrsTreeTraversingParser(JrsValue n)+
public JrsTreeTraversingParser(JrsValue n, + com.fasterxml.jackson.core.ObjectCodec codec)+
public void setCodec(com.fasterxml.jackson.core.ObjectCodec c)+
setCodec
in class com.fasterxml.jackson.core.JsonParser
public com.fasterxml.jackson.core.ObjectCodec getCodec()+
getCodec
in class com.fasterxml.jackson.core.JsonParser
public com.fasterxml.jackson.core.Version version()+
version
in interface com.fasterxml.jackson.core.Versioned
version
in class com.fasterxml.jackson.core.JsonParser
public void close() + throws IOException+
close
in interface Closeable
close
in interface AutoCloseable
close
in class com.fasterxml.jackson.core.base.ParserMinimalBase
IOException
public com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken
in class com.fasterxml.jackson.core.base.ParserMinimalBase
IOException
public com.fasterxml.jackson.core.JsonParser skipChildren() + throws IOException+
skipChildren
in class com.fasterxml.jackson.core.base.ParserMinimalBase
IOException
public boolean isClosed()+
isClosed
in class com.fasterxml.jackson.core.base.ParserMinimalBase
public String getCurrentName()+
getCurrentName
in class com.fasterxml.jackson.core.base.ParserMinimalBase
public void overrideCurrentName(String name)+
overrideCurrentName
in class com.fasterxml.jackson.core.base.ParserMinimalBase
public com.fasterxml.jackson.core.JsonStreamContext getParsingContext()+
getParsingContext
in class com.fasterxml.jackson.core.base.ParserMinimalBase
public com.fasterxml.jackson.core.JsonLocation getTokenLocation()+
getTokenLocation
in class com.fasterxml.jackson.core.JsonParser
public com.fasterxml.jackson.core.JsonLocation getCurrentLocation()+
getCurrentLocation
in class com.fasterxml.jackson.core.JsonParser
public String getText()+
getText
in class com.fasterxml.jackson.core.base.ParserMinimalBase
public char[] getTextCharacters() + throws IOException+
getTextCharacters
in class com.fasterxml.jackson.core.base.ParserMinimalBase
IOException
public int getTextLength() + throws IOException+
getTextLength
in class com.fasterxml.jackson.core.base.ParserMinimalBase
IOException
public int getTextOffset() + throws IOException+
getTextOffset
in class com.fasterxml.jackson.core.base.ParserMinimalBase
IOException
public boolean hasTextCharacters()+
hasTextCharacters
in class com.fasterxml.jackson.core.base.ParserMinimalBase
public com.fasterxml.jackson.core.JsonParser.NumberType getNumberType() + throws IOException+
getNumberType
in class com.fasterxml.jackson.core.JsonParser
IOException
public BigInteger getBigIntegerValue() + throws IOException+
getBigIntegerValue
in class com.fasterxml.jackson.core.JsonParser
IOException
public BigDecimal getDecimalValue() + throws IOException+
getDecimalValue
in class com.fasterxml.jackson.core.JsonParser
IOException
public double getDoubleValue() + throws IOException+
getDoubleValue
in class com.fasterxml.jackson.core.JsonParser
IOException
public float getFloatValue() + throws IOException+
getFloatValue
in class com.fasterxml.jackson.core.JsonParser
IOException
public long getLongValue() + throws IOException+
getLongValue
in class com.fasterxml.jackson.core.JsonParser
IOException
public int getIntValue() + throws IOException+
getIntValue
in class com.fasterxml.jackson.core.JsonParser
IOException
public Number getNumberValue() + throws IOException+
getNumberValue
in class com.fasterxml.jackson.core.JsonParser
IOException
public Object getEmbeddedObject()+
getEmbeddedObject
in class com.fasterxml.jackson.core.JsonParser
public byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) + throws IOException+
getBinaryValue
in class com.fasterxml.jackson.core.base.ParserMinimalBase
IOException
public int readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant, + OutputStream out) + throws IOException+
readBinaryValue
in class com.fasterxml.jackson.core.JsonParser
IOException
protected JrsValue currentNode()+
protected JrsNumber currentNumericNode() + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseException
protected Number currentNumericValue() + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseException
protected void _handleEOF() + throws com.fasterxml.jackson.core.JsonParseException+
_handleEOF
in class com.fasterxml.jackson.core.base.ParserMinimalBase
com.fasterxml.jackson.core.JsonParseException
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/class-use/JrsTreeTraversingParser.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/class-use/JrsTreeTraversingParser.html new file mode 100644 index 00000000..5d3ed9f0 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/class-use/JrsTreeTraversingParser.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/package-frame.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/package-frame.html new file mode 100644 index 00000000..872816c2 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +Class | +Description | +
---|---|
JrsTreeTraversingParser | +
+ Facade over
+JrsValue that implements JsonParser to allow
+ accessing contents of JSON tree in alternate form (stream of tokens). |
+
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/package-tree.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/package-tree.html new file mode 100644 index 00000000..4ffb1c55 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/package-tree.html @@ -0,0 +1,146 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/package-use.html b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/package-use.html new file mode 100644 index 00000000..8254912e --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/com/fasterxml/jackson/jr/stree/util/package-use.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/constant-values.html b/docs/javadoc/jr-stree/2.14/constant-values.html new file mode 100644 index 00000000..1fbe7b8c --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/constant-values.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/deprecated-list.html b/docs/javadoc/jr-stree/2.14/deprecated-list.html new file mode 100644 index 00000000..5e212259 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/deprecated-list.html @@ -0,0 +1,125 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/help-doc.html b/docs/javadoc/jr-stree/2.14/help-doc.html new file mode 100644 index 00000000..5b544da0 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/help-doc.html @@ -0,0 +1,230 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/index-all.html b/docs/javadoc/jr-stree/2.14/index-all.html new file mode 100644 index 00000000..cc0550f3 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/index-all.html @@ -0,0 +1,696 @@ + + + + + + +TreeCodec
implementation that can build "simple", immutable
+ (read-only) trees out of JSON: these are represented as subtypes
+ of JrsValue
("Jrs" from "jackson JR Simple").JacksonJrExtension
for registering "simple Tree Model"
+ implementation (JacksonJrsTreeCodec
).JrsValue
that implements JsonParser
to allow
+ accessing contents of JSON tree in alternate form (stream of tokens).TreeNode
and is usable
+ via matching TreeCodec
+ implementation (see JacksonJrsTreeCodec
).JrsMissing
.Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/index.html b/docs/javadoc/jr-stree/2.14/index.html new file mode 100644 index 00000000..3f254f0e --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/index.html @@ -0,0 +1,76 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
++ + diff --git a/docs/javadoc/jr-stree/2.14/overview-summary.html b/docs/javadoc/jr-stree/2.14/overview-summary.html new file mode 100644 index 00000000..a0c74855 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/overview-summary.html @@ -0,0 +1,143 @@ + + + + + + +
Package | +Description | +
---|---|
com.fasterxml.jackson.jr.stree | ++ |
com.fasterxml.jackson.jr.stree.util | ++ |
Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/overview-tree.html b/docs/javadoc/jr-stree/2.14/overview-tree.html new file mode 100644 index 00000000..2fe3eab3 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/overview-tree.html @@ -0,0 +1,174 @@ + + + + + + +Copyright © 2022 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/jr-stree/2.14/package-list b/docs/javadoc/jr-stree/2.14/package-list new file mode 100644 index 00000000..cec723c2 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/package-list @@ -0,0 +1,2 @@ +com.fasterxml.jackson.jr.stree +com.fasterxml.jackson.jr.stree.util diff --git a/docs/javadoc/jr-stree/2.14/script.js b/docs/javadoc/jr-stree/2.14/script.js new file mode 100644 index 00000000..b3463569 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/jr-stree/2.14/stylesheet.css b/docs/javadoc/jr-stree/2.14/stylesheet.css new file mode 100644 index 00000000..98055b22 --- /dev/null +++ b/docs/javadoc/jr-stree/2.14/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +}