© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
8 replies
Alex

How to deserialize only child object

I have a json structure and I need only
studiableItems
studiableItems
data. How can I deserialize only it without creating classes for parent items?
{
 "props":{
        "pageProps": {
            "dehydratedReduxStateKey": {
                "studyModesCommon": {
                    "studiableData": {
                        "studiableItems": [
                            {""item1"": ""data1""},
                            {""item2"": ""data2""},
                            {""item3"": ""data3""}
                        ]
                    }
                }
            }
        }
    }
}
{
 "props":{
        "pageProps": {
            "dehydratedReduxStateKey": {
                "studyModesCommon": {
                    "studiableData": {
                        "studiableItems": [
                            {""item1"": ""data1""},
                            {""item2"": ""data2""},
                            {""item3"": ""data3""}
                        ]
                    }
                }
            }
        }
    }
}
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deserialize wrapper object in route
C#CC# / help
4y ago
❔ How to deserialize correctly
C#CC# / help
4y ago
✅ Deserialize JSON back into custom object
C#CC# / help
17mo ago
✅ Get this error while trying to Deserialize object
C#CC# / help
3y ago