The JSON and HTTP protocol
The payload format for invoking web services were once monopolized by the XML format. The SOAP-based services mostly support the XML format. With the advent of REST-based services, developers use JavaScript Object Notation (JSON) as the payload format.
The following table shows a comparison between XML and corresponding JSON object:
XML | JSON |
|