Appendix B: JSON input file

The following JSON structure is used with the JSON PARSE statement in Tutorial: Generating JSON output.

{"COBOL-STRUCTURE":{"firstName":"Justin","lastName":"Case","age":24,"postalAddress":{"street":"221B Baker Street","town":"Westminster","county":"London"},"phoneNumber":[{"typ":"Work","num":972301212},{"typ":"Home","num":972243688}],"reference":"NS9999","children":{"child":[]},"pets":["Cat","Dog","Canary"],"salary":"€40,000"}}