I'm trying to parse a JSON string to a JObject, but somehow it only parses the first object of an Array.
This is a part of a JSON string
{
"Categories": [
{
"Category": [
{
"ID": "1",
"Description": "Kochen/Backen",
"IsActive": "True"
}
],
"Category":[
{
"ID": "2",
"Description": "Sport",
"IsActive": "True"
}
],
"Category": [
{
"ID": "3",
"Description": "Begleitung 2",
"IsActive": "True"
}
]
}
],
And after JObject.Parse, I can see it loaded:
{
"Categories": [
{
"Category": [
{
"ID": "3",
"Description": "Begleitung 2",
"IsActive": "True"
}
]
}
],
So why are the first 2 Categories not parsed? I'm not a pro with JSON, so I don't know if the string is correct that way.
Thanks for your help