Using JSON and COBOL for RESTful Services on the …
Using JSON and COBOL for RESTful Services on the Web
Tom Ross `Captain COBOL' SHARE San Jose March 8, 2017
JSON and COBOL
? What is JSON? ? IBM products support JSON! ? Scenarios
2
What is JSON?
? JavaScript Object Notation ? JSON is the new XML
? Lighter weight ? Simpler ? More compact ? JSON serves the same purpose as XML ? Carries data for Services on the Web
? Typically RESTful services ? "Web Services" often means SOAP and XML ? RESTful services are on the Web and often use JSON
3
JSON vs XML
COBOL: 01 G.
05 h. 10 a pic x(10) Value `Eh?'. 10 3_ pic 9 Value 5. 10 C-c pic x(10) Value `See'.
JSON: {"G": {"h": {"a": "Eh?", "3_": 5, "C-c": "See"}}}
XML: Eh5See
4
What is JSON?
01 request. 05 request-type 05 client-age 05 smoker 05 quote-response. 10 quote-status 10 quote-amount
Pic X(10). Pic 9(3). Pic X.
Pic X(7). Pic 9(9).
{"request": {"request-type":"QUOTE"} ,{"client-age":58}, {"smoker":"N"}, {"quote-response":{"quote-status":"SUCCESS"}, {"quote-amount":167}}}
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- iso 20022 and json an implementation best practices
- from xml schema to json schema comparison and
- transforming json using xslt
- experiences with json and xml transformations
- parsing json with sas in 2017
- hands on json oxygen xml editor
- xmlspy xml and json editor
- using json and cobol for restful services on the
Related searches
- selling on the internet for free
- new products on the market for 2017
- games for free on the computer
- another term for on the other hand
- antonym for on the other hand
- another phrase for on the other hand
- groups and periods on the periodic table
- periods and groups on the periodic table
- formula for time using velocity and distance
- using 401k for down payment on home
- columns and groups on the periodic table
- period and groups on the periodic table