How could I retrieve a JSON with a key beginning with "@"
Hi,
I retrieve a JSON from a server that contain a key name like this "@rid". I am using elektronische's solution. That mean I need a class that should look like this :
[Serializable]
public class MyClass {
public string @rid;
public string Title;
}
A am afraid it won't work ! How could I retrieve this rid ?
Currently, I replace "@" by "" in my json string before deserialized with just "rid" in my class. It work, but I am wondering how it is bad ?
Thanks
Comment