Transforming JSON to application data by using the TRANSFORM JSONTODATA API command
You can use the TRANSFORM JSONTODATA API command in your application to transform JSON to application data.
Before you begin
You must have an enabled JSONTRANSFRM resource that defines the JSON binding and JSON schema.
About this task
The application must use a channel-based interface.
Procedure
Results
When the application runs the TRANSFORM JSONTODATA command, CICS® checks the JSONTRANSFRM bundle resource to find the mappings in the JSON binding and transforms the JSON to the application binary data by using the containers on the channel. On return, the converted data is placed in the container that is specified in the OUTCONTAINER option of the TRANSFORM JSONTODATA command. If the option is omitted, DFHJSON-DATA is used by default.