---
title: "What is the simplest C# function to parse a JSON string into an object?"  
description: "What is the simplest C# function to parse a JSON string into an object?"  
author: "Anonymous User"  
published: 2013-07-31  
updated: 2013-07-31  
canonical: https://www.mindstick.com/forum/1353/what-is-the-simplest-c-sharp-function-to-parse-a-json-string-into-an-object  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# What is the simplest C# function to parse a JSON string into an object?

Hi [mindstick](https://yourviews.mindstick.com/view/84668/how-mindstick-is-used-for-marketing-purposes)!

## What is the simplest C# function to parse a JSON string into an object?

thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)!\

## Replies

### Reply by shreesh chandra shukla

Hi!

JObject o = JObject.Parse(@"

{

""something"":""value"",

""jagged"":

{

""someother"":""value2""

}

}");

string something = (string)o.SelectToken("something");


---

Original Source: https://www.mindstick.com/forum/1353/what-is-the-simplest-c-sharp-function-to-parse-a-json-string-into-an-object

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
