Consider this as my json string,
{"Table" : [{"userid" : "11","name" : "KumarP","designation" : "Business Head",
"phone" : "9789234793","email" : "surfingkumar@gmail.com","role" : "Admin",
"empId" : "EI003","reportingto" : "KumarP"}]}
and i want to have my string like this,
{Table:[{ userid: "11", name: "KumarP", designation: "Business Head",
phone: "9789234793", email:"surfingkumar@gmail.com", role : "Admin",
empId : "EI003",reportingto : "KumarP"}]}
I am doing so to use it with jlinq..
Use Regular Expressions:
The string will become as your second codeblock:
But won’t that cause a problem if the label was a reserved word?