I am currently in investigation why JSON.stringify() does not properly parse my object. This is my object I am trying to parse into a JSON string:
var data = [{
name: string,
active: bool,
data: [
value: number,
date: string
]
}]
However when calling JSON.stringify() on my object, I get a result similar to this:
/* JSON.stringify(data) */
[{
name: string,
active: bool,
data: [
[Object],
[Object],
...
]
}]
Is there a nuance to JSON.stringify that causes this to happen? I'd be happy to add more details to my question if it helps clarify any more details.