Questions tagged [jsonconverter]
111 questions
-1
votes
1 answer
polymorphic Json deserialization in nested scenario
I have some classes that I want to (de-)serialize:
public class Top
{
public Top(Sub content) { Content = content; }
public Sub Content { get; init; }
}
public class Sub
{
public Sub(Sub? entry) { Entry = entry; Type = SubType.super;…

Kjara
- 2,504
- 15
- 42
-1
votes
1 answer
JsonConvert.DeserializeObject(objects)
DeserializeObject for {
"15 Days": "675",
"180 Days": "8100",
"30 Days": "1350",
"60 Days": "2700",
"90 Days": "4050"
}

binod maharjan
- 1
- 1
-1
votes
2 answers
Angular patchValue not working with JsonConverter
I have a angular form with a select control which receives it's values from an enum on the server.

Sun
- 4,458
- 14
- 66
- 108
-1
votes
2 answers
How can I convert from JsonString to NameValueCollection
I have a JSON string like below:
"\"{\\\"PersonNumber\\\":\\\"4537\\\",\\\"PersonName\\\":\\\"Jenny\\\"}\""
I want to convert this JSON to NameValueCollection and I have tried below codes. but I am getting an error
:
string jsonString=…

sdm
- 33
- 4
-2
votes
1 answer
JSON to Multiline Java String Converter
This great codebeautify almost has what I need, but does not escape special characters and uses single quotes. Seems okay for JavaScript.
Any tools out there that can convert a JSON payload a to multi line escaped Java string?
I want to produce…

greg
- 1,118
- 1
- 20
- 40
-2
votes
1 answer
How to Deserialize complex JSON object using c#?
How to Deserialize complex JSON object using c#, Please i to need
DeSerialize the JSON string in following? i tried to put the
transaction property as a dictionary and not working so please any
idea ?
Exception when replace transaction…

Tareq Marji
- 1
- 4