Importing/Creating JSON Definitions - 6.3

Talend Data Mapper User Guide

Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Design and Development
Talend Studio

Since JSON does not have a standard means of specifying a schema (like XML Schema), the usual way of automatically creating the JSON structure is to import a sample JSON document. It is important that this sample document have all of the possible objects and non-object values that can occur in any JSON instance documents. If this is not the case, then it's possible to get runtime errors when processing the JSON instance documents since required elements will not be present in the structure.

It is possible to manually create a JSON structure or manually modify the imported JSON structure to add the missing elements, so long as you follow the conventions in this section.