This commit is contained in:
John Whitington
2023-01-16 14:37:59 +08:00
parent 7a8a1267e4
commit d5c0af5ebf
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ let rec op_of_json = function
Printf.eprintf "Unable to read op from %s\n" (J.show j);
error "op reading failed"
and object_of_json = function
and object_of_json ?(utf8=false) = function
| `Null -> P.Null
| `Bool b -> P.Boolean b
| `Int n -> Pdf.Indirect n