4.72. kink/json/JSON_VAL¶
Converts a JSON str to Kink data, and vice versa.
4.72.1. JSON_VAL.null¶
JSON_VAL.null returns null, which corresponds to “null” JSON literal.
4.72.2. JSON_VAL.null?(Val)¶
JSON_VAL.null? returns whether Val is a json_null.
4.72.3. JSON_VAL.is?(Val)¶
JSON_VAL.is? returns whether Val is a JSON value.
4.72.4. JSON_VAL.eq?(X Y)¶
JSON_VAL.eq? returns whether X and Y are equal json_vals.
Preconditions:
• X must be a json_val.
• Y must be a json_val.