Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Gurus,
I am unable to extract simple JSON file by using tExtractJSONFields component and need your help. Here is my JSON file format
[
{
"TRADE_DATE": "2019-11-14T01:00:00.0000000+01:00",
"START_DATE": "2019-11-15T01:00:00.0000000+01:00",
"END_DATE": "2019-11-16T01:00:00.0000000+01:00",
"VALUE": "-0.6",
"NOTE": "NULL"
},
{
"TRADE_DATE": "2019-11-14T01:00:00.0000000+01:00",
"START_DATE": "2019-11-16T01:00:00.0000000+01:00",
"END_DATE": "2019-11-17T01:00:00.0000000+01:00",
"VALUE": "-0.4",
"NOTE": "NULL"
},
.
.
.
]
And, I have designed as follows,
tFileInputJSON_2 --> tExtractJSONFields_2 --> tMap --> CSV file
during execution, it was creating with 0 KB CSV file. I am able to read JSON data with "tFileInputJSON_2" component but after that it was extracting 0 records. Also, I have changed "Loop Json query" or "Loop Json path query" as "$[*]" but still reading 0 records.
Need your advise or suggestions.
Thanks,
Nag