Skip to Content
C++ Reactive Programming
book

C++ Reactive Programming

by Praseed Pai, Peter Abraham
June 2018
Intermediate to advanced
348 pages
8h 45m
English
Packt Publishing
Content preview from C++ Reactive Programming

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

<person>    <firstName>John</firstName>    <lastName>Smith</lastName>    <age>25</age>    <address>      <streetAddress>21 2nd      Street</streetAddress>      <city>New York</city>      <state>NY</state>      <postalCode>10021</postalCode>    </address>    <phoneNumber>      <type>home</type>      <number>212 555-1234</number>    </phoneNumber>    <phoneNumber> ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Functional Programming in C++

Functional Programming in C++

Ivan Cukic

Publisher Resources

ISBN: 9781788629775Supplemental Content