-
Notifications
You must be signed in to change notification settings - Fork 259
Open
Description
PR #292 included in JSONata 1.6.4 started polluting data returned to consumers with a 'sequence' property attached onto an array.
I don't think this internal property should be externalised to consumers; especially in a way that means it can't be serialised losslessly into a string.
The sequence property here is added by JSONata, not from the data we are working with, and it cannot be serialised correctly into JSON (Nor can the equivalent JSON string be parsed into javascript)
{
"foo": {
"bar": [
{
"name": "freddy",
"price": 6
},
{
"name": "jsonata",
"price": 1000000
},
sequence: true
]
}
}
Represents the returned data structure, except it's not valid JSON.
markmelville, agarwalamit662, kolban-google, sban2009, cunneen and 4 morelayanto
Metadata
Metadata
Assignees
Labels
No labels
