krupalibshah
8 years agoContributor
Issue in parsing the date format using JSON parser
I have a simple pipeline as below,
The file contents are,
{
"Time": {
"_snaptype_localdatetime": "2017-12-12T10:51:12.013"
},
"BP_number": 2
}
When I use json parser and convert the time to string I get below output,
When using binary to document I get the correct output,
What is the JSON parser doing differently so as date is not getting converted to string?