JSON with embedded expressions.
type json_spel = [ | `Assoc of (string * json_spel) list |
| `Bool of bool |
| `Float of float |
| `Int of int |
| `List of json_spel list |
| `Null |
| `Expr of Spel_t.expression |
]JSON with embedded expressions.
json/json_spel conversionAll these functions represents Spel expressions as string in the concret syntax of Spel, not the AST as JSON.
val yojson_of_json_spel : json_spel ‑> Json_t.basicval json_spel_of_yojson : Json_t.basic ‑> json_spelval write_json_spel : Json_t.bi_outbuf_t ‑> json_spel ‑> unitval read_json_spel : Json_t.lexer_state ‑> Lexing.lexbuf ‑> json_spelval to_string : json_spel ‑> string