Skip navigation links

Package jsonvalues

The `jsonvalues` package provides a set of classes and interfaces for working with JSON (JavaScript Object Notation) data in a type-safe and structured manner.

See: Description

Package jsonvalues Description

The `jsonvalues` package provides a set of classes and interfaces for working with JSON (JavaScript Object Notation) data in a type-safe and structured manner. It includes representations for various JSON data types, such as objects, arrays, primitives, and more.

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.

See Also:
JsValue, JsObj, JsArray, JsPrimitive, JsStr, JsInt, JsLong, JsBigInt, JsDouble, JsBigDec, JsBool, JsNull, JsNothing
Skip navigation links

Copyright © 2023. All rights reserved.