Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4250744
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:34:08+00:00 2026-05-21T04:34:08+00:00

I need to deserialize a complex JSON blob into standard .NET containers for use

  • 0

I need to deserialize a complex JSON blob into standard .NET containers for use in code that is not aware of JSON. It expects things to be in standard .NET types, specifically Dictionary<string, object> or List<object> where “object” can be primitive or recurse (Dictionary or List).

I cannot use a static type to map the results and JObject/JToken don’t fit. Ideally, there would be some way (via Contracts perhaps?) to convert raw JSON into basic .NET containers.

I’ve search all over for any way to coax the JSON.NET deserializer into creating these simple types when it encounters “{}” or “[]” but with little success.

Any help appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T04:34:09+00:00Added an answer on May 21, 2026 at 4:34 am

    You cannot do what I was asking. At least not as far as I can tell after MUCH research. I had to edit the source of Json.NET.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm receiving JSON, that i need to Deserialize. I'm using JavaScriptSerializer to do so.
I have some Xml that I need to deserialize into an object. The Xml
I need to deserialize JSON string to custom complex objects. For example lets say
I have some JSON that I need to deserialize so I'm using JavaScriptSerializer.DeserializeObject like:
I need to pull back from a database JSON documents that are not based
I need to serialize and deserialize objective-c objects into JSON to store in CouchDB.
I have a JSON multi-level response that I need to deserialize and from the
Hi I need parse and deserialize pseudo JSON string. Input data: {aBubbleData[ 'jaja2581' ]={
In my Android app, I need to talk to a webserver that expects marshalled
I need to deserialize the following XML into a C# class: <NodeConfiguration> <DBChange value=2022/>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.