|
top
|
Subject: Another JSON problem Author: (Deleted User) Date: 12 Oct 2011 09:16 AM
|
One solution was provided by @VoidMain at the CodePlex JSON.NET discussion.
It requires minor edit of the string, pre-pending '{objects:' and appending '}' to the JSON as written in my original post.
So, it becomes -
{objects:[{"a":"2958081","b":"Contact Sport","e":"abc4 news sport recent","f":[{"a":"831081","f":"2011-09-30 23:00:00","g":"2011-10-14 23:00:00"},{"a":"831080","f":"2011-09-23 23:00:00","g":"2011-10-07 23:00:00"}]},{"a":"2959838","b":"ABC National Evening News","e":"news abc4 recent last-chance","f":[{"a":"831928","f":"2011-09-30 23:00:00","g":"2011-10-01 22:00:00"}]}]}
Of course, 'objects' can be (almost) any other word representing the collection of objects.
Ian Thomas
--------------
Stylus Studio 2011 XML Enterprise Suite (Build 1756a)
|
|
|