3.66. kink/json/JSON_VAL¶
Converts a JSON str to Kink data, and vice versa.
3.66.1. JSON_VAL.null¶
JSON_VAL.null returns null, which corresponds to “null” JSON literal.
3.66.2. JSON_VAL.null?(Val)¶
JSON_VAL.null? returns whether Val is a json_null.
3.66.3. JSON_VAL.is?(Val)¶
JSON_VAL.is? returns whether Val is a JSON value.
3.66.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.