JsonObjectBuilder

An extremely simple JSON builder.

While this class is neither feature-rich nor the most performant one, it's sufficient enough for its use-case.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
open class JsonObject
A super simple representation of a JSON object.

Functions

Link copied to clipboard
Appends an object to the JSON.
Appends an object array to the JSON.
Appends an integer field to the JSON.
Appends an integer array to the JSON.
Appends a string field to the JSON.
Appends a string array to the JSON.
Link copied to clipboard
Appends a null field to the JSON.
Link copied to clipboard
Builds the JSON string and invalidates this builder.