Uses of Interface
jsonvalues.Json
Packages that use Json
Package
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.
The `jsonvalues.spec` package provides classes and interfaces for defining and working with JSON specifications
(specs) and parsers.
-
Uses of Json in jsonvalues
Classes in jsonvalues with type parameters of type JsonModifier and TypeInterfaceDescriptioninterface
Represents an immutable and persistent JSON of type T, where T is either a JsObj or a JsArray.Classes in jsonvalues that implement JsonModifier and TypeClassDescriptionfinal class
Represents a JSON array in a persistent data structure.final class
Represents a JSON object in a lightweight, immutable, and functional manner.Methods in jsonvalues that return JsonModifier and TypeMethodDescriptiondefault Json
<?> JsValue.toJson()
Returns this JsValue as a Json.Method parameters in jsonvalues with type arguments of type Json -
Uses of Json in jsonvalues.spec
Methods in jsonvalues.spec with parameters of type JsonModifier and TypeMethodDescriptionbyte[]
Serializes the specified JSON into an array of bytesvoid
JsIO.serialize
(Json<?> json, OutputStream stream) Serializes the specified JSON into the given output streamJsIO.toPrettyString
(Json<?> json, int indentLength) Serializes a JSON into a formatted string