Module Expert.Or_raw

type ('number, 't) t = [< `Raw_json_string of string | `Null | `False | `True | `String of string | `Number of 'number | `Object of (string * 't) list | `Array of 't list ] as 't

Or_raw.t is a JSON object that can contain raw, unquoted JSON. This can be used to, for instance, incorporate already-serialized JSON into new JSON objects without parsing them first. But there's no guarantee that an Or_raw.t represents valid JSON. The type is specified such that every t is also a valid Or_raw.t.