Created
August 4, 2016 10:04
-
-
Save guntidheerajkumar/bacd8d1bb2e2815d258e4133e07c6a95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Creating a json string | |
const string jsondata = "{'FirstName': 'Dheeraj', 'MiddleName':'Kumar' }"; | |
/// We are deserializing the object | |
dynamic customer = JsonConvert.DeserializeObject(jsondata); | |
WriteLine($"{customer.FirstName} ---- {customer.MiddleName}"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment