QuickZ
❔ Is there a way to access a prop with the help of a string.
Ye I guess Newtonsofts JObjects is the way to go. and later serialize it. Or automap. not sure what I get yet
https://stackoverflow.com/questions/16459155/how-to-access-json-object-in-c-sharp
16 replies
❔ Is there a way to access a prop with the help of a string.
a external app is returning props with first nested level being the ids as propnames. I have the ids in string already available. I want to be able to automatically access them.
dto be looking like this for example
And I want to just map away from the Id so my frontend dont need to know about it but still automatically access by iterating through several of these objects. Which will be possible if I just map the level with id away. Which I will be able to if I just can access it like the question asks for
16 replies