jsonut library

A minimal utility kit for working with JSON in a type-safe manner.

Classes

ToJson
A marker interface for all classes that can be converted to JSON.

Extension Types

JsonAny
A zero-cost wrapper around any JSON value including null.
JsonArray
A zero-cost wrapper around a JSON array.
JsonBoolean
A zero-cost wrapper around a JSON boolean.
JsonNumber
A zero-cost wrapper around a JSON number.
JsonObject
A zero-cost wrapper around a JSON object.
JsonString
A zero-cost wrapper around a JSON string.
JsonValue
A zero-cost wrapper around any JSON value including null.

Extensions

JsonIterable on Iterable<E>
Provides helper methods to work with Iterables of JsonValue.