I am trying to pass data to a REST service from .Net and the format required by the service is similar to JSON but more like straight JavaScript.
For example:
{ name:'Test User', first_name:'Test', last_name:'User'}
Without the key quoted or using full quotes on the string values it doesn't exactly align with the JSON spec and the serializers like JSON.NET don't output in this format. I have tried sending straight up JSON to no avail.
Is there another serializer anyone is aware of that will handle this, or a way to customize the output of something like JSON.NET? I'm basically trying to avoid writing my own.