"Name": "Hello World",
"Roles":
"[
{
"Profile": "asdf",
}
]"
,
"Description": "sent"
}
The above "obtained JSON Format" is displayed as Invalid when tested with
websie below,
http://jsonlint.com/
When i pass the above "obtained JSON Format" through postUrl,i am getting
an error "Bad JSON Request". I think extra quotation marks(hi lighted)before and
after square brackets of "Roles" in JSON Request is creating this error.
I have followed the same steps for creating a map variable then why
i am getting an invalid JSON Format string while creating through map().
Please let me know if there is any problem in my code.