3.67. kink/json/JSON_VAL

Converts a JSON str to Kink data, and vice versa.

3.67.1. JSON_VAL.null

JSON_VAL.null returns null, which corresponds to “null” JSON literal.

3.67.2. JSON_VAL.null?(Val)

JSON_VAL.null? returns whether Val is a json_null.

3.67.3. JSON_VAL.is?(Val)

JSON_VAL.is? returns whether Val is a JSON value.

3.67.4. JSON_VAL.eq?(X Y)

JSON_VAL.eq? returns whether X and Y are equal json_vals.


• X must be a json_val.

• Y must be a json_val.