File: fixtures.mli

package info (click to toggle)
yojson 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,216 kB
  • sloc: ml: 3,890; makefile: 28
file content (16 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(** Shared test fixtures *)

val json_value : Yojson.Safe.t
(** A json value to use for testing *)

val json_string : string
(** A JSON string that must parse to [json_value] *)

val json_string_crlf : string
(** A JSON string separated by [\r\n] that must parse to [json_value] *)

val json_string_newline : string
(** The same JSON string terminated with a newline *)

val unquoted_json : string
val unquoted_value : Yojson.Safe.t