Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
116 views

I'm trying to create a save file that save the position and speed of all objects in the scene, however when OnSave() is called, the unity editor completely freezes and doesn't seem to do anything. ...
DeadBread's user avatar
Best practices
1 vote
9 replies
153 views

I need to load a series of API responses into one object because the item limit in the API is less than the total items. Currently I'm reading the response into a json string and reurning it once. ...
DavidxDavid's user avatar
Best practices
0 votes
0 replies
56 views

I need to convert serialized JSON text to a JToken jt in a way that preserves exact values of doubles _and_ of decimals: Values serialized from double.MaxValue, decimal.MinValue, double.Epsilon and ...
Carsten Scholtes's user avatar
3 votes
1 answer
146 views

I'm using newtonsoft.json. I've got classes created from XSD to C#. Inside these classes are some properties whose names should dynamically change when serializing in XML, based on the type to as ...
philippe's user avatar
  • 150
7 votes
2 answers
286 views

I'm using a C# Library that implement a custom HashSet<T> called ObservableHashSet<T>. You can find more information about it here. And here the source code for the ObservableHashSet Short ...
Eledwin's user avatar
  • 171
5 votes
1 answer
187 views

I am aware of the issue when deserialising date values in JSON strings that represent a System.DataSet when the first row contains a NULL. Compare the two strings: "{\"Table1\":[{\"...
DinahMoeHumm's user avatar
  • 1,120
1 vote
1 answer
315 views

I am binding an OpenAPI 3.0 JSON file in my C# project with .NET Framework 4.8. While doing this, I want to adjust the .json configuration to make the code generated using OpenAPI code generator use ...
Khamis Abuelkomboz's user avatar
2 votes
1 answer
156 views

I have a couple of ISerializable classes (simplified): internal interface IBase : ISerializable { int Number { get; } } internal interface ITable : IBase { ISection Section { get; } } [...
bairog's user avatar
  • 3,593
3 votes
1 answer
185 views

I have a couple of classes (simplified): internal interface ITable { int Number { get; } ISection Section { get; } } internal class Table : ITable { public int Number { get; private init; ...
bairog's user avatar
  • 3,593
0 votes
0 answers
98 views

I have a C# OpenAPI service, which uses dotnet-nswag.dll openapi2cscontroller to generate the Controller code based on a yaml definition. In Program.cs, builder.Services.AddNewstonsoftJson( ...
kzfid's user avatar
  • 846
0 votes
1 answer
112 views

I'm writing code for .NET 8. Given this class Sample: [Serializable] [TypeConverter(typeof(ExpandableObjectConverter))] [DataContract] public class Sample { [DataMember] public int SampleId {...
mich's user avatar
  • 21
1 vote
1 answer
97 views

I am attempting to code a nested JSON object for an upload API endpoint. I am having issues forming the code for the nested object. When I call the endpoint to post the data to their site, I get a ...
DukeStar's user avatar
0 votes
1 answer
152 views

I have a couple of classes (simplified): internal class OrderItem { public string Name { get; set; } public Order Order { get; set; } } internal class Order { public IReadOnlyList<...
bairog's user avatar
  • 3,593
0 votes
0 answers
97 views

I'm working on a C# program that will integrate with an external REST API, which claims to be JSON:API-compliant. For (de)serialization purposes, I'm using the JsonApiSerializer library. Unfortunately,...
In Hoc Signo's user avatar
0 votes
1 answer
131 views

So i have WeaponStats class that contains one of classes that inherit from IDamageType. Fire is empty bacause i didn't receive anything back from game designer and its still empty. But i can add ...
Jariz's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
940