We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01f74af commit 282ad39Copy full SHA for 282ad39
lib/js_of_ocaml/json.ml
@@ -140,7 +140,10 @@ let input_reviver =
140
141
let unsafe_input s =
142
match Sys.backend_type with
143
- | Other "wasm_of_ocaml" -> failwith "Json.unsafe_input: not implemented"
+ | Other "wasm_of_ocaml" ->
144
+ failwith
145
+ "Json.unsafe_input: not implemented (and not planned) in the Wasm backend as the \
146
+ inverse of `output` is not implementable"
147
| _ -> json##parse_ s input_reviver
148
149
class type obj = object
0 commit comments