Deserialise JSON containing numeric key with Json.NET

后端 未结 3 1962
孤街浪徒
孤街浪徒 2021-01-14 18:50

I would like to deserialize the following JSON (using Json.NET) to an object, but cannot, as the class name would need to begin with a number.

An example of this is

3条回答
  •  情话喂你
    2021-01-14 19:33

    You can implement your own DeSerializer or editing the JSON before you DeSerialize it.

提交回复
热议问题