Forum Discussion
jmousavi
5 years agoNew Contributor
I am able to parse it, however it puts the keys in quotes and still doesn’t put any new lines in the file.
After running JSON.parse in the mapper, the output looks like this:
{
“object” : {
“source_1” : “website”,
“source_2”: “website”
}
}
After JSON formatter and file writer, the saved file looks like this:
{“object” : {“source_1” : “website”, “source_2”: “website” } }
- cstewart5 years agoFormer Employee
Try checking the “Pretty Print” checkbox in the JSON Formatter. This should put the \n characters in.
Related Content
- 3 years ago
- 4 years ago