Decode JSON string in C#Convert JSON String to JSON Object c#What is the difference between String and string in C#?Cast int to enum in C#Safely turning a JSON string into an objectHow do I enumerate an enum in C#?How do I format a Microsoft JSON date?Can comments be used in JSON?How can I pretty-print JSON in a shell script?Case insensitive 'Contains(string)'What is the correct JSON content type?Why does Google prepend while(1); to their JSON responses?
Can my 2 children, aged 10 and 12, who are US citizens, travel to the USA on expired American passports?
Gerrymandering Puzzle - Rig the Election
Is any special diet a treatment of autism?
Which sphere is fastest?
Has the Hulk always been able to talk?
Mug and wireframe entirely disappeared
Notation: What does the tilde bellow of the Expectation mean?
What was the first story to feature the plot "the monsters were human all along"?
Dangerous workplace travelling
How does summation index shifting work?
Why didn't this character get a funeral at the end of Avengers: Endgame?
Prove that a definite integral is an infinite sum
What do I do if my advisor made a mistake?
Formatting Datetime.now()
What is a common way to tell if an academic is "above average," or outstanding in their field? Is their h-index (Hirsh index) one of them?
How do I calculate how many of an item I'll have in this inventory system?
Agena docking and RCS Brakes in First Man
Handling Null values (and equivalents) routinely in Python
Are there terms in German for different skull shapes?
What are the advantages of luxury car brands like Acura/Lexus over their sibling non-luxury brands Honda/Toyota?
Would you use "llamarse" for an animal's name?
Why aren't nationalizations in Russia described as socialist?
Hostile Divisor Numbers
Is it normal for gliders not to have attitude indicators?
Decode JSON string in C#
Convert JSON String to JSON Object c#What is the difference between String and string in C#?Cast int to enum in C#Safely turning a JSON string into an objectHow do I enumerate an enum in C#?How do I format a Microsoft JSON date?Can comments be used in JSON?How can I pretty-print JSON in a shell script?Case insensitive 'Contains(string)'What is the correct JSON content type?Why does Google prepend while(1); to their JSON responses?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am trying to decode the following string in a xamarin cross platform app
"body":"test","time":"2017-12-20 14:09:16","type":0
Except I can't find a tutorial that works...
I tried using NewtonSoft.Json but it fails to download and says
Install failed. Rolling back...
Package 'Microsoft.CSharp.4.3.0' does not exist in project 'SocialNetwork.iOS'
Removing package 'Microsoft.CSharp.4.3.0' from folder 'C:UserssnipsourcereposSocialMediapackages'
Removed package 'Microsoft.CSharp.4.3.0' from folder 'C:UserssnipsourcereposSocialMediapackages'
Executing nuget actions took 2.86 sec
Failed to add reference. The package 'Microsoft.CSharp' tried to add a framework reference to 'Microsoft.CSharp' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.
Reference unavailable.
Time Elapsed: 00:00:21.6604873
c# json xamarin
add a comment |
I am trying to decode the following string in a xamarin cross platform app
"body":"test","time":"2017-12-20 14:09:16","type":0
Except I can't find a tutorial that works...
I tried using NewtonSoft.Json but it fails to download and says
Install failed. Rolling back...
Package 'Microsoft.CSharp.4.3.0' does not exist in project 'SocialNetwork.iOS'
Removing package 'Microsoft.CSharp.4.3.0' from folder 'C:UserssnipsourcereposSocialMediapackages'
Removed package 'Microsoft.CSharp.4.3.0' from folder 'C:UserssnipsourcereposSocialMediapackages'
Executing nuget actions took 2.86 sec
Failed to add reference. The package 'Microsoft.CSharp' tried to add a framework reference to 'Microsoft.CSharp' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.
Reference unavailable.
Time Elapsed: 00:00:21.6604873
c# json xamarin
2
Could you post the code snippet you are using to decode it ?
– Monish Koyott
Dec 21 '17 at 7:02
4
DotNet framework version? DotNet Core? How you install the package? In Windows or Linux?NuGet.exe
ordotnet restore
?
– NonStatic
Dec 21 '17 at 7:03
1
Give us more details, as written above
– Piero Alberto
Dec 21 '17 at 7:18
add a comment |
I am trying to decode the following string in a xamarin cross platform app
"body":"test","time":"2017-12-20 14:09:16","type":0
Except I can't find a tutorial that works...
I tried using NewtonSoft.Json but it fails to download and says
Install failed. Rolling back...
Package 'Microsoft.CSharp.4.3.0' does not exist in project 'SocialNetwork.iOS'
Removing package 'Microsoft.CSharp.4.3.0' from folder 'C:UserssnipsourcereposSocialMediapackages'
Removed package 'Microsoft.CSharp.4.3.0' from folder 'C:UserssnipsourcereposSocialMediapackages'
Executing nuget actions took 2.86 sec
Failed to add reference. The package 'Microsoft.CSharp' tried to add a framework reference to 'Microsoft.CSharp' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.
Reference unavailable.
Time Elapsed: 00:00:21.6604873
c# json xamarin
I am trying to decode the following string in a xamarin cross platform app
"body":"test","time":"2017-12-20 14:09:16","type":0
Except I can't find a tutorial that works...
I tried using NewtonSoft.Json but it fails to download and says
Install failed. Rolling back...
Package 'Microsoft.CSharp.4.3.0' does not exist in project 'SocialNetwork.iOS'
Removing package 'Microsoft.CSharp.4.3.0' from folder 'C:UserssnipsourcereposSocialMediapackages'
Removed package 'Microsoft.CSharp.4.3.0' from folder 'C:UserssnipsourcereposSocialMediapackages'
Executing nuget actions took 2.86 sec
Failed to add reference. The package 'Microsoft.CSharp' tried to add a framework reference to 'Microsoft.CSharp' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.
Reference unavailable.
Time Elapsed: 00:00:21.6604873
c# json xamarin
c# json xamarin
edited Dec 21 '17 at 7:14
Monish Koyott
3241319
3241319
asked Dec 21 '17 at 7:00
user9125842
2
Could you post the code snippet you are using to decode it ?
– Monish Koyott
Dec 21 '17 at 7:02
4
DotNet framework version? DotNet Core? How you install the package? In Windows or Linux?NuGet.exe
ordotnet restore
?
– NonStatic
Dec 21 '17 at 7:03
1
Give us more details, as written above
– Piero Alberto
Dec 21 '17 at 7:18
add a comment |
2
Could you post the code snippet you are using to decode it ?
– Monish Koyott
Dec 21 '17 at 7:02
4
DotNet framework version? DotNet Core? How you install the package? In Windows or Linux?NuGet.exe
ordotnet restore
?
– NonStatic
Dec 21 '17 at 7:03
1
Give us more details, as written above
– Piero Alberto
Dec 21 '17 at 7:18
2
2
Could you post the code snippet you are using to decode it ?
– Monish Koyott
Dec 21 '17 at 7:02
Could you post the code snippet you are using to decode it ?
– Monish Koyott
Dec 21 '17 at 7:02
4
4
DotNet framework version? DotNet Core? How you install the package? In Windows or Linux?
NuGet.exe
or dotnet restore
?– NonStatic
Dec 21 '17 at 7:03
DotNet framework version? DotNet Core? How you install the package? In Windows or Linux?
NuGet.exe
or dotnet restore
?– NonStatic
Dec 21 '17 at 7:03
1
1
Give us more details, as written above
– Piero Alberto
Dec 21 '17 at 7:18
Give us more details, as written above
– Piero Alberto
Dec 21 '17 at 7:18
add a comment |
2 Answers
2
active
oldest
votes
You can also use JavaScriptSerializer (System.Web.Extensions.dll).
You can use this class:
public class Response
public string body get; set;
public string time get; set;
public int type get; set;
And here an example on how to use it.
public void Method(string json)
JavaScriptSerializer js = new JavaScriptSerializer();
Response response = js.Deserialize<Response>(json);
It says the namespace "Web" doesn't exist in namespace "System"
– user9125842
Dec 21 '17 at 8:12
I'm not really familiar with xamarin, but: developer.xamarin.com/api/namespace/System.Web It seems that it is in there. Maybe you need to add a reference in the project?
– Mirzoda
Dec 21 '17 at 8:19
And otherwise you could use this maybe? developer.xamarin.com/samples/monotouch/MTDJsonDemo
– Mirzoda
Dec 21 '17 at 8:22
add a comment |
I don't know very well but i can give an idea. Firstly i think, you have to uninstall Newtonsoft.Json package from your project and install another version.
- Right click to your project and go to Manage NuGet Packages
- Click Unistall for NewtonSoft.Json package.
- Now, select another version to Newtonsoft.Json.(e.g version 6.0.4)
- Select 6.0.4 version and install it.
- Go to packages.config on your project.
- Check version of Newtonsoft.Json.
Now we have to do convert string to Json with Newtonsoft.Json
string str = "yourString";
JObject JsonResult = JObject.Parse(str);
string body = JsonResult["body"].Value<string>();
int type = JsonResult["type"].Value<int>();
If you cannot do this. Check this link. Maybe this will help you:
https://stackoverflow.com/a/22870885/4289550
It installed perfectly now, except when running i get "Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0." on "JObject JsonResult = JObject.Parse(line)"
– user9125842
Dec 21 '17 at 8:22
Hmm, maybe your string variable is not correct for creating Json object ? You should recreate string variable.
– muhammedgungor
Dec 21 '17 at 11:01
How would i recreate it?
– user9125842
Dec 22 '17 at 2:37
You have to add '' character in your string variable's ' " ' character to left side. For example : string myStringVariable = ""body":"test","time":"2017-12-20 14:09:16","type":0";
– muhammedgungor
Dec 22 '17 at 12:00
I don't actually declare it like that, I grab it from a URL and thats the string value, I don't have it manually typed.
– user9125842
Dec 23 '17 at 0:04
|
show 1 more comment
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47919578%2fdecode-json-string-in-c-sharp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can also use JavaScriptSerializer (System.Web.Extensions.dll).
You can use this class:
public class Response
public string body get; set;
public string time get; set;
public int type get; set;
And here an example on how to use it.
public void Method(string json)
JavaScriptSerializer js = new JavaScriptSerializer();
Response response = js.Deserialize<Response>(json);
It says the namespace "Web" doesn't exist in namespace "System"
– user9125842
Dec 21 '17 at 8:12
I'm not really familiar with xamarin, but: developer.xamarin.com/api/namespace/System.Web It seems that it is in there. Maybe you need to add a reference in the project?
– Mirzoda
Dec 21 '17 at 8:19
And otherwise you could use this maybe? developer.xamarin.com/samples/monotouch/MTDJsonDemo
– Mirzoda
Dec 21 '17 at 8:22
add a comment |
You can also use JavaScriptSerializer (System.Web.Extensions.dll).
You can use this class:
public class Response
public string body get; set;
public string time get; set;
public int type get; set;
And here an example on how to use it.
public void Method(string json)
JavaScriptSerializer js = new JavaScriptSerializer();
Response response = js.Deserialize<Response>(json);
It says the namespace "Web" doesn't exist in namespace "System"
– user9125842
Dec 21 '17 at 8:12
I'm not really familiar with xamarin, but: developer.xamarin.com/api/namespace/System.Web It seems that it is in there. Maybe you need to add a reference in the project?
– Mirzoda
Dec 21 '17 at 8:19
And otherwise you could use this maybe? developer.xamarin.com/samples/monotouch/MTDJsonDemo
– Mirzoda
Dec 21 '17 at 8:22
add a comment |
You can also use JavaScriptSerializer (System.Web.Extensions.dll).
You can use this class:
public class Response
public string body get; set;
public string time get; set;
public int type get; set;
And here an example on how to use it.
public void Method(string json)
JavaScriptSerializer js = new JavaScriptSerializer();
Response response = js.Deserialize<Response>(json);
You can also use JavaScriptSerializer (System.Web.Extensions.dll).
You can use this class:
public class Response
public string body get; set;
public string time get; set;
public int type get; set;
And here an example on how to use it.
public void Method(string json)
JavaScriptSerializer js = new JavaScriptSerializer();
Response response = js.Deserialize<Response>(json);
answered Dec 21 '17 at 7:31
MirzodaMirzoda
314
314
It says the namespace "Web" doesn't exist in namespace "System"
– user9125842
Dec 21 '17 at 8:12
I'm not really familiar with xamarin, but: developer.xamarin.com/api/namespace/System.Web It seems that it is in there. Maybe you need to add a reference in the project?
– Mirzoda
Dec 21 '17 at 8:19
And otherwise you could use this maybe? developer.xamarin.com/samples/monotouch/MTDJsonDemo
– Mirzoda
Dec 21 '17 at 8:22
add a comment |
It says the namespace "Web" doesn't exist in namespace "System"
– user9125842
Dec 21 '17 at 8:12
I'm not really familiar with xamarin, but: developer.xamarin.com/api/namespace/System.Web It seems that it is in there. Maybe you need to add a reference in the project?
– Mirzoda
Dec 21 '17 at 8:19
And otherwise you could use this maybe? developer.xamarin.com/samples/monotouch/MTDJsonDemo
– Mirzoda
Dec 21 '17 at 8:22
It says the namespace "Web" doesn't exist in namespace "System"
– user9125842
Dec 21 '17 at 8:12
It says the namespace "Web" doesn't exist in namespace "System"
– user9125842
Dec 21 '17 at 8:12
I'm not really familiar with xamarin, but: developer.xamarin.com/api/namespace/System.Web It seems that it is in there. Maybe you need to add a reference in the project?
– Mirzoda
Dec 21 '17 at 8:19
I'm not really familiar with xamarin, but: developer.xamarin.com/api/namespace/System.Web It seems that it is in there. Maybe you need to add a reference in the project?
– Mirzoda
Dec 21 '17 at 8:19
And otherwise you could use this maybe? developer.xamarin.com/samples/monotouch/MTDJsonDemo
– Mirzoda
Dec 21 '17 at 8:22
And otherwise you could use this maybe? developer.xamarin.com/samples/monotouch/MTDJsonDemo
– Mirzoda
Dec 21 '17 at 8:22
add a comment |
I don't know very well but i can give an idea. Firstly i think, you have to uninstall Newtonsoft.Json package from your project and install another version.
- Right click to your project and go to Manage NuGet Packages
- Click Unistall for NewtonSoft.Json package.
- Now, select another version to Newtonsoft.Json.(e.g version 6.0.4)
- Select 6.0.4 version and install it.
- Go to packages.config on your project.
- Check version of Newtonsoft.Json.
Now we have to do convert string to Json with Newtonsoft.Json
string str = "yourString";
JObject JsonResult = JObject.Parse(str);
string body = JsonResult["body"].Value<string>();
int type = JsonResult["type"].Value<int>();
If you cannot do this. Check this link. Maybe this will help you:
https://stackoverflow.com/a/22870885/4289550
It installed perfectly now, except when running i get "Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0." on "JObject JsonResult = JObject.Parse(line)"
– user9125842
Dec 21 '17 at 8:22
Hmm, maybe your string variable is not correct for creating Json object ? You should recreate string variable.
– muhammedgungor
Dec 21 '17 at 11:01
How would i recreate it?
– user9125842
Dec 22 '17 at 2:37
You have to add '' character in your string variable's ' " ' character to left side. For example : string myStringVariable = ""body":"test","time":"2017-12-20 14:09:16","type":0";
– muhammedgungor
Dec 22 '17 at 12:00
I don't actually declare it like that, I grab it from a URL and thats the string value, I don't have it manually typed.
– user9125842
Dec 23 '17 at 0:04
|
show 1 more comment
I don't know very well but i can give an idea. Firstly i think, you have to uninstall Newtonsoft.Json package from your project and install another version.
- Right click to your project and go to Manage NuGet Packages
- Click Unistall for NewtonSoft.Json package.
- Now, select another version to Newtonsoft.Json.(e.g version 6.0.4)
- Select 6.0.4 version and install it.
- Go to packages.config on your project.
- Check version of Newtonsoft.Json.
Now we have to do convert string to Json with Newtonsoft.Json
string str = "yourString";
JObject JsonResult = JObject.Parse(str);
string body = JsonResult["body"].Value<string>();
int type = JsonResult["type"].Value<int>();
If you cannot do this. Check this link. Maybe this will help you:
https://stackoverflow.com/a/22870885/4289550
It installed perfectly now, except when running i get "Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0." on "JObject JsonResult = JObject.Parse(line)"
– user9125842
Dec 21 '17 at 8:22
Hmm, maybe your string variable is not correct for creating Json object ? You should recreate string variable.
– muhammedgungor
Dec 21 '17 at 11:01
How would i recreate it?
– user9125842
Dec 22 '17 at 2:37
You have to add '' character in your string variable's ' " ' character to left side. For example : string myStringVariable = ""body":"test","time":"2017-12-20 14:09:16","type":0";
– muhammedgungor
Dec 22 '17 at 12:00
I don't actually declare it like that, I grab it from a URL and thats the string value, I don't have it manually typed.
– user9125842
Dec 23 '17 at 0:04
|
show 1 more comment
I don't know very well but i can give an idea. Firstly i think, you have to uninstall Newtonsoft.Json package from your project and install another version.
- Right click to your project and go to Manage NuGet Packages
- Click Unistall for NewtonSoft.Json package.
- Now, select another version to Newtonsoft.Json.(e.g version 6.0.4)
- Select 6.0.4 version and install it.
- Go to packages.config on your project.
- Check version of Newtonsoft.Json.
Now we have to do convert string to Json with Newtonsoft.Json
string str = "yourString";
JObject JsonResult = JObject.Parse(str);
string body = JsonResult["body"].Value<string>();
int type = JsonResult["type"].Value<int>();
If you cannot do this. Check this link. Maybe this will help you:
https://stackoverflow.com/a/22870885/4289550
I don't know very well but i can give an idea. Firstly i think, you have to uninstall Newtonsoft.Json package from your project and install another version.
- Right click to your project and go to Manage NuGet Packages
- Click Unistall for NewtonSoft.Json package.
- Now, select another version to Newtonsoft.Json.(e.g version 6.0.4)
- Select 6.0.4 version and install it.
- Go to packages.config on your project.
- Check version of Newtonsoft.Json.
Now we have to do convert string to Json with Newtonsoft.Json
string str = "yourString";
JObject JsonResult = JObject.Parse(str);
string body = JsonResult["body"].Value<string>();
int type = JsonResult["type"].Value<int>();
If you cannot do this. Check this link. Maybe this will help you:
https://stackoverflow.com/a/22870885/4289550
edited Mar 23 at 0:57
answered Dec 21 '17 at 7:33
muhammedgungormuhammedgungor
33
33
It installed perfectly now, except when running i get "Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0." on "JObject JsonResult = JObject.Parse(line)"
– user9125842
Dec 21 '17 at 8:22
Hmm, maybe your string variable is not correct for creating Json object ? You should recreate string variable.
– muhammedgungor
Dec 21 '17 at 11:01
How would i recreate it?
– user9125842
Dec 22 '17 at 2:37
You have to add '' character in your string variable's ' " ' character to left side. For example : string myStringVariable = ""body":"test","time":"2017-12-20 14:09:16","type":0";
– muhammedgungor
Dec 22 '17 at 12:00
I don't actually declare it like that, I grab it from a URL and thats the string value, I don't have it manually typed.
– user9125842
Dec 23 '17 at 0:04
|
show 1 more comment
It installed perfectly now, except when running i get "Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0." on "JObject JsonResult = JObject.Parse(line)"
– user9125842
Dec 21 '17 at 8:22
Hmm, maybe your string variable is not correct for creating Json object ? You should recreate string variable.
– muhammedgungor
Dec 21 '17 at 11:01
How would i recreate it?
– user9125842
Dec 22 '17 at 2:37
You have to add '' character in your string variable's ' " ' character to left side. For example : string myStringVariable = ""body":"test","time":"2017-12-20 14:09:16","type":0";
– muhammedgungor
Dec 22 '17 at 12:00
I don't actually declare it like that, I grab it from a URL and thats the string value, I don't have it manually typed.
– user9125842
Dec 23 '17 at 0:04
It installed perfectly now, except when running i get "Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0." on "JObject JsonResult = JObject.Parse(line)"
– user9125842
Dec 21 '17 at 8:22
It installed perfectly now, except when running i get "Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0." on "JObject JsonResult = JObject.Parse(line)"
– user9125842
Dec 21 '17 at 8:22
Hmm, maybe your string variable is not correct for creating Json object ? You should recreate string variable.
– muhammedgungor
Dec 21 '17 at 11:01
Hmm, maybe your string variable is not correct for creating Json object ? You should recreate string variable.
– muhammedgungor
Dec 21 '17 at 11:01
How would i recreate it?
– user9125842
Dec 22 '17 at 2:37
How would i recreate it?
– user9125842
Dec 22 '17 at 2:37
You have to add '' character in your string variable's ' " ' character to left side. For example : string myStringVariable = ""body":"test","time":"2017-12-20 14:09:16","type":0";
– muhammedgungor
Dec 22 '17 at 12:00
You have to add '' character in your string variable's ' " ' character to left side. For example : string myStringVariable = ""body":"test","time":"2017-12-20 14:09:16","type":0";
– muhammedgungor
Dec 22 '17 at 12:00
I don't actually declare it like that, I grab it from a URL and thats the string value, I don't have it manually typed.
– user9125842
Dec 23 '17 at 0:04
I don't actually declare it like that, I grab it from a URL and thats the string value, I don't have it manually typed.
– user9125842
Dec 23 '17 at 0:04
|
show 1 more comment
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47919578%2fdecode-json-string-in-c-sharp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Could you post the code snippet you are using to decode it ?
– Monish Koyott
Dec 21 '17 at 7:02
4
DotNet framework version? DotNet Core? How you install the package? In Windows or Linux?
NuGet.exe
ordotnet restore
?– NonStatic
Dec 21 '17 at 7:03
1
Give us more details, as written above
– Piero Alberto
Dec 21 '17 at 7:18