Linked Questions
13 questions linked to/from Parsing JSON Object with variable properties into strongly typed object
0
votes
1
answer
952
views
Mapping JSON to C# classes when there are multiple keys [duplicate]
I am currently trying to parse the JSON data that I get back from the IEX api, which consists of stocks and their information. The problem I am running into is that depending on which stocks/symbols (...
0
votes
2
answers
399
views
How to convert JSON to Objects with changing Keys [duplicate]
"Result":
{
"AKJB0000001": {
"BANK": "AKOLA JANATA COMMERCIAL COOPERATIVE BANK",
"IFSC": "AKJB0000001",
"BRANCH": "RTGS-HO",
"ADDRESS": "JANVAIBHAV,OLD COTTON ...
1
vote
1
answer
626
views
Getting dynamic JSON values and printing them out [duplicate]
I'm getting JSON from an API, each domain like Google, and Facebook will be dynamic. I'm struggling to access the JSON to then put on a webpage, normally APIs are no issue, but the fact its dynamic is ...
0
votes
2
answers
748
views
Deserialize JSON with dynamic Element name [duplicate]
I have a JSON file I am trying to deserialize, but there is a tag inside the items array that's changing, so how can this be specified in the class description, see class description I have now below.
...
0
votes
0
answers
51
views
deserialize api results from json c# [duplicate]
What should be the class for de-serializing this json?
{
"_attachments": {
"Test.png": {
"content_type": "application/octet-stream",
"digest": "sha1-wGqfYwROlnGdNmiVIEpiTKHTm5I=",
...
0
votes
0
answers
47
views
C# class structure for inconsistent JSON strings [duplicate]
I'm trying to deserialize this piece of JSON into C# (The outer string increases to the hundreds):
{
"1": {
"name": "AK-47 | Aquamarine Revenge (Battle-Scarred)",
"price": 12.64,
"sold":...
1204
votes
30
answers
1.2m
views
Deserialize JSON into C# dynamic object? [duplicate]
Is there a way to deserialize JSON content into a C# dynamic type? It would be nice to skip creating a bunch of classes in order to use the DataContractJsonSerializer.
44
votes
5
answers
116k
views
Deserialize JSON string to Dictionary<string,object>
I have this string:
[{ "processLevel" : "1" , "segments" : [{ "min" : "0", "max" : "600" }] }]
I'm deserializing the object:
...
3
votes
4
answers
902
views
Map properties to a list of objects
I have a JSON data that looks like this:
{
"Item1": {
"Field1": "Val1",
"Field2": "Val2"
},
"Item2": {
&...
0
votes
2
answers
1k
views
Convert API String to JSON Object using NewtonSoft.Json
I've read numerous threads asking similar questions but have been unable to tie it all together.
I have an API feeding a string here: https://apiv2.bitcoinaverage.com/constants/exchangerates/local
...
0
votes
1
answer
547
views
Can't parse JSON with string array
I'm trying to parse a JSON in C# with Newtonsoft.Json component. The JSON I get is this:
[
{
"id": "2",
"title": "First Title",
"image": "550x346_442.jpg",
"...
0
votes
2
answers
273
views
Deserialize JSON with none constant key
I'm trying to deserialize object using newtonesoft.
The Json is a response from an API that convert currency by their updated rates.
Problem is, that I have a key in the Json that is not constant.
The ...
0
votes
0
answers
49
views
How can i parse this json using Newtonsoft [duplicate]
I got json like
{
"Date": "22.10.10",
"Date2": "22.10.10",
"Levels": {
"Simple": {
"ID": "1",
"NumCode": "2 SS",
"Nominal": 1
},
...