I am calling API and get this response from the API.
{
"StringValue": "Hi Developers",
"TestMessage": {
"": [
"Enjoy Coding."
]
}
}
This is how I tried to make my C# class.
public class MyClass
{
public string StringValue{ get; set; }
public TestMessage MessageTest { get; set; }
}
public class TestMessage
{
[JsonProperty("")]
public IList<string> APIResponse{ get; set; }
//public IList<string> { get; set; }//Also try this but it gives me compilation error
}
but It didn't work how can I get this to work?