C
C#2y ago
EliasGPS

✅ filter in json object?

How am i be able to take the url of of this json object?
8 Replies
EliasGPS
EliasGPSOP2y ago
EliasGPS
EliasGPSOP2y ago
Sossenbinder
Sossenbinder2y ago
Do you know whether the json is stable? You can define a class and deserialize it to that class, then you have a type safe way of accessing it
EliasGPS
EliasGPSOP2y ago
this peace of code gives me the json
Sossenbinder
Sossenbinder2y ago
You can also use a Dictionary otherwise to deserialize
Angius
Angius2y ago
$jsongen
MODiX
MODiX2y ago
Use https://app.quicktype.io or https://json2csharp.com to generate classes from your JSON
Instantly parse JSON in any language | quicktype
Whether you're using C#, Swift, TypeScript, Go, C++ or other languages, quicktype generates models and helper code for quickly and safely reading JSON in your apps. Customize online with advanced options, or download a command-line tool.
Convert JSON to C# Classes Online - Json2CSharp Toolkit
Convert any JSON object to C# classes online. Json2CSharp is a free toolkit that will help you generate C# classes on the fly.
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity. Closed!
Want results from more Discord servers?
Add your server