High-level language and JSON schema mapping

Use the CICS® JSON assistant to generate mappings between high-level language structures and JSON schemas. The CICS JSON assistant also generates JSON schemas from high-level language data structures, or vice versa.

Utility programs DFHJS2LS and DFHLS2JS are collectively known as the CICS JSON assistant.

  • DFHLS2JS maps high-level language structures to JSON schemas.
  • DFHJS2LS maps JSON schemas to high-level language structures.
The two mappings are not symmetrical:
  • If you process a language data structure with DFHLS2JS, and then process the resulting JSON schema with the DFHJS2LS, do not expect the final data structure to be the same as the original.
  • If you process a JSON schema with DFHJS2LS, and then process the resulting language structure with the DFHLS2JS, do not expect the final JSON schema to be the same as the original.
  • In some cases, DFHJS2LS generates language structures that are not supported by DFHLS2JS.

You must code high-level language structures that are processed by DFHLS2JS according to the rules of the language, as implemented in the language compilers that CICS supports.