I have to parse JSON of an external API and struggle to convert it into a strongly-typed C# object. Already checked NewtonSoft Json parse examples into dynamic type, but I guess none of them suits my need. To make it clear, the ids (1, 3, 4, and 227) are dynamically generated. I would appreciate any help.
{
"brands":{
"any":false,
"1":{
"is_all":true
},
"3":{
"is_all":true
},
"4":{
"is_all":true
},
"227":{
"is_all":false,
"values":[
3931
],
"include":true
}
},
"color":[
1,
2,
3
],
"gearbox_id":[
2
]
}