| Did you know ... | Search Documentation: |
| Predicate http_read_json/3 |
:- use_module(library(http/http_json)).
[det]http_read_json(+Request,
-JSON)term (default) to generate a classical Prolog term
or dict to exploit the SWI-Prolog version 7 data type
extensions. See json_read_dict/3.domain_error(mimetype, Found) if the mimetype is not
known (see json_type/1). domain_error(method, Method) if the request method is not
a POST, PUT or PATCH.