jsonconverter Questions

3

I have used "HasConversion" in my DBContext to define a JSonArray (Language/Value) and save it as a Text field for ages and It works like a charm, I added a new project to my solution, nothing chan...

2

Solved

I'm trying to deserialize a json string by using the Jsonconverter. I have all the values inside the json, I also want to mention that, that specific json is being generated from the swagger, so wh...
Luella asked 12/3, 2020 at 9:31

1

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? entr...
Karykaryl asked 9/3, 2022 at 9:17

1

Solved

I have two classes in .Net Core The class Ownership namespace CustomStoreDatabase.Models { public class Ownership { public string OwnershipId { get; set; } public List<string> TextOutput ...
Hebrews asked 6/2, 2021 at 5:2

1

I'm serialising a BigInteger to JSON using System.Text.Json: JsonSerializer.Serialize(new {foo = new BigInteger(ulong.MaxValue) + 1}) This results in the following output: {"foo":{"...

3

Solved

I've got a c# class that I am trying to correctly serialise using Newtonsoft.Json. The property is an enumeration type and I wish the value to be serialised as the "lowercase version of the enumera...
Substantial asked 1/2, 2019 at 17:51

1

Solved

I am trying to serialise/deserialise a .NET DataSet using Json.NET and a custom serialiser. I know many of you will tell me not to (I have seen this on other posts) I have a valid reason and wish t...
Pontoon asked 30/1, 2019 at 13:34

1

When using Newtonsoft.Json, I can make it do what I need by adding a converter to the top level SerializerSettings or supplying it to the conversion invocation - all is working well. I'm hoping to...
Gewirtz asked 28/6, 2018 at 8:0
1

© 2022 - 2024 — McMap. All rights reserved.