Hello I am switching over to JSON implementation with AJAX - and need some help understanding this.
Data: There are two parts in the data, first part is a date in UTC time with milliseconds, and the second part is a value. Please suggest, if I should nest this as an array of values or dataobject.
Can someone please tell how this translates to the JSON world (this is a JSON object right?), and
- what C# object would generate this JSON object (Mapping, and formatting to milliseconds in UTC time).
- From JSONutils What is the difference between datamember, dataProperty and the None option
- To get JSON databack, in the Action, should I return type JSON or ActionResult?
On the HTML/JS side, how would I parse this out from an ActonResult or JSON
{ "943721039":4, "946706653":7, "946706350":6, "946728112":1 }