See: Description
Interface | Description |
---|---|
Json<T extends Json<T>> |
Represents an immutable and persistent JSON of type T, where T is either a JsObj or a JsArray.
|
JsValue |
Represents a JSON element of any type.
|
Position |
Represents the location of a first-level element in a JSON, either a Key in a JsObj or an Index in
a JsArray.
|
Class | Description |
---|---|
Index |
Represents the index of a value in a JSON array.
|
JsArray |
Represents a JSON array in a persistent data structure.
|
JsBigDec |
Represents an immutable JSON number of type BigDecimal.
|
JsBigInt |
Represents an immutable JSON number of type BigInteger.
|
JsBinary |
Represents an array of bytes in a JSON-like data structure.
|
JsBool |
Represents an immutable JSON boolean.
|
JsDouble |
Represents an immutable JSON number of type double.
|
JsInstant |
Represents an immutable instant.
|
JsInt |
Represents an immutable JSON number of type integer.
|
JsLong |
Represents an immutable JSON number of type long.
|
JsNothing |
It's a special JSON element that represents 'nothing'.
|
JsNull |
Represents null.
|
JsNumber |
Represents an abstract class for JSON number values.
|
JsObj |
Represents a JSON object in a lightweight, immutable, and functional manner.
|
JsObjPair |
Represents any element in a JSON object which can be modeled with a key and the associated element.
|
JsOptics |
Contains the optics defined for JSON objects and arrays
|
JsOptics.JsArrayLenses |
Contains all the lenses defined for a Json array
|
JsOptics.JsArrayOptics |
Contains all the optics defined for a Json array
|
JsOptics.JsArrayOptionals |
Contains all the optionals defined for a Json array
|
JsOptics.JsObjLenses |
Represents all the lenses defined for a Json object
|
JsOptics.JsObjOptics |
Contains all the optics defined for a Json object
|
JsOptics.JsObjOptional |
Contains all the optionals defined for a Json object
|
JsPair |
Represents any element in a JSON which can be modeled with a path location the associated element.
|
JsPath |
Represents the full path location of an element in a JSON.
|
JsPrimitive |
Represents an abstract class for primitive JSON values.
|
JsStr |
Represents an immutable JSON string.
|
Key |
Represents the key of a value in a JSON object.
|
Enum | Description |
---|---|
JsArray.TYPE |
Enumeration representing different types of arrays: SET, LIST, or MULTISET.
|
Exception | Description |
---|---|
JsParserException |
Represent an exception that is thrown while parsing an array of bytes or string into a JSON.
|
JsSerializerException |
Represent an exception that is thrown while serializing a JSON into an array of bytes.
|
UserError |
Exception that models a programming error made by the user.
|
JSON Data Types:
- JsValue
: An interface representing a JSON value, which can be one of the following types: object, array, primitive, null, or nothing. It serves as the root interface for all JSON data types.
- JsObj
: A class representing a JSON object (also known as a map or dictionary). It maps string keys to JSON values.
- JsArray
: A class representing a JSON array, which is an ordered collection of JSON values.
- JsPrimitive
: An interface representing a JSON primitive value, which can be one of the following types: string, number, boolean, or null. It extends `JsValue`.
- JsStr
: A class representing a JSON string value. It extends `JsPrimitive`.
- JsInt
: A class representing a JSON integer value. It extends `JsPrimitive`.
- JsLong
: A class representing a JSON long (64-bit integer) value. It extends `JsPrimitive`.
- JsBigInt
: A class representing a JSON big integer value. It extends `JsPrimitive`.
- JsDouble
: A class representing a JSON double-precision floating-point number value. It extends `JsPrimitive`.
- JsBigDec
: A class representing a JSON big decimal value. It extends `JsPrimitive`.
- JsBool
: A class representing a JSON boolean value. It extends `JsPrimitive`.
- JsNull
: A class representing a JSON null value. It extends `JsPrimitive`.
- JsNothing
: A class representing a special JSON value called "nothing," which represents a non-existing or undefined value. It extends `JsPrimitive`.
JSON Manipulation and Creation:
The classes and interfaces in this package allow you to create, manipulate, and traverse JSON data structures. You can build JSON objects, arrays, and primitives, perform operations on them, and serialize/deserialize them as needed.
The classes and interfaces in the `jsonvalues` package provide a powerful and flexible way to work with JSON data, making it easier to handle JSON-related tasks in your applications.
Copyright © 2023. All rights reserved.