:- use_module(library(http/json)).
[semidet,multifile]json_write_hook(+Term,
+Stream, +State, +Options)Note that this hook is shared by all users of this library. It is generally advised to map a unique compound term to avoid interference with normal output.
| State | and Options are opaque handles to the current output state and settings. Future versions may provide documented access to these terms. Currently it is advised to ignore these arguments. |