JSON
JSON report enables a user to transfer data from JSON files from Microsoft Sharepoint into a user determined data warehouse.
Data Pipelines Details
- Data Pipeline
- 
Select JSON from the dropdown 
 
- Folder Path
- 
Enter the Folder Path…eg:for root directory: "/" 
- File Name
- 
Indicate the name of the JSON file. You may indicate the exact name or a part of the name. 
Setting Parameters
Select the fields that are necessary as per the file or folder .
| Parameter | Description | Values | 
|---|---|---|
| Process All Matching Files | Optional If Yes then all the files matching the name will be processed. If No then the files modified or created within the specified period will be processed. | 
 Default Value: Yes | 
| File Selection Criteria Dependant | Required (If you do not want to process all files) Enter the criteria based on which the file will be selected | 
 Default Value: Date Created | 
| File Created/Modified Time Dependant | Required (If you do not want to process all files) Choose File’s creation or modification time from dropdown | 
 Default Value: Latest Created/Modified | 
| Attempt Schema Inference | Required If Yes then while processing it will be attempted to convert text to numbers and dates; WARNING: WILL DROP EXISTING WAREHOUSE TABLE. If No then everything will be fetched as it is irrespective of its type. | 
 Default Value: No | 
| Insert Mode | Optional Specifies the manner in which data will get updated in the data warehouse : Upsert will insert only new records or records with changes, Append will insert all fetched data at the end, Replace will drop the existing table and recreate a fresh one on each run. | 
 Default Value: Replace | 
| Key Dependant | Required (If Upsert is chosen as the Insert Mode Type) Enter the column name based on which data is to be upserted. | String value | 
| Compressed | Optional Indicate whether folder or file is compressed | 
 Default Value: No | 
| Compression Type Dependant | Required (If folder/file is compressed) Enter the Compression type | 
 Default Value: Zip | 
| Post Processing Action | Optional Indicate the actions or processes carried out after the initial processing | 
 Default Value: No Action | 
| Move File Destination Dependant | Required (If folder/file is to be moved after processing) Enter the Destination folder path | String Value | 
| Target Compression Type Dependant | Required (If folder/file is to be compressed after processing) Enter target compression type | 
 | 
| Include Source File Name | Required Set this parameter to 'YES' if you want to include source file name in the data warehouse. | 
 Default Value: No | 
| Content Structure | Required This refers to the manner in which your data in a file can be structured. In the case of Newline Delimited JSON, each line in the file represents a JSON object. On the other hand, for the Array of Objects structure, the data is wrapped within an array. | 
 Default Value: Newline Delimited JSON | 
 
 
Still have Questions?
We’ll be happy to help you with any questions you might have! Send us an email at info@datachannel.co.
Subscribe to our Newsletter for latest updates at DataChannel.