Currently JSON.NET uses JsonProperty attribute to provide the different values for keys other than variable names. Could something similar be possible with NetJSON as well?
For eg:
public class SimpleObj
{
public string name { get; set; }
public string email { get; set; }
}
This I'd like to make into a JSON as
{
"name": "ABCD",
"mail_address": "[email protected]"
}
Currently JSON.NET uses JsonProperty attribute to provide the different values for keys other than variable names. Could something similar be possible with NetJSON as well?
For eg:
This I'd like to make into a JSON as