This might be the easiest json question. I am creating a WCF REST service and have a HelloWorld validation function that simply returns a string. I am testing a service in a violinist, and the response body that I get is:
"HelloWorld"
I also created a function that would simply return a number (double), and the response body:
1.0
Are these valid json answers? Are simple return types just returned in plain text (without parenthesized markup)?
source share