/usr/local/lib/swipl/library/ext/http/http/http_json.pl
All Application Manual Name SummaryHelp

  • http
    • http
      • http_unix_daemon.pl -- Run SWI-Prolog HTTP server as a Unix system daemon
      • thread_httpd.pl
      • http_wrapper.pl
      • http_header.pl -- Handling HTTP headers
      • http_stream.pl
      • http_exception.pl -- Map Prolog exceptions to HTTP errors
      • http_path.pl
      • http_dispatch.pl
      • http_host.pl
      • http_json.pl -- HTTP JSON Plugin module
        • http_convert_data/4
        • post_data_hook/3
        • is_json_content_type/1
        • json_type/1
        • http_read_json/2
        • http_read_json/3
        • http_read_json_dict/2
        • http_read_json_dict/3
        • reply_json/1
        • reply_json/2
        • reply_json_dict/1
        • reply_json_dict/2
      • http_client.pl
      • json.pl
      • http_open.pl
      • http_parameters.pl
      • http_multipart_plugin.pl -- Multipart form-data plugin
      • http_hook.pl
      • html_write.pl
      • html_quasiquotations.pl -- HTML quasi quotations
      • html_decl.pl -- HTML emitter analysis and IDE support
      • js_write.pl
      • js_grammar.pl -- JavaScript grammar
      • http_server_files.pl
      • hub.pl -- Manage a hub for websockets
      • websocket.pl
      • http_session.pl -- HTTP Session management
      • http_cors.pl -- Enable CORS: Cross-Origin Resource Sharing
      • mimetype.pl
      • html_head.pl
      • term_html.pl
      • http_dyn_workers.pl
      • http_log.pl
      • mimepack.pl -- Create a MIME message
      • json_convert.pl -- Convert between JSON terms and Prolog application terms
 reply_json_dict(+JSONTerm) is det
 reply_json_dict(+JSONTerm, +Options) is det
As reply_json/1 and reply_json/2, but assumes the new dict based data representation. Note that this is the default if the outer object is a dict. This predicate is needed to serialize a list of objects correctly and provides consistency with http_read_json_dict/2 and friends.