Scoop API

scoop:scoop.json:0.1.0

scoop.json

API

  • object Json

    JSON encoding and decoding through the ordinary [ValueEncoder] and [ValueDecoder] protocols.

  • class JsonArrayBuilder

    Collects array elements for jsonArray without exposing mutable JSON nodes.

  • class JsonObjectBuilder

    Collects object members for jsonObject, rejecting duplicates without replacing values.

  • class JsonValue

    An immutable JSON value tree. Accessors check the JSON kind without coercion, collection snapshots preserve order, and the codec preserves exact JSON number tokens.

  • enum JsonValueKind

    The six JSON value kinds; numbers preserve their source token independently of machine ranges.

  • function jsonArray

    Runs configure once and publishes an array snapshot sharing immutable child values.

  • function jsonObject

    Runs configure once and publishes an object snapshot in insertion order.