Watson Supply Chain Ideas

Use this form to submit an idea for a new product feature. The product team will review your input and provide status updates as decisions are made regarding the request.

Before you submit a new idea, please view requests that have already been submitted. If your idea has already been submitted, you can add comments or vote on the existing idea, thereby indicating your agreement with the idea. We may use this information to help prioritize development of new features.

 

Submit ideas for Watson Marketing and Watson Commerce products

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