If json.file object property doesn't have double quote, it throws error.
SyntaxError: Unexpected token d in JSON at position 3
{
data: [{
word: "zero"
},
{
word: "midnight"
}
]
}
Expected Behavior
- It should be able to put quotes around the property after it parse/format it.
If json.file object property doesn't have double quote, it throws error.
SyntaxError: Unexpected token d in JSON at position 3Expected Behavior