Search
Setup for Free
C
C#
How to obtain all suboject+values from upper object
Original message was deleted
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,155
Members
View on Discord
Similar Threads
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
T
Thinker
•
8/22/22, 1:37 PM
What does your structure look like
?
T
Thinker
What does your structure look like?
J
Johnny 🌸
•
8/22/22, 1:42 PM
public class ObjectA
{
public ObjectB Obj
{get
; set
;
}
public List
<string
> blalb
.
.
.
public ObjectC Obj1
.
.
.
}
J
Johnny 🌸
•
8/22/22, 1:44 PM
ObjectB and ObjectC contains string
, Lists etc
.
J
Johnny 🌸
•
8/22/22, 1:44 PM
I need everything in json format at the end
T
Thinker
•
8/22/22, 1:46 PM
Just use a JSON serializer
?
T
Thinker
•
8/22/22, 1:46 PM
Ex
.
System.Text.Json
System.Text.Json
J
Johnny 🌸
•
8/22/22, 1:46 PM
Trying it right now
J
Johnny 🌸
•
8/22/22, 1:49 PM
Thanks
, worked
System.Text.Json
System.Text.Json
Similar Threads
How to get these values from the dynamic json object ?
C
C# / help
4y ago
❔ ✅ How to get true properties from object?
C
C# / help
3y ago
✅ how change the values of an object attribute?
C
C# / help
3y ago
❔ Get locals and their values from an Exception object.
C
C# / help
3y ago