I have WCF rest service which is expecting object as input.
[WebInvoke(Method = \"POST\",
UriTemplate = \"SaveItem\",
ResponseFormat
Thanks for sharing your solution. I needed the WebMessageBodyStyle.Bare bit but my other issue was that my JSON was wrapped in a parent "node" per suggestions on other sites like this:
Not Working --> {"MethodParamName":[{"prop1":"value1","prop2":"value2"}]}
But my JSON was always null. However once I dropped the "parent node" of my JSON my WCF finally could read the object:
Working --> {"prop1":"value1","prop2":"value2"}