A B C D E F G H I J K L N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(int, E) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- add(Json5Element) - Method in class de.marhali.json5.Json5Array
-
Adds the specified element to self.
- add(Boolean) - Method in class de.marhali.json5.Json5Array
-
Adds the specified boolean to self.
- add(Character) - Method in class de.marhali.json5.Json5Array
-
Adds the specified character to self.
- add(Number) - Method in class de.marhali.json5.Json5Array
-
Adds the specified number to self.
- add(Number, int) - Method in class de.marhali.json5.Json5Array
- add(String) - Method in class de.marhali.json5.Json5Array
-
Adds the specified string to self.
- add(String, Json5Element) - Method in class de.marhali.json5.Json5Object
-
Adds a member, which is a name-value pair, to self.
- add(Instant) - Method in class de.marhali.json5.Json5Array
-
Adds the specified
Instantto self. - addAll(Json5Array) - Method in class de.marhali.json5.Json5Array
-
Adds all the elements of the specified array to self.
- addProperty(String, Boolean) - Method in class de.marhali.json5.Json5Object
-
Convenience method to add a boolean member.
- addProperty(String, Character) - Method in class de.marhali.json5.Json5Object
-
Convenience method to add a char member.
- addProperty(String, Number) - Method in class de.marhali.json5.Json5Object
-
Convenience method to add a number member.
- addProperty(String, Number, int) - Method in class de.marhali.json5.Json5Object
- addProperty(String, String) - Method in class de.marhali.json5.Json5Object
-
Convenience method to add a string member.
- addProperty(String, Instant) - Method in class de.marhali.json5.Json5Object
-
Convenience method to add a
Instantmember. - allowBinaryLiterals() - Method in class de.marhali.json5.config.Json5Options.Builder
- allowHexFloatingLiterals() - Method in class de.marhali.json5.config.Json5Options.Builder
- allowInfinity() - Method in class de.marhali.json5.config.Json5Options.Builder
- allowInvalidSurrogates() - Method in class de.marhali.json5.config.Json5Options.Builder
- allowLongUnicodeEscapes() - Method in class de.marhali.json5.config.Json5Options.Builder
- allowNaN() - Method in class de.marhali.json5.config.Json5Options.Builder
- allowOctalLiterals() - Method in class de.marhali.json5.config.Json5Options.Builder
- allowTrailingData() - Method in class de.marhali.json5.config.Json5Options.Builder
- asList() - Method in class de.marhali.json5.Json5Array
-
Returns a mutable
Listview of thisJson5Array. - asMap() - Method in class de.marhali.json5.Json5Object
-
Returns a mutable
Mapview of thisJson5Object.
B
- back() - Method in class de.marhali.json5.stream.Json5Lexer
-
Forces the parser to re-read the last character
- build() - Method in class de.marhali.json5.config.Json5Options.Builder
- builder() - Static method in class de.marhali.json5.config.Json5Options
-
Configure options using the builder pattern.
- builder(Function<Json5Options.Builder, Json5Options>) - Static method in class de.marhali.json5.Json5
-
Constructs a new json5 instance by using the
Json5Options.builder().
C
- C_STYLE - de.marhali.json5.config.DigitSeparatorStrategy
-
Uses C-style digit separators (e.g.
- charToString(char) - Static method in class de.marhali.json5.stream.Json5Lexer
-
Converts a character into a string representation: if
c == 0,"EOF"is returned ifcfulfills one of the following conditions,"'x'"is returned, wherexis the value returned byCharacter.toString(char): ifcis an extended ASCII character (U+0001-U+00FF), exceptcontrol charactersifcis aUnicode letterifcis aUnicode digitotherwise,"U+XXXX"is returned, whereXXXXis the uppercase hexadecimal representation ofc's Unicode codepoint, padded with zeros (0) to a length of 4 characters - clear() - Method in class de.marhali.json5.internal.LinkedTreeMap
- clear() - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- comment - Variable in class de.marhali.json5.Json5Element
-
Associated comment on this element.
- consumeComment() - Method in class de.marhali.json5.stream.Json5Lexer
-
Returns the last comment that was read and clears it.
- contains(Json5Element) - Method in class de.marhali.json5.Json5Array
-
Returns true if this array contains the specified element.
- contains(Object) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- containsKey(Object) - Method in class de.marhali.json5.internal.LinkedTreeMap
D
- de.marhali.json5 - package de.marhali.json5
- de.marhali.json5.config - package de.marhali.json5.config
- de.marhali.json5.exception - package de.marhali.json5.exception
- de.marhali.json5.internal - package de.marhali.json5.internal
- de.marhali.json5.stream - package de.marhali.json5.stream
- deepCopy() - Method in class de.marhali.json5.Json5Array
-
Creates a deep copy of this element and all its children.
- deepCopy() - Method in class de.marhali.json5.Json5Element
-
Returns a deep copy of this element.
- deepCopy() - Method in class de.marhali.json5.Json5Null
- deepCopy() - Method in class de.marhali.json5.Json5Object
-
Creates a deep copy of this element and all its children.
- deepCopy() - Method in class de.marhali.json5.Json5Primitive
-
Returns the same value as primitives are immutable.
- DEFAULT - Static variable in class de.marhali.json5.config.Json5Options
-
Recommended default configuration options.
- digitSeparatorStrategy(DigitSeparatorStrategy) - Method in class de.marhali.json5.config.Json5Options.Builder
- DigitSeparatorStrategy - Enum in de.marhali.json5.config
-
An enum containing all supported behaviors for handling digit separators.
- doubleValue() - Method in class de.marhali.json5.internal.LazilyParsedNumber
- DUPLICATE - de.marhali.json5.config.DuplicateKeyStrategy
-
Wraps duplicate values inside an
array, effectively treating them as if they were declared as one - duplicateKeyStrategy(DuplicateKeyStrategy) - Method in class de.marhali.json5.config.Json5Options.Builder
- DuplicateKeyStrategy - Enum in de.marhali.json5.config
-
An enum containing all supported behaviors for duplicate keys
E
- EcmaScriptIdentifier - Class in de.marhali.json5.internal
- entrySet() - Method in class de.marhali.json5.internal.LinkedTreeMap
- entrySet() - Method in class de.marhali.json5.Json5Object
-
Returns a set of members of this object.
- equals(Object) - Method in class de.marhali.json5.config.Json5Options
- equals(Object) - Method in class de.marhali.json5.internal.LazilyParsedNumber
- equals(Object) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- equals(Object) - Method in class de.marhali.json5.internal.RadixNumber
- equals(Object) - Method in class de.marhali.json5.Json5Array
- equals(Object) - Method in class de.marhali.json5.Json5Element
- equals(Object) - Method in class de.marhali.json5.Json5Object
- equals(Object) - Method in class de.marhali.json5.Json5Primitive
F
- floatValue() - Method in class de.marhali.json5.internal.LazilyParsedNumber
- formatNumberString(String, int) - Method in class de.marhali.json5.stream.Json5Writer
- fromBinaryString(String) - Static method in class de.marhali.json5.Json5Primitive
-
Create a primitive containing a binary number (radix base
2). - fromBoolean(Boolean) - Static method in class de.marhali.json5.Json5Primitive
-
Create a primitive containing a boolean value.
- fromCharacter(Character) - Static method in class de.marhali.json5.Json5Primitive
-
Create a primitive containing a character.
- fromHexString(String) - Static method in class de.marhali.json5.Json5Primitive
-
Create a primitive containing a binary number (radix base
16). - fromInstant(Instant) - Static method in class de.marhali.json5.Json5Primitive
-
Create a primitive containing a
Instantvalue. - fromNull() - Static method in class de.marhali.json5.Json5Primitive
-
Create a primitive containing a
nullvalue. - fromNumber(Number) - Static method in class de.marhali.json5.Json5Primitive
-
Create a primitive containing a decimal
Number(radix base10). - fromNumber(Number, int) - Static method in class de.marhali.json5.Json5Primitive
-
Creates a primitive containing a
Numberwith specified radix base. - fromOctalString(String) - Static method in class de.marhali.json5.Json5Primitive
-
Create a primitive containing an octal number (radix base
8). - fromString(String) - Static method in class de.marhali.json5.Json5Primitive
-
Create a primitive containing a String value.
G
- get(int) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- get(int) - Method in class de.marhali.json5.Json5Array
-
Returns the i-th element of the array.
- get(Object) - Method in class de.marhali.json5.internal.LinkedTreeMap
- get(String) - Method in class de.marhali.json5.Json5Object
-
Returns the member with the specified name.
- getAsBigDecimal() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a
BigDecimalif it contains a single element. - getAsBigDecimal() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a
BigDecimal. - getAsBigDecimal() - Method in class de.marhali.json5.Json5Primitive
- getAsBigInteger() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a
BigIntegerif it contains a single element. - getAsBigInteger() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a
BigInteger. - getAsBigInteger() - Method in class de.marhali.json5.Json5Primitive
- getAsBinaryString() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a binary number string if it contains a single element.
- getAsBinaryString() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a primitive binary number (radix base
2) value. - getAsBinaryString() - Method in class de.marhali.json5.Json5Primitive
- getAsBoolean() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a boolean if it contains a single element.
- getAsBoolean() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a boolean value.
- getAsBoolean() - Method in class de.marhali.json5.Json5Primitive
-
Convenience method to get this element as a boolean value.
- getAsByte() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a primitive byte if it contains a single element.
- getAsByte() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a primitive byte value.
- getAsByte() - Method in class de.marhali.json5.Json5Primitive
- getAsDouble() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a double if it contains a single element.
- getAsDouble() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a primitive double value.
- getAsDouble() - Method in class de.marhali.json5.Json5Primitive
- getAsFloat() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a float if it contains a single element.
- getAsFloat() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a primitive float value.
- getAsFloat() - Method in class de.marhali.json5.Json5Primitive
- getAsHexString() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a hex number string if it contains a single element.
- getAsHexString() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a primitive hex number (radix base
16) value. - getAsHexString() - Method in class de.marhali.json5.Json5Primitive
- getAsInstant() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a Insta if it contains a single element.
- getAsInstant() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a
Instantvalue. - getAsInstant() - Method in class de.marhali.json5.Json5Primitive
- getAsInt() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as an integer if it contains a single element.
- getAsInt() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a primitive integer value.
- getAsInt() - Method in class de.marhali.json5.Json5Primitive
- getAsJson5Array() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a
Json5Array. - getAsJson5Array(String) - Method in class de.marhali.json5.Json5Object
-
Convenience method to get the specified member as a
Json5Array. - getAsJson5Null() - Method in class de.marhali.json5.Json5Array
- getAsJson5Null() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a
Json5Null. - getAsJson5Object() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a
Json5Object. - getAsJson5Object(String) - Method in class de.marhali.json5.Json5Object
-
Convenience method to get the specified member as a
Json5Object. - getAsJson5Primitive() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a
Json5Primitive. - getAsJson5Primitive(String) - Method in class de.marhali.json5.Json5Object
-
Convenience method to get the specified member as a
Json5Primitive. - getAsLong() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a long if it contains a single element.
- getAsLong() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a primitive long value.
- getAsLong() - Method in class de.marhali.json5.Json5Primitive
-
Convenience method to get this element as a primitive long.
- getAsNumber() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a
Numberif it contains a single element. - getAsNumber() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a
Number. - getAsNumber() - Method in class de.marhali.json5.Json5Primitive
-
Convenience method to get this element as a
Number. - getAsOctalString() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a octal number string if it contains a single element.
- getAsOctalString() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a primitive octal number (radix base
8) value. - getAsOctalString() - Method in class de.marhali.json5.Json5Primitive
- getAsRadixNumber() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a
RadixNumberif it contains a single element. - getAsRadixNumber() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a
RadixNumber. - getAsRadixNumber() - Method in class de.marhali.json5.Json5Primitive
- getAsShort() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a primitive short if it contains a single element.
- getAsShort() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a primitive short value.
- getAsShort() - Method in class de.marhali.json5.Json5Primitive
- getAsString() - Method in class de.marhali.json5.Json5Array
-
Convenience method to get this array as a
Stringif it contains a single element. - getAsString() - Method in class de.marhali.json5.Json5Element
-
Convenience method to get this element as a string value.
- getAsString() - Method in class de.marhali.json5.Json5Null
- getAsString() - Method in class de.marhali.json5.Json5Primitive
- getComment() - Method in class de.marhali.json5.Json5Element
-
Returns the associated comment on this element.
- getDigitSeparatorStrategy() - Method in class de.marhali.json5.config.Json5Options
- getDuplicateBehaviour() - Method in class de.marhali.json5.config.Json5Options
- getIndentFactor() - Method in class de.marhali.json5.config.Json5Options
- getNumber() - Method in class de.marhali.json5.internal.RadixNumber
- getNumberRadix() - Method in class de.marhali.json5.Json5Primitive
- getRadix() - Method in class de.marhali.json5.internal.RadixNumber
H
- has(String) - Method in class de.marhali.json5.Json5Object
-
Convenience method to check if a member with the specified name is present in this object.
- hasComment() - Method in class de.marhali.json5.Json5Element
-
Provides a check for verifying if this element has an associated comment.
- hashCode() - Method in class de.marhali.json5.config.Json5Options
- hashCode() - Method in class de.marhali.json5.internal.LazilyParsedNumber
- hashCode() - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- hashCode() - Method in class de.marhali.json5.internal.RadixNumber
- hashCode() - Method in class de.marhali.json5.Json5Array
- hashCode() - Method in class de.marhali.json5.Json5Element
- hashCode() - Method in class de.marhali.json5.Json5Object
- hashCode() - Method in class de.marhali.json5.Json5Primitive
I
- indentFactor(int) - Method in class de.marhali.json5.config.Json5Options.Builder
- indexOf(Object) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- insertFinalNewline() - Method in class de.marhali.json5.config.Json5Options.Builder
- intValue() - Method in class de.marhali.json5.internal.LazilyParsedNumber
- isAllowBinaryLiterals() - Method in class de.marhali.json5.config.Json5Options
- isAllowHexFloatingLiterals() - Method in class de.marhali.json5.config.Json5Options
- isAllowInfinity() - Method in class de.marhali.json5.config.Json5Options
- isAllowInvalidSurrogates() - Method in class de.marhali.json5.config.Json5Options
- isAllowLongUnicodeEscapes() - Method in class de.marhali.json5.config.Json5Options
- isAllowNaN() - Method in class de.marhali.json5.config.Json5Options
- isAllowOctalLiterals() - Method in class de.marhali.json5.config.Json5Options
- isAllowTrailingData() - Method in class de.marhali.json5.config.Json5Options
- isBinaryNumber() - Method in class de.marhali.json5.Json5Primitive
- isBoolean() - Method in class de.marhali.json5.Json5Primitive
-
Check whether this primitive contains a boolean value.
- isEmpty() - Method in class de.marhali.json5.Json5Array
-
Returns true if the array is empty.
- isEmpty() - Method in class de.marhali.json5.Json5Object
-
Returns true if the number of key/value pairs in the object is zero.
- isHexNumber() - Method in class de.marhali.json5.Json5Primitive
- isInsertFinalNewline() - Method in class de.marhali.json5.config.Json5Options
- isInstant() - Method in class de.marhali.json5.Json5Primitive
-
Check whether this primitive contains a
Instantvalue. - isJson5Array() - Method in class de.marhali.json5.Json5Element
-
Provides a check for verifying if this element is a Json5 array or not.
- isJson5Null() - Method in class de.marhali.json5.Json5Element
-
Provides a check for verifying if this element represents a null value or not.
- isJson5Object() - Method in class de.marhali.json5.Json5Element
-
Provides a check for verifying if this element is a Json5 object or not.
- isJson5Primitive() - Method in class de.marhali.json5.Json5Element
-
Provides a check for verifying if this element is a primitive or not.
- isNumber() - Method in class de.marhali.json5.Json5Primitive
-
Check whether this primitive contains a Number.
- isOctalNumber() - Method in class de.marhali.json5.Json5Primitive
- isParseComments() - Method in class de.marhali.json5.config.Json5Options
- isQuoteless() - Method in class de.marhali.json5.config.Json5Options
- isQuoteSingle() - Method in class de.marhali.json5.config.Json5Options
- isString() - Method in class de.marhali.json5.Json5Primitive
-
Check whether this primitive contains a String value.
- isStringifyAscii() - Method in class de.marhali.json5.config.Json5Options
- isStringifyUnixInstants() - Method in class de.marhali.json5.config.Json5Options
- isTrailingComma() - Method in class de.marhali.json5.config.Json5Options
- isValid(String) - Static method in class de.marhali.json5.internal.EcmaScriptIdentifier
-
Checks whether the provided
Stringis a valid ES5.1 IdentifierName. - isWriteComments() - Method in class de.marhali.json5.config.Json5Options
- iterator() - Method in class de.marhali.json5.Json5Array
-
Returns an iterator to navigate the elements of the array.
J
- JAVA_STYLE - de.marhali.json5.config.DigitSeparatorStrategy
-
Uses Java-style digit separators (e.g.
- Json5 - Class in de.marhali.json5
-
This is the main class for using Json5.
- Json5() - Constructor for class de.marhali.json5.Json5
-
Constructs a json5 instance by using
Json5Options.DEFAULTas configuration. - Json5(Json5Options) - Constructor for class de.marhali.json5.Json5
-
Constructs a new json5 instance with custom configuration for parsing and serialization.
- Json5Array - Class in de.marhali.json5
-
A class representing an array type in Json5.
- Json5Array() - Constructor for class de.marhali.json5.Json5Array
-
Creates an empty Json5Array.
- Json5Array(int) - Constructor for class de.marhali.json5.Json5Array
-
Creates an empty Json5Array with the desired initial capacity.
- Json5Element - Class in de.marhali.json5
-
A class representing an element of Json5.
- Json5Element() - Constructor for class de.marhali.json5.Json5Element
- Json5Exception - Exception in de.marhali.json5.exception
-
Describes exceptions which occur during json5 parsing and serialization.
- Json5Exception() - Constructor for exception de.marhali.json5.exception.Json5Exception
-
Constructs a new JSONException
- Json5Exception(String) - Constructor for exception de.marhali.json5.exception.Json5Exception
-
Constructs a new JSONException with a detail message
- Json5Exception(String, Throwable) - Constructor for exception de.marhali.json5.exception.Json5Exception
-
Constructs a new JSONException with a detail message and a causing exception
- Json5Exception(Throwable) - Constructor for exception de.marhali.json5.exception.Json5Exception
-
Constructs a new JSONException with a causing exception
- Json5Lexer - Class in de.marhali.json5.stream
-
This is a lexer to convert the provided data into tokens according to the json5 specification.
- Json5Lexer(Reader, Json5Options) - Constructor for class de.marhali.json5.stream.Json5Lexer
-
Constructs a new lexer from a specific
Reader. - Json5Null - Class in de.marhali.json5
-
A class representing a Json
nullliteral value. - Json5Null() - Constructor for class de.marhali.json5.Json5Null
- Json5Object - Class in de.marhali.json5
-
A class representing an object type in Json5.
- Json5Object() - Constructor for class de.marhali.json5.Json5Object
-
Creates a new instance of a
Json5Object. - Json5Options - Class in de.marhali.json5.config
-
Definition of all configuration options for parsing and writing Json5 data.
- Json5Options.Builder - Class in de.marhali.json5.config
- Json5Parser - Class in de.marhali.json5.stream
-
A parser to parse tokenized Json5 data into a parse tree of
Json5Element's. - Json5Primitive - Class in de.marhali.json5
-
A class representing a Json5 primitive value.
- Json5Writer - Class in de.marhali.json5.stream
-
Writes a tree of
Json5Element's into their string literal representation by using awritestream. - Json5Writer(Json5Options, Writer) - Constructor for class de.marhali.json5.stream.Json5Writer
-
Creates a new instance that writes a JSON5-encoded stream to
writer.
K
- keySet() - Method in class de.marhali.json5.internal.LinkedTreeMap
- keySet() - Method in class de.marhali.json5.Json5Object
-
Returns a set of members key values.
L
- LAST_WINS - de.marhali.json5.config.DuplicateKeyStrategy
-
Only the last encountered value is significant, all previous occurrences are silently discarded
- lastIndexOf(Object) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- LazilyParsedNumber - Class in de.marhali.json5.internal
-
This class holds a number value that is lazily converted to a specific number type
- LazilyParsedNumber(String) - Constructor for class de.marhali.json5.internal.LazilyParsedNumber
- LinkedTreeMap<K,V> - Class in de.marhali.json5.internal
-
A map of comparable keys to values.
- LinkedTreeMap() - Constructor for class de.marhali.json5.internal.LinkedTreeMap
-
Create a natural order, empty tree map whose keys must be mutually comparable and non-null, and whose values can be
null. - LinkedTreeMap(boolean) - Constructor for class de.marhali.json5.internal.LinkedTreeMap
-
Create a natural order, empty tree map whose keys must be mutually comparable and non-null.
- LinkedTreeMap(Comparator<? super K>, boolean) - Constructor for class de.marhali.json5.internal.LinkedTreeMap
-
Create a tree map ordered by
comparator. - longValue() - Method in class de.marhali.json5.internal.LazilyParsedNumber
N
- nextClean() - Method in class de.marhali.json5.stream.Json5Lexer
-
Reads until encountering a character that is not a whitespace according to the JSON5 Specification
- nextMemberName() - Method in class de.marhali.json5.stream.Json5Lexer
-
Reads a member name from the source according to the JSON5 Specification
- nextValue() - Method in class de.marhali.json5.stream.Json5Lexer
-
Reads a value from the source according to the JSON5 Specification
- NONE - de.marhali.json5.config.DigitSeparatorStrategy
-
Expect no digit separators
- NonNullElementWrapperList<E> - Class in de.marhali.json5.internal
-
Listwhich wraps anotherListbut prevents insertion ofnullelements. - NonNullElementWrapperList(ArrayList<E>) - Constructor for class de.marhali.json5.internal.NonNullElementWrapperList
- NumberLimits - Class in de.marhali.json5.internal
-
This class enforces limits on numbers parsed from Json5 to avoid potential performance problems when extremely large numbers are used.
O
- options - Variable in class de.marhali.json5.stream.Json5Lexer
P
- parse(Json5Lexer) - Static method in class de.marhali.json5.stream.Json5Parser
-
Parses the specified
lexerinto a parse tree ofJson5Element's. - parse(InputStream) - Method in class de.marhali.json5.Json5
-
Parses the data from the
InputStreaminto a tree ofJson5Element's. - parse(Reader) - Method in class de.marhali.json5.Json5
-
Parses the provided read-stream into a tree of
Json5Element's. - parse(String) - Method in class de.marhali.json5.Json5
-
Parses the provided json5-encoded
Stringinto a parse tree ofJson5Element's. - parseArray(Json5Lexer) - Static method in class de.marhali.json5.stream.Json5Parser
-
Parses the specified
lexerinto a parse tree of anJson5Array. - parseBigDecimal(String) - Static method in class de.marhali.json5.internal.NumberLimits
- parseBigInteger(String) - Static method in class de.marhali.json5.internal.NumberLimits
- parseComments() - Method in class de.marhali.json5.config.Json5Options.Builder
- parseObject(Json5Lexer) - Static method in class de.marhali.json5.stream.Json5Parser
-
Parses the specified
lexerinto a parse tree of anJson5Object. - prettyPrinting() - Method in class de.marhali.json5.config.Json5Options.Builder
-
Configures pretty printing using 2 whitespaces for serialization (writing).
- put(K, V) - Method in class de.marhali.json5.internal.LinkedTreeMap
Q
- quote(String) - Method in class de.marhali.json5.stream.Json5Writer
- quoteKey(String) - Method in class de.marhali.json5.stream.Json5Writer
- quoteless() - Method in class de.marhali.json5.config.Json5Options.Builder
- quoteSingle() - Method in class de.marhali.json5.config.Json5Options.Builder
R
- RadixNumber - Class in de.marhali.json5.internal
-
Simple wrapper around
Numberthat tracks the used radix base. - RadixNumber(Number, int) - Constructor for class de.marhali.json5.internal.RadixNumber
- remove(int) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- remove(int) - Method in class de.marhali.json5.Json5Array
-
Removes the element at the specified position in this array.
- remove(Json5Element) - Method in class de.marhali.json5.Json5Array
-
Removes the first occurrence of the specified element from this array, if it is present.
- remove(Object) - Method in class de.marhali.json5.internal.LinkedTreeMap
- remove(Object) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- remove(String) - Method in class de.marhali.json5.Json5Object
-
Removes the
propertyfrom this object. - removeAll(Collection<?>) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- retainAll(Collection<?>) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- root - Variable in class de.marhali.json5.stream.Json5Lexer
-
whether we're currently parsing the root object/array
S
- serialize(Json5Element) - Method in class de.marhali.json5.Json5
-
Encodes the provided element into its character literal representation.
- serialize(Json5Element, OutputStream) - Method in class de.marhali.json5.Json5
-
Encodes the provided element into its character literal representation by using an output-stream.
- serialize(Json5Element, Writer) - Method in class de.marhali.json5.Json5
-
Encodes the provided element into its character literal representation by using a write-stream.
- set(int, Json5Element) - Method in class de.marhali.json5.Json5Array
-
Replaces the element at the specified position in this array with the specified element.
- set(int, E) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- setComment(String) - Method in class de.marhali.json5.Json5Element
-
Updates the associated comment on this element.
- size() - Method in class de.marhali.json5.internal.LinkedTreeMap
- size() - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- size() - Method in class de.marhali.json5.Json5Array
-
Returns the number of elements in the array.
- size() - Method in class de.marhali.json5.Json5Object
-
Returns the number of key/value pairs in the object.
- stringifyAscii() - Method in class de.marhali.json5.config.Json5Options.Builder
- stringifyUnixInstants() - Method in class de.marhali.json5.config.Json5Options.Builder
- syntaxError(String) - Method in class de.marhali.json5.stream.Json5Lexer
-
Constructs a new
Json5Exceptionwith a detail message - syntaxError(String, Throwable) - Method in class de.marhali.json5.stream.Json5Lexer
-
Constructs a new
Json5Exceptionwith a detail message and a causing exception
T
- toArray() - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- toArray(T[]) - Method in class de.marhali.json5.internal.NonNullElementWrapperList
- toString() - Method in class de.marhali.json5.internal.LazilyParsedNumber
- toString() - Method in class de.marhali.json5.internal.RadixNumber
- toString() - Method in class de.marhali.json5.Json5Element
-
Converts this element to a Json5 string.
- toString() - Method in class de.marhali.json5.stream.Json5Lexer
- toString(Json5Options) - Method in class de.marhali.json5.Json5Element
-
Converts this element to a Json5 string using the provided configuration options for formatting.
- trailingComma() - Method in class de.marhali.json5.config.Json5Options.Builder
U
- UNIQUE - de.marhali.json5.config.DuplicateKeyStrategy
-
Throws an
exceptionwhen a key is encountered multiple times within the same object
V
- valueOf(String) - Static method in enum de.marhali.json5.config.DigitSeparatorStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.marhali.json5.config.DuplicateKeyStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum de.marhali.json5.config.DigitSeparatorStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.marhali.json5.config.DuplicateKeyStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- write(Json5Element) - Method in class de.marhali.json5.stream.Json5Writer
-
Encodes and writes the provided
Json5Elementinto json5 according to the specification and the configured options. - write(Json5Element, int) - Method in class de.marhali.json5.stream.Json5Writer
-
Encodes and writes the provided
Json5Elementinto json5 according to the specification and the configured options. - writeArray(Json5Array, int) - Method in class de.marhali.json5.stream.Json5Writer
-
Writes the provided
Json5Arrayto the stream. - writeComment(Json5Element, int) - Method in class de.marhali.json5.stream.Json5Writer
-
Writes any associated comments for the provided
Json5Element. - writeComments() - Method in class de.marhali.json5.config.Json5Options.Builder
- writeNull() - Method in class de.marhali.json5.stream.Json5Writer
-
Writes the equivalent of a
Json5Null(null) value. - writeObject(Json5Object, int) - Method in class de.marhali.json5.stream.Json5Writer
-
Writes the provided
Json5Objectto the stream. - writePrimitive(Json5Primitive) - Method in class de.marhali.json5.stream.Json5Writer
-
Writes the provided primitive to the stream and encodes it if necessary.
All Classes All Packages