I am using kendo UI, but i think this is a general question.
Basically I am logging a object the result looks like this,
Then I JSON.stringify(obj), i get the output like this
{"ProductID":5,"ProductName":"Cream","UnitPrice":12,"Discontinued":false,"UnitsInStock":15,"Priority":5}
Question , can someone illustrate why the parameters "dirty",'uid' does not get stringified ? It would be great if you could actually post some example creating such objects.
FYI: my actual object is like the output of stringify which is passed to a Kendo Grid and i get the dirty object from one of the kendo Grid methods (basically gives the set of rows thats been edited in the grid)
What is think its something to do with the object.prototype. Maybe the parent properties does not get stringified ...