how to create a list of countries from a .json file from restcountries rest API?
I am trying to create a list of countries from the .json file of restcountries.
Problem serializing json string to object – not all data from string is mapped
By calling a SAP Business One API endpoint I’m getting all the stock adjustments that were made in our warehouse. The response from the SAP endpoint contains all the data I need but when I deserialize this data to an object with the help of JSONConvert not all the data is returned.
Does anybody recognizes this Problem?
Use C# JsonConvert.DeserializeObject to convert a “2024-05-29T08:00:00.000Z” to Nullable DateTime
I cannot Deserialize Dates into DateTime?
Parsing Version type with Json.NET during deserialization throws an error
I have a model that I serialised using Json.NET, however, when I de-serialise, I get an error when it attempts to parse a Version
type property.
How to get differences between two nested JSON Objects in C#
I wanna compare two JSON objects and get differences between theme like add/remove and change value.
Create a DataTable from a Json reading nested arrays and only the relevant properties
I need to create a DataTable using .NET to read a Json and get the values that we pass the path in as parameter to the app, including nested values, and that DataTable need to have as many rows as values the Json has, so if the Json has an one property with an array of 3 items, then it has to insert 3 rows into the DataTable with the same values except for this property.
How to serialize my object which gives out the whole structure using newtonsoft json?
I am trying to print out a json structure of my object using newtonsoft. For eg:-
Remove Properties From a Json String using newtonsoft
I have the following JSON string:
Remove Properties From a Json String using newtonsoft
I have the following JSON string:
How to set json field name from property value in run-time .net
How to serialize an object to json through setting json field name from object’s property value?