ProWo
19th August 2024, 20:45
I am working on a winforms app in vb.
It should have .NET 8 as target framework and therefore the JavaScriptDeserializer does not work anymore (only works up to 4.8 .net_framework).
The new deserializer built into .NET (System.Text.Json) doesn't work with the previous code and I don't want to use the Newtonsoft deserializer as it requires an additional package.
Do any of you have an idea how I can read the value of red_x from the attached json file?
I failed with JsonDocument, JsonArray, JsonNode.
https://forum.videohelp.com/attachments/81649-1724084324/json.zip
It should have .NET 8 as target framework and therefore the JavaScriptDeserializer does not work anymore (only works up to 4.8 .net_framework).
The new deserializer built into .NET (System.Text.Json) doesn't work with the previous code and I don't want to use the Newtonsoft deserializer as it requires an additional package.
Do any of you have an idea how I can read the value of red_x from the attached json file?
I failed with JsonDocument, JsonArray, JsonNode.
https://forum.videohelp.com/attachments/81649-1724084324/json.zip