How to create JSON Object
using jQuery?
I have a JSON Object
in below format:
{
"1":{
"c_roleid":null,
"ObjectID":1,
"c_appname":"Default",
"c_display":true,
"c_add":null,
"c_edit":null,
"c_delete":null,
"c_execute":null,
"c_isdefault":null,
"c_rolepermissionid":null,
"c_objecttype":1
}
}
How can I create JSON object in array for above format.
How to get data as array format into web API
?