I have below json data. The problem is on the last field "totalChildMillis" : NumberLong(2)
. The NumberLong(2)
is not quoted. When I run JSON.parse
I got an exception about this field. Is there a way for JSON.parse
to ignore double quote? I don't want to pre-parse the string by myself so I am looking for a way to handle this automatically for me.
{
"executionStages" : {
"stage" : "SINGLE_SHARD",
"nReturned" : 10000,
"executionTimeMillis" : 3,
"totalKeysExamined" : 0,
"totalDocsExamined" : 10000,
"totalChildMillis" : NumberLong(2)
}
}