Construct a JSON value that is an array.
Construct a JSON value that is an array from a list of elements (var args).
Construct a JSON value that is a boolean.
A JSON value that is an empty array.
A JSON value that is an empty object.
A JSON value that is an empty string.
Construct a JSON boolean value of false
.
Construct a JSON value that is null
.
Construct a JSON value that is a number.
Construct a JSON value that is a number.
Construct a JSON value that is a number.
Construct a JSON value that is a number.
Note: NaN, +Infinity and -Infinity are not valid json.
Construct a JSON value that is a number.
Construct a JSON value that is a number.
Construct a JSON value that is a number.
Construct a JSON value that is a number.
Construct a JSON value that is a number. Transforming the Strings "NaN", "Infinity", "+Infinity" and "-Infinity" to jNull. This matches the behaviour of most browsers, but is a lossy operation as you can no longer distinguish between NaN and Infinity.
Construct a JSON value that is a number.
Construct a JSON value that is a number. Transforming NaN, +Infinity and -Infinity to jNull. This matches the behaviour of most browsers, but is a lossy operation as you can no longer distinguish between NaN and Infinity.
Construct a JSON value that is a number.
Construct a JSON value that is a number. Transforming the Strings "NaN", "Infinity", "+Infinity" and "-Infinity" to their string implementations.
This is an argonaut specific transformation that allows all
doubles to be encoded without losing information, but aware
interoperability is unlikely without custom handling of
these values. See also jNumber
and jNumberOrNull
.
Construct a JSON value that is a number.
Construct a JSON value that is a number. Transforming NaN, +Infinity and -Infinity to their string implementations.
This is an argonaut specific transformation that allows all
doubles to be encoded without losing information, but aware
interoperability is unlikely without custom handling of
these values. See also jNumber
and jNumberOrNull
.
Construct a JSON value that is an object.
Construct a JSON value that is an object from an association list.
Construct a JSON value that is an object from an association list (var args).
Returns a function that takes a single value and produces a JSON array that contains only that value.
Returns a function that takes an association value and produces a JSON object that contains only that value.
Construct a JSON value that is a string.
Construct a JSON boolean value of true
.
A JSON value that is a zero number.
Constructors and other utilities for JSON values.