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 Json
    Modifier and Type
    Interface
    Description
    interface 
    Json<T extends Json<T>>
    Represents an immutable and persistent JSON of type T, where T is either a JsObj or a JsArray.
    Classes in jsonvalues that implement Json
    Modifier and Type
    Class
    Description
    final 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 Json
    Modifier and Type
    Method
    Description
    default Json<?>
    JsValue.toJson()
    Returns this JsValue as a Json.
    Method parameters in jsonvalues with type arguments of type Json
    Modifier and Type
    Method
    Description
    default boolean
    JsValue.isJson(Predicate<Json<?>> predicate)
    Returns true if this element is a Json and satisfies the given predicate.
  • Uses of Json in jsonvalues.spec

    Methods in jsonvalues.spec with parameters of type Json
    Modifier and Type
    Method
    Description
    byte[]
    JsIO.serialize(Json<?> json)
    Serializes the specified JSON into an array of bytes
    void
    JsIO.serialize(Json<?> json, OutputStream stream)
    Serializes the specified JSON into the given output stream
    JsIO.toPrettyString(Json<?> json, int indentLength)
    Serializes a JSON into a formatted string