I have a validateXxx() where I return a message "Name already exist." for
some conditions. I believe the response can be a json object. So how to add
another key - value in the response?
{
....
"SomeMessage": "Name already exist."
....
}
Thanks,
- Paul
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>