High-level languages and JSON schema mapping
A mapping is the set of rules that specifies how information is converted between high-level language structures and JSON schemas. The z/OS® Connect API toolkit provides the user interface for specifying and customizing the input and output data format.
zosConnect-2.0 Applies to zosConnect-2.0.
When you create or edit a service, you can specify that a field is included or excluded, and specify a default value. You can also specify whether to escape special, non-printable characters or suppress low values or empty tags in the JSON response messages.
Note: If a JSON property is passed with the value
"" (the empty string), then the
underlying field is initialized to 0x40s (spaces). If a JSON property is not passed, the underlying
field is not initialized and remains as 0x00s (null). Passing an empty string is not semantically
the same as omitting a property. The flowchart in Figure 1 shows how values are assigned to input fields for a request.