I want to create and to send JSON Array string given below: I am using JSON Framework, it can parse JSON array but how to create JSON Array
{
"deferred": [
{
"API": "Test1",
"data": "{\"uid\":\"16\",\"cid\":\"22\",\"watch\":\"12\"}",
"timestamp": "12-01-2012 16:05:45"
},
{
"API": "Test2",
"data": "{\"uid\":\"16\",\"cid\":\"22\"}",
"timestamp": "12-01-2012 16:05:45"
},
{
"API": "Test3",
"data": "{\"uid\":\"16\",\"cid\":\"22\",\"type\":\"n\"}",
"timestamp": "12-01-2012 16:05:45"
}
]
}
Any Suggestions?