Stay organized with collections
Save and categorize content based on your preferences.
You can configure the Mainframe Connector transcoder's JSON formatting by adding the required configuration in a JSON file,
and specifying this file using the --input-parameter json-dialect=DataPath
option with the qsam encode
or qsam decode commands.
You must define the JSON configuration as specified in section JsonConfiguration.
This page describes the various JSON parameters you can configure as input parameters for transcoding.
The JsonConfiguration object contains all JSON encoder and decoder configuration options.
JsonConfiguration
The JsonConfiguration object lets you configure the JSON decoder and encoder configuration.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# JSON configuration\n\nYou can configure the Mainframe Connector transcoder's JSON formatting by adding the required configuration in a JSON file,\nand specifying this file using the `--input-parameter json-dialect`=[DataPath](/mainframe-connector/docs/api-command-reference#datapath)\noption with the [`qsam encode`](/mainframe-connector/docs/api-command-reference#qsam_encode)\nor [`qsam decode`](/mainframe-connector/docs/api-command-reference#qsam_decode) commands.\nYou must define the JSON configuration as specified in section [JsonConfiguration](/mainframe-connector/docs/json-configuration#jsonconfiguration).\n\nThis page describes the various JSON parameters you can configure as input parameters for transcoding.\nThe `JsonConfiguration` object contains all JSON encoder and decoder configuration options.\n\n### JsonConfiguration\n\nThe `JsonConfiguration` object lets you configure the JSON decoder and encoder configuration."]]