Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ARRAY - Enum constant in enum class be.imgn.json.JsonType
-
An array:
[value, ...]. - asBigDecimal() - Method in class be.imgn.json.JsonNumber
-
Returns the exact value of this number as a
BigDecimal. - asBigInteger() - Method in class be.imgn.json.JsonNumber
-
Returns the exact value of this number as a
BigInteger. - asByte() - Method in class be.imgn.json.JsonNumber
-
Returns the exact value of this number as a
byte. - asDouble() - Method in class be.imgn.json.JsonNumber
-
Returns the
doublenearest this number, orNaNor an infinity of JSON5. - asFloat() - Method in class be.imgn.json.JsonNumber
-
Returns the
floatnearest this number, orNaNor an infinity of JSON5. - asInt() - Method in class be.imgn.json.JsonNumber
-
Returns the exact value of this number as an
int. - asLong() - Method in class be.imgn.json.JsonNumber
-
Returns the exact value of this number as a
long. - asShort() - Method in class be.imgn.json.JsonNumber
-
Returns the exact value of this number as a
short.
B
- be.imgn.json - module be.imgn.json
-
A fast, strict JSON parser and writer: a streaming API, an immutable tree, and binding to records through generated code.
- be.imgn.json - package be.imgn.json
-
Parsing and writing JSON: the parser and the writer, the documents and their immutable tree of values, and the errors.
- be.imgn.json.bind - package be.imgn.json.bind
-
The annotations that bind records to JSON, through code that the annotation processor of
be.imgn.json:json-processorgenerates:JsonRecordand the annotations that tune it. - be.imgn.json.processor - module be.imgn.json.processor
-
The annotation processor that generates the binders of the types annotated
be.imgn.json.bind.JsonRecord. - be.imgn.json.spi - package be.imgn.json.spi
-
What the code generated for records implements and calls: not meant to be used directly.
- be.imgn.json.stream - package be.imgn.json.stream
-
Reading and writing JSON value by value, without a tree:
JsonStreamReaderover a parsed document,JsonStreamWriterto an output. - beginArray() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads the start of an array;
JsonStreamReader.hasNextElement()then tells whether an element follows. - beginArray() - Method in class be.imgn.json.stream.JsonStreamWriter
-
Starts an array.
- beginObject() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads the start of an object;
JsonStreamReader.hasNextMember()then tells whether a member follows. - beginObject() - Method in class be.imgn.json.stream.JsonStreamWriter
-
Starts an object.
- BOOLEAN - Enum constant in enum class be.imgn.json.JsonType
-
trueorfalse. - build() - Method in class be.imgn.json.JsonObject.Builder
-
Builds the object.
- build() - Method in class be.imgn.json.JsonParser.Builder
-
Builds the parser.
- build() - Method in class be.imgn.json.JsonWriter.Builder
-
Builds the writer.
- builder() - Static method in class be.imgn.json.JsonObject
-
Returns a builder of an object.
- builder() - Static method in class be.imgn.json.JsonParser
-
Returns a builder of a parser, with the default settings.
- builder() - Static method in class be.imgn.json.JsonWriter
-
Returns a builder of a writer, with the default settings.
C
- column() - Method in record class be.imgn.json.JsonPosition
-
Returns the value of the
columnrecord component. - copyOf(JsonArray) - Static method in class be.imgn.json.JsonArray
-
Returns a copy of an array that does not keep the document it was parsed from: the copies of its objects and arrays do not either.
- copyOf(JsonObject) - Static method in class be.imgn.json.JsonObject
-
Returns a copy of an object that does not keep the document it was parsed from: the copies of its objects and arrays do not either.
E
- elements() - Method in class be.imgn.json.JsonArray
-
Returns the elements, as an unmodifiable list.
- endArray() - Method in class be.imgn.json.stream.JsonStreamWriter
-
Ends the array being written.
- endObject() - Method in class be.imgn.json.stream.JsonStreamWriter
-
Ends the object being written.
- equals(Object) - Method in class be.imgn.json.JsonArray
- equals(Object) - Method in class be.imgn.json.JsonNumber
- equals(Object) - Method in class be.imgn.json.JsonObject
- equals(Object) - Method in record class be.imgn.json.JsonPosition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.json.JsonString
-
Indicates whether some other object is "equal to" this one.
F
- FALSE - Enum constant in enum class be.imgn.json.JsonBoolean
-
false. - format(JsonFormat) - Method in class be.imgn.json.JsonParser.Builder
-
Sets the syntax of the documents.
- format(JsonValue) - Method in class be.imgn.json.JsonWriter
-
Returns a value as JSON.
- formatAs(Class, T) - Method in class be.imgn.json.JsonWriter
-
Returns a value of a JsonRecord type as JSON, through the code the annotation processor generated.
- formatLines(Iterable) - Method in class be.imgn.json.JsonWriter
-
Returns values as JSON Lines: each value compact, whatever the indentation of this writer, followed by
\n, the last one included. - formatLinesAs(Class, Iterable) - Method in class be.imgn.json.JsonWriter
G
- get(int) - Method in class be.imgn.json.JsonArray
-
Returns an element.
- get(int) - Method in class be.imgn.json.stream.JsonNames
-
Returns a name.
- get(String) - Method in class be.imgn.json.JsonObject
-
Returns the value of a member.
H
- hashCode() - Method in class be.imgn.json.JsonArray
- hashCode() - Method in class be.imgn.json.JsonNumber
- hashCode() - Method in class be.imgn.json.JsonObject
- hashCode() - Method in record class be.imgn.json.JsonPosition
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.json.JsonString
-
Returns a hash code value for this object.
- hasNextElement() - Method in class be.imgn.json.stream.JsonStreamReader
-
Returns whether the array being read has another element, at which the reader then is; at the end of the array, reads it and returns
false. - hasNextMember() - Method in class be.imgn.json.stream.JsonStreamReader
-
Returns whether the object being read has another member, at whose name the reader then is; at the end of the object, reads it and returns
false.
I
- IGNORE - Enum constant in enum class be.imgn.json.bind.UnknownMembers
-
Skips the member; its value must still be valid.
- indent(int) - Method in class be.imgn.json.JsonWriter.Builder
-
Sets the indentation: pretty with a positive number of spaces, compact with 0.
- INSTANCE - Enum constant in enum class be.imgn.json.JsonNull
-
The only
null. - isEmpty() - Method in class be.imgn.json.JsonArray
-
Returns whether this array has no element.
- isEmpty() - Method in class be.imgn.json.JsonObject
-
Returns whether this object has no member.
J
- JSON - Enum constant in enum class be.imgn.json.JsonFormat
-
RFC 8259 JSON, the default.
- JSON5 - Enum constant in enum class be.imgn.json.JsonFormat
-
JSON5 1.0.0: JSON with comments; trailing commas; names written as ECMAScript 5.1 identifiers; strings in single quotes, with more escape sequences and lines continued by a backslash; hexadecimal numbers, numbers with a leading or trailing decimal point or a plus sign,
NaNand the infinities; and more white space, a leading byte order mark included. - JsonArray - Class in be.imgn.json
-
A JSON array: values, in order.
- JsonBinder<T> - Interface in be.imgn.json.spi
-
Reads a type from a stream and writes it to one.
- JsonBindings - Class in be.imgn.json.spi
-
Reads the values that the code generated for JsonRecord types binds from strings, and checks the type of a
JsonValue. - JsonBoolean - Enum Class in be.imgn.json
-
A JSON boolean.
- JSONC - Enum constant in enum class be.imgn.json.JsonFormat
- JsonDocument - Class in be.imgn.json
-
A parsed document: its root value, and where each of its values is written.
- JsonException - Exception Class in be.imgn.json
-
Thrown when a document cannot be read: it is not valid in the format of the parser, or it does not bind to the type it is read as.
- JsonFormat - Enum Class in be.imgn.json
-
The syntax a
JsonParserreads, each strictly: a document is rejected as soon as it steps outside its format. - JsonMappingException - Exception Class in be.imgn.json
-
Thrown when a valid document does not bind to the type it is read as: a value of the wrong type, a number out of range, a missing or unknown member, or a value the type rejects.
- JsonName - Annotation Interface in be.imgn.json.bind
-
Gives the name of a record component's member, the string of an enum constant, or the tag that names a record in a sealed interface, in place of its Java name.
- JsonNames - Class in be.imgn.json.stream
-
Member names known in advance, for
JsonStreamReader.name(JsonNames)to match without creating aString, and forJsonStreamWriter.name(JsonNames, int)to write already encoded. - JsonNull - Enum Class in be.imgn.json
-
The JSON
null. - JsonNumber - Class in be.imgn.json
-
A JSON number, kept exactly as written: it is converted only when one of the
asmethods is called. - JsonObject - Class in be.imgn.json
-
A JSON object: members with distinct names, in the order of the document or of their insertion.
- JsonObject.Builder - Class in be.imgn.json
-
Builds an object, keeping the order of the members.
- JsonParseException - Exception Class in be.imgn.json
-
Thrown when a document is not valid in the format of the parser, or exceeds a limit of the parser.
- JsonParser - Class in be.imgn.json
-
Parses RFC 8259 JSON strictly: a document that is not valid JSON, has an object with two members of the same name, or exceeds a limit, is rejected with a
JsonParseException. - JsonParser() - Constructor for class be.imgn.json.JsonParser
-
Creates a parser with the default settings: see
JsonParser.Builder. - JsonParser.Builder - Class in be.imgn.json
-
Builds a parser.
- JsonPosition - Record Class in be.imgn.json
-
A position in a document: a line and a column.
- JsonPosition(int, int) - Constructor for record class be.imgn.json.JsonPosition
-
Creates a position.
- JsonRecord - Annotation Interface in be.imgn.json.bind
-
Marks a record, or a sealed interface of records, that documents bind to, with JsonParser#parseAs(Class, byte[]), and that JsonWriter#formatAs(Class, Object) writes.
- JsonStreamReader - Class in be.imgn.json.stream
-
Reads a document value by value, as typed reads.
- JsonStreamWriter - Class in be.imgn.json.stream
-
Writes a document value by value, as UTF-8, compact or pretty as the JsonWriter that created it.
- JsonString - Record Class in be.imgn.json
-
A JSON string.
- JsonString(String) - Constructor for record class be.imgn.json.JsonString
-
Creates a string.
- JsonTagMember - Annotation Interface in be.imgn.json.bind
-
Lays out a sealed interface as an object of its record whose tag member names the record, wherever it is among the members:
{"type": "circle", "radius": 1}. - JsonType - Enum Class in be.imgn.json
-
The type of a JSON value.
- JsonValue - Interface in be.imgn.json
-
A JSON value.
- JsonWrapper - Annotation Interface in be.imgn.json.bind
-
Lays out a sealed interface as an object with one member, named after the record, whose value is the record:
{"circle": {"radius": 1}}. - JsonWriter - Class in be.imgn.json
-
Writes values as JSON, in UTF-8: compact, the default, or pretty, indented with 2 spaces.
- JsonWriter() - Constructor for class be.imgn.json.JsonWriter
-
Creates a writer of compact JSON, which omits the
nullcomponents of records. - JsonWriter.Builder - Class in be.imgn.json
-
Builds a writer.
L
- line() - Method in record class be.imgn.json.JsonPosition
-
Returns the value of the
linerecord component.
M
- mappingError(int, String) - Method in class be.imgn.json.stream.JsonStreamReader
-
Returns an error about a value, such as a missing member of an object or a value a record rejects, to throw.
- mappingError(int, String, Throwable) - Method in class be.imgn.json.stream.JsonStreamReader
-
Returns an error about a value, caused by an exception.
- mark() - Method in class be.imgn.json.stream.JsonStreamReader
-
Returns a mark of the next value, for
JsonStreamReader.mappingError(int, String)to report an error at its position once it was read. - maxDepth(int) - Method in class be.imgn.json.JsonParser.Builder
-
Sets the maximum number of nested objects and arrays.
- maxDocumentLength(int) - Method in class be.imgn.json.JsonParser.Builder
-
Sets the maximum length of a document, in bytes.
- maxNumberLength(int) - Method in class be.imgn.json.JsonParser.Builder
-
Sets the maximum length of a number, in bytes, as written.
- maxStringLength(int) - Method in class be.imgn.json.JsonParser.Builder
-
Sets the maximum length of a string or a member name, in bytes, as written between its quotes.
- members() - Method in class be.imgn.json.JsonObject
-
Returns the members, as an unmodifiable map that iterates in their order.
N
- name(JsonNames) - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a member name, and returns its index among known names.
- name(JsonNames, int) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes a known member name, already encoded.
- name(String) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes a member name.
- NULL - Enum constant in enum class be.imgn.json.JsonType
-
null. - nullValue() - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes
null. - NUMBER - Enum constant in enum class be.imgn.json.JsonType
-
A number.
O
- OBJECT - Enum constant in enum class be.imgn.json.JsonType
-
An object:
{"name": value, ...}. - of() - Static method in class be.imgn.json.JsonObject
-
Returns the empty object.
- of(boolean) - Static method in enum class be.imgn.json.JsonBoolean
-
Returns the JSON boolean of a value.
- of(double) - Static method in class be.imgn.json.JsonNumber
-
Returns a number of a
doublevalue, written in its shortest form that reads back to the same value. - of(long) - Static method in class be.imgn.json.JsonNumber
-
Returns a number of an integer value.
- of(JsonValue...) - Static method in class be.imgn.json.JsonArray
-
Returns an array of values.
- of(String...) - Static method in class be.imgn.json.stream.JsonNames
-
Returns names.
- of(BigDecimal) - Static method in class be.imgn.json.JsonNumber
-
Returns a number of an exact decimal value.
- of(BigInteger) - Static method in class be.imgn.json.JsonNumber
-
Returns a number of an exact integer value.
- of(List) - Static method in class be.imgn.json.JsonArray
-
Returns an array of the values of a list.
- of(Map) - Static method in class be.imgn.json.JsonObject
-
Returns an object of the entries of a map, in its iteration order.
P
- parse(byte[]) - Method in class be.imgn.json.JsonParser
-
Parses a document.
- parse(ByteSource) - Method in class be.imgn.json.JsonParser
-
Parses a document, read whole, up to the maximum length of a document.
- parse(CharSource) - Method in class be.imgn.json.JsonParser
-
Parses a document, read whole.
- parse(String) - Static method in class be.imgn.json.JsonNumber
-
Returns the number written as a text.
- parse(String) - Method in class be.imgn.json.JsonParser
-
Parses a document.
- parseAs(Class, byte[]) - Method in class be.imgn.json.JsonParser
-
Parses a document and binds it to a JsonRecord type, through the code the annotation processor generated.
- parseAs(Class, ByteSource) - Method in class be.imgn.json.JsonParser
-
Parses a document, read whole, and binds it to a JsonRecord type.
- parseAs(Class, CharSource) - Method in class be.imgn.json.JsonParser
-
Parses a document, read whole, and binds it to a JsonRecord type.
- parseAs(Class, String) - Method in class be.imgn.json.JsonParser
-
Parses a document and binds it to a JsonRecord type, through the code the annotation processor generated.
- parseLines(byte[]) - Method in class be.imgn.json.JsonParser
-
Parses JSON Lines: one JSON value per line, each a document of its own.
- parseLines(ByteSource) - Method in class be.imgn.json.JsonParser
-
Parses JSON Lines, as
JsonParser.parseLines(byte[])does, read as the stream is consumed. - parseLines(String) - Method in class be.imgn.json.JsonParser
-
Parses JSON Lines, as
JsonParser.parseLines(byte[])does. - parseLinesAs(Class, byte[]) - Method in class be.imgn.json.JsonParser
- parseLinesAs(Class, ByteSource) - Method in class be.imgn.json.JsonParser
-
Parses JSON Lines, as
JsonParser.parseLines(ByteSource)does, and binds each line to a JsonRecord type. - parseLinesAs(Class, String) - Method in class be.imgn.json.JsonParser
- path() - Method in exception class be.imgn.json.JsonException
-
Returns the path to the value the error is in, as a JSON Pointer:
/items/2/nameis the membernameof the third element of the memberitemsof the root. - peek() - Method in class be.imgn.json.stream.JsonStreamReader
-
Returns the type of the next value, without reading it.
- peekTag(JsonNames, JsonNames) - Method in class be.imgn.json.stream.JsonStreamReader
-
Returns the index of the tag that names the type of the next value, an object, from the string value of its tag member, wherever the member is among the others; the reader stays at the object.
- position() - Method in exception class be.imgn.json.JsonException
-
Returns where the error is.
- position(JsonArray, int) - Method in class be.imgn.json.JsonDocument
-
Returns where an element of an array starts.
- position(JsonObject, String) - Method in class be.imgn.json.JsonDocument
-
Returns where the value of a member starts.
- pretty() - Method in class be.imgn.json.JsonWriter.Builder
-
Makes the writer pretty: indented with 2 spaces, with a space after each colon.
- pretty() - Static method in class be.imgn.json.JsonWriter
-
Returns a writer of pretty JSON: indented with 2 spaces, with a space after each colon.
- put(String, JsonValue) - Method in class be.imgn.json.JsonObject.Builder
-
Adds a member.
R
- read(JsonStreamReader) - Method in interface be.imgn.json.spi.JsonBinder
-
Reads a value of the type.
- readBigDecimal() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a number, exactly.
- readBigInteger() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a number whose value is an integer, exactly.
- readBoolean() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a boolean.
- readByte() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a number whose value is an integer in the range of a
byte. - readDouble() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a number, as the nearest
double, orNaNor an infinity of JSON5. - readDuration(JsonStreamReader) - Static method in class be.imgn.json.spi.JsonBindings
-
Reads a duration, in ISO-8601:
PT1M30S. - reader(byte[]) - Method in class be.imgn.json.JsonParser
-
Returns a reader of a document, which is validated whole first.
- reader(String) - Method in class be.imgn.json.JsonParser
-
Returns a reader of a document, which is validated whole first.
- readFloat() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a number, as the nearest
float, orNaNor an infinity of JSON5. - readInstant(JsonStreamReader) - Static method in class be.imgn.json.spi.JsonBindings
-
Reads an instant, in ISO-8601:
2026-11-16T10:15:30Z. - readInt() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a number whose value is an integer in the range of an
int. - readLocalDate(JsonStreamReader) - Static method in class be.imgn.json.spi.JsonBindings
-
Reads a date, in ISO-8601:
2026-11-16. - readLocalDateTime(JsonStreamReader) - Static method in class be.imgn.json.spi.JsonBindings
-
Reads a date-time, in ISO-8601:
2026-11-16T10:15:30. - readLocalTime(JsonStreamReader) - Static method in class be.imgn.json.spi.JsonBindings
-
Reads a time, in ISO-8601:
10:15:30. - readLong() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a number whose value is an integer in the range of a
long, such as12,1.0or1e2. - readName() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a member name.
- readNull() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads the next value if it is
null. - readOffsetDateTime(JsonStreamReader) - Static method in class be.imgn.json.spi.JsonBindings
-
Reads a date-time with an offset, in ISO-8601:
2026-11-16T10:15:30+01:00. - readShort() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a number whose value is an integer in the range of a
short. - readString() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a string.
- readUri(JsonStreamReader) - Static method in class be.imgn.json.spi.JsonBindings
-
Reads a URI, as
URI.create(String)parses it. - readUuid(JsonStreamReader) - Static method in class be.imgn.json.spi.JsonBindings
-
Reads a UUID, in its canonical form: 36 characters, 32 hexadecimal digits in groups of 8, 4, 4, 4 and 12.
- readValue() - Method in class be.imgn.json.stream.JsonStreamReader
-
Reads a value of any type, as a
JsonValue. - readValue(JsonStreamReader, Class) - Static method in class be.imgn.json.spi.JsonBindings
-
Reads a value of a
JsonValuetype. - REJECT - Enum constant in enum class be.imgn.json.bind.UnknownMembers
-
Throws a JsonMappingException.
- root() - Method in class be.imgn.json.JsonDocument
-
Returns the root value.
- rootPosition() - Method in class be.imgn.json.JsonDocument
-
Returns where the root value starts.
S
- size() - Method in class be.imgn.json.JsonArray
-
Returns the number of elements.
- size() - Method in class be.imgn.json.JsonObject
-
Returns the number of members.
- size() - Method in class be.imgn.json.stream.JsonNames
-
Returns the number of names.
- size() - Method in class be.imgn.json.stream.JsonStreamReader
-
Returns the number of elements of the array, or members of the object, being read: all of them, those read and those left.
- skipUnknownMember(JsonNames) - Method in class be.imgn.json.stream.JsonStreamReader
-
Skips the value of a member whose name
JsonStreamReader.name(JsonNames)did not know, or rejects it if the parser was built withUnknownMembers.REJECT. - skipValue() - Method in class be.imgn.json.stream.JsonStreamReader
-
Skips a value of any type, at a cost that does not depend on its size.
- streamWriter() - Method in class be.imgn.json.JsonWriter
-
Returns a writer of a document, value by value, with the settings of this writer.
- STRING - Enum constant in enum class be.imgn.json.JsonType
-
A string.
T
- toByteArray() - Method in class be.imgn.json.stream.JsonStreamWriter
-
Returns the document written.
- toBytes(JsonValue) - Method in class be.imgn.json.JsonWriter
-
Returns a value as JSON, in UTF-8.
- toBytesAs(Class, T) - Method in class be.imgn.json.JsonWriter
-
Returns a value of a JsonRecord type as JSON, in UTF-8.
- toString() - Method in class be.imgn.json.JsonArray
-
Returns this array as compact JSON, except for JSON5's
NaNand infinities, which JSON has no way to write: they are writtenNaN,Infinityand-Infinity, whereJsonWriterrejects them. - toString() - Method in enum class be.imgn.json.JsonBoolean
- toString() - Method in enum class be.imgn.json.JsonNull
- toString() - Method in class be.imgn.json.JsonNumber
-
Returns the number as written.
- toString() - Method in class be.imgn.json.JsonObject
-
Returns this object as compact JSON, except for JSON5's
NaNand infinities, which JSON has no way to write: they are writtenNaN,Infinityand-Infinity, whereJsonWriterrejects them. - toString() - Method in record class be.imgn.json.JsonPosition
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.json.JsonString
-
Returns the string as JSON, quoted and escaped.
- toString() - Method in class be.imgn.json.stream.JsonNames
- TRUE - Enum constant in enum class be.imgn.json.JsonBoolean
-
true. - type() - Method in class be.imgn.json.JsonArray
- type() - Method in enum class be.imgn.json.JsonBoolean
- type() - Method in enum class be.imgn.json.JsonNull
- type() - Method in class be.imgn.json.JsonNumber
- type() - Method in class be.imgn.json.JsonObject
- type() - Method in record class be.imgn.json.JsonString
- type() - Method in interface be.imgn.json.JsonValue
-
Returns the type of this value.
- type() - Method in interface be.imgn.json.spi.JsonBinder
-
Returns the type.
U
- unknownMembers(UnknownMembers) - Method in class be.imgn.json.JsonParser.Builder
-
Sets what binding does with a member that no component of a record takes.
- UnknownMembers - Enum Class in be.imgn.json.bind
-
What binding does with a member of an object that no component of the record takes.
V
- value() - Element in annotation interface be.imgn.json.bind.JsonName
-
Returns the name, taken as it is.
- value() - Element in annotation interface be.imgn.json.bind.JsonTagMember
-
Returns the name of the tag member.
- value() - Method in enum class be.imgn.json.JsonBoolean
-
Returns the value of this boolean.
- value() - Method in record class be.imgn.json.JsonString
-
Returns the value of the
valuerecord component. - value(boolean) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes a boolean.
- value(double) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes a
double, in its shortest form that reads back to the same value. - value(float) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes a
float, in its shortest form that reads back to the same value. - value(long) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes an integer.
- value(JsonValue) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes a value of any type.
- value(String) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes a string.
- value(BigDecimal) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes a decimal number.
- value(BigInteger) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes an integer.
- valueOf(String) - Static method in enum class be.imgn.json.bind.UnknownMembers
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.json.JsonBoolean
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.json.JsonFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.json.JsonNull
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.json.JsonType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class be.imgn.json.bind.UnknownMembers
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.json.JsonBoolean
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.json.JsonFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.json.JsonNull
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.json.JsonType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- write(JsonValue, ByteSink) - Method in class be.imgn.json.JsonWriter
-
Writes a value as JSON, in UTF-8, to a sink.
- write(JsonValue, OutputStream) - Method in class be.imgn.json.JsonWriter
-
Writes a value as JSON, in UTF-8, to a stream.
- write(JsonStreamWriter, T) - Method in interface be.imgn.json.spi.JsonBinder
-
Writes a value of the type.
- writeAs(Class, T, ByteSink) - Method in class be.imgn.json.JsonWriter
-
Writes a value of a JsonRecord type as JSON, in UTF-8, to a sink.
- writeAs(Class, T, OutputStream) - Method in class be.imgn.json.JsonWriter
-
Writes a value of a JsonRecord type as JSON, in UTF-8, to a stream.
- writeLines(Iterable, ByteSink) - Method in class be.imgn.json.JsonWriter
-
Writes values as JSON Lines, in UTF-8, to a sink, as
JsonWriter.formatLines(Iterable)does. - writeLines(Iterable, OutputStream) - Method in class be.imgn.json.JsonWriter
-
Writes values as JSON Lines, in UTF-8, to a stream, as
JsonWriter.formatLines(Iterable)does. - writeLinesAs(Class, Iterable, ByteSink) - Method in class be.imgn.json.JsonWriter
-
Writes values of a JsonRecord type as JSON Lines, in UTF-8, to a sink, as
JsonWriter.writeLines(Iterable, OutputStream)does. - writeLinesAs(Class, Iterable, OutputStream) - Method in class be.imgn.json.JsonWriter
-
Writes values of a JsonRecord type as JSON Lines, in UTF-8, to a stream, as
JsonWriter.writeLines(Iterable, OutputStream)does. - writeNullMembers() - Method in class be.imgn.json.JsonWriter.Builder
-
Makes the writer write a record component that is
nullas a member whose value isnull, rather than omit it. - writesNullMembers() - Method in class be.imgn.json.stream.JsonStreamWriter
-
Returns whether a record component that is
nullis written asnull, rather than omitted, as the JsonWriter that created this writer says. - writeTo(OutputStream) - Method in class be.imgn.json.stream.JsonStreamWriter
-
Writes the document written to a stream.
All Classes and Interfaces|All Packages|Serialized Form