mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
forgot the case for strings
This commit is contained in:
parent
5ddff35b8d
commit
dd434c9ef7
1 changed files with 1 additions and 0 deletions
1
json.ml
1
json.ml
|
|
@ -66,6 +66,7 @@ let parse chars =
|
|||
| Some (Genlex.Kwd "true") -> junk tokens; Bool true
|
||||
| Some (Genlex.Kwd "false") -> junk tokens; Bool false
|
||||
| Some (Genlex.Kwd "null") -> junk tokens; Null
|
||||
| Some (Genlex.String s) -> junk tokens; String s
|
||||
| _ -> raise (Stream.Error "expected JSON value")
|
||||
and read_list acc =
|
||||
match peek tokens with
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue