package wcs-lib

  1. Overview
  2. Docs

Conversion of Wcs data structures to JSON.

workspace_response
val json_of_workspace_response : Wcs_t.workspace_response -> Wcs_t.json
val pretty_workspace_response : Wcs_t.workspace_response -> string
pagination_response
val json_of_pagination_response : Wcs_t.pagination_response -> Wcs_t.json
val pretty_pagination_response : Wcs_t.pagination_response -> string
list_workspaces_request
val json_of_list_workspaces_request : Wcs_t.list_workspaces_request -> Wcs_t.json
val pretty_list_workspaces_request : Wcs_t.list_workspaces_request -> string
list_workspaces_response
val json_of_list_workspaces_response : Wcs_t.list_workspaces_response -> Wcs_t.json
val pretty_list_workspaces_response : Wcs_t.list_workspaces_response -> string
intent_example
val json_of_intent_example : Wcs_t.intent_example -> Wcs_t.json
val pretty_intent_example : Wcs_t.intent_example -> string
intent_def
val json_of_intent_def : Wcs_t.intent_def -> Wcs_t.json
val pretty_intent_def : Wcs_t.intent_def -> string
entity_value
val json_of_entity_value : Wcs_t.entity_value -> Wcs_t.json
val pretty_entity_value : Wcs_t.entity_value -> string
entity_def
val json_of_entity_def : Wcs_t.entity_def -> Wcs_t.json
val pretty_entity_def : Wcs_t.entity_def -> string
next_step
val json_of_next_step : Wcs_t.next_step -> Wcs_t.json
val pretty_next_step : Wcs_t.next_step -> string
output_def
val json_of_output_def : Wcs_t.output_def -> Wcs_t.json
val pretty_output_def : Wcs_t.output_def -> string
dialog_node
val json_of_dialog_node : Wcs_t.dialog_node -> Wcs_t.json
val pretty_dialog_node : Wcs_t.dialog_node -> string
workspace
val json_of_workspace : Wcs_t.workspace -> Wcs_t.json
val pretty_workspace : Wcs_t.workspace -> string
input
val json_of_input : Wcs_t.input -> Wcs_t.json
val pretty_input : Wcs_t.input -> string
entity
val json_of_entity : Wcs_t.entity -> Wcs_t.json
val pretty_entity : Wcs_t.entity -> string
output
val json_of_output : Wcs_t.output -> Wcs_t.json
val pretty_output : Wcs_t.output -> string
message_request
val json_of_message_request : Wcs_t.message_request -> Wcs_t.json
val pretty_message_request : Wcs_t.message_request -> string
message_response
val json_of_message_response : Wcs_t.message_response -> Wcs_t.json
val pretty_message_response : Wcs_t.message_response -> string
create_response
val json_of_create_response : Wcs_t.create_response -> Wcs_t.json
val pretty_create_response : Wcs_t.create_response -> string
get_workspace_request
val json_of_get_workspace_request : Wcs_t.get_workspace_request -> Wcs_t.json
val pretty_get_workspace_request : Wcs_t.get_workspace_request -> string
log_entry
val json_of_log_entry : Wcs_t.log_entry -> Wcs_t.json
val pretty_log_entry : Wcs_t.log_entry -> string
logs_request
val json_of_logs_request : Wcs_t.logs_request -> Wcs_t.json
val pretty_logs_request : Wcs_t.logs_request -> string
logs_response
val json_of_logs_response : Wcs_t.logs_response -> Wcs_t.json
val pretty_logs_response : Wcs_t.logs_response -> string