JSON Message
This message is based on JSON-RPC protocol. JSON is lightweight human readable data-interchange format.
Call Example
HTTP POST body:
{"id":"{005c29ce-2289-4e04-955e-72349dac8166}",
"method":"MegaDemoService.Sum",
"params":{"A":"3","B":"5"}}
Response body:
{"version":"1.1","result":{"Result":"8"}}
Use Cases
At client side you will generally use JSONMessage to communicate with existing JSON-RPC services. At server side this message type is used to enable access for web clients based on Remoting SDK for JavaScript.
Components
- JsonMessage (.NET)
- TROJSONMessage (Delphi)
- JSONMessage (JavaScript)