To quick and easy get the object that Visual Studio think of the Json, you can copy the complete Json and then go to Edit > Paste Special > Paste JSON As Classes
. For me, that generates the following for the complete Json that you posted:
public class JsonClass
{
public object[][] Property1 { get; set; }
}
(This could potentionally be object[]
depending on incoming Json.)
This should be possible to JsonConvert
into a List<JsonClass>
and after that, depending on your scenario, try to parse the data to correct data type if that is needed.
I think that another way of doing it is also as @dbc mentioned in the comment:
You might be able to deserialize this to a List<T>
for some appropriate T
, where the members of T
correspond to the array entries and you are using ObjectToArrayConverter<T>
from here. Or you could just load using JArray.Parse(jsonString)
from json.net.
>` or `object[][]`, so `JsonConvert.DeserializeObject
– Lasse V. Karlsen Jan 04 '19 at 08:31