[ardoJSON] Bug:  does not check if json input is the same structure as the recordlist.

[ardoJSON] Bug:  does not check if json input is the same structure as the recordlist.

  
Forge Component
(21)
Published on 30 Aug by Ricardo Silva
21 votes
Published on 30 Aug by Ricardo Silva
JSON2RecordList - does not check if json input is the same structure as the recordlist.
What do you mean?

If the structure of the objects in the JSON matches the structure of the record (has the same attributes with compatible types), it'll work. If not, nothing gets filled.

This is done to accomodate changes in the input, so that your integrations don't simply break if an extra attribute is added or deleted in the incoming JSON.

Notice the usecase presented by Alexandre Costa here. In his case ardoJSON could NOT have strict checking of the structure in the JSON, since the input may be incomplete.