Not doing camelCase for nested objects
Closed this issue · 1 comments
jayeshu commented
For nested objects, the ResourceConverter is not doing camelcase.
Even after setting halOutput.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver(); it doesn't respect that.
The issue is that
node.Add(ToCamelCase(nonResourceProperty.Name), JToken.FromObject(value));
It needs to change to ...
node.Add(ToCamelCase(nonResourceProperty.Name), JToken.FromObject(value, serializer));