Watson Supply Chain Ideas

Submit new product ideas for Watson Supply Chain solutions. Before you submit, please review existing ideas; if an idea close to yours already exists, it's better to add comments or vote on the existing idea. We will review your ideas and use them to help prioritize our product development. Best of all, the portal will automatically update you when the status of your idea has been changed.

Connect with users and IBM experts on the B2B Collaboration Community

Submit ideas for other Watson Customer Engagement Products:

Watson Marketing
Watson Campaign Automation
Watson Commerce

Using Valid JSON Schema as the Type tree in the Output Layout ,Array Element/Values are getting generated without closing square brackets

  In JSON Output, Array Element/Values are generated without square brackets

When we use the Valid JSON Schema as the Type tree in the Output Layout ,
ITX reading the JSON Schema successfully, but the Array Elements/Values are getting generated without closing square brackets at the end, Hence it will become Invalid JSON Output to the Customer.
Example : In ITX Generated Output there is no closing square bracket "]" at the end of the array Element 

                                        "track_no" : ["3", "4"

{
"sample" : {
"ID_" : "1",
"TOK_" : "2",
"track_no" : ["3", "4"
}
}

How It is expected to work and populate Output

We expect By Default when the JSON Output is generated, Array Elements need to be populated as per the Valid

JSON Schema read Initially by the ITX Map Type Tree like below.

                                        "track_no" : ["3", "4"]

{
"sample" : {
"ID_" : "1",
"TOK_" : "2",
"track_no" : ["3", "4"]
}
}
  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jun 9 2018
  • Is a defect
How will this idea be used?

1) If we implement this Idea, Our ITX JSON Schema Output will become valid JSON.

    Due to missing of closing bracket in Array Element, JSON output are getting errored out.

2) Currently we have the ITX Type Tree to read the JSON Schema, as a valid Type Tree in the ITX Extender, but the Output                are getting generated without Array Closing Tags.

 

We expect By Default when the JSON Output is generated, Array Elements need to be populated as per the Valid

JSON Schema which has been read Initially by the ITX Map Type Tree creation like below.

                                        "track_no" : ["3", "4"]

{
"sample" : {
"ID_" : "1",
"TOK_" : "2",
"track_no" : ["3", "4"]
}
}

Note:

Currently JSON Output are getting Errored Out as Invalid JSON File due to Missing of Array closing tag "]".

If this fix is in place, we will be able to provide Valid JSON Output with Valid JSON Indentation as expected by the Customer JSON Schema. 

What is your industry? Other
What is the idea priority? High
DeveloperWorks ID
RTC ID
Link to original RFE
  • Attach files