I am struggling to create a JSON object to send over the wire. The Array in question looks like this in the Chrome debugger.
event: Array[0]
$$hashKey: "02Q"
bolFromDB: 1
bolIndoor: null
classId: 41
curValue: "7.1000"
curWeightHeight: ""
datDate: "2013-01-13T01:00:00.000Z"
exists: true
id: "10"
idClass: "W"
idEvent: "60M"
length: 0
ownEvents: true
ownSex: true
pbs: undefined
selected: true
strAdditional: ""
strName: "60m"
strTown: "Stadtallendorf"
__proto__: Array[0]
This is a small part of a much bigger object array, but in trying to break the problem down to it's smallest part, this appears to be the end of the line.
When calling JSON.stringify(event), the value returned is [].
I expected {$$hashKey: "02Q",bolFromDB: 1, bolIndoor: null, ... etc }
eventis created