C# - Weird JSON "array" but not really array handling
Go to solution
Solved by Aleksa Djordjic,
Well, turns out I can just deserialize it in to a dynamic, and then access that "array" but not really an array object and then just iterate trough it.
That makes it iterate trough each property of that object, casting it to JProperty I can then just do .Value["Property name"] to get its value of that specific property inside that array element
-
Featured Topics
-
Topics
-
1
-
kennethk ·
Posted in Peripherals1 -
3
-
BTSHalfLifeAndGmodFan2003 ·
Posted in Storage Devices5 -
6
-
0
-
Abaris ·
Posted in Troubleshooting4 -
2
-
7
-
2
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now