main.exe does not exist
It’s my first time asking for help here. When I try to compile the code I get the following errors. I’m using VS Code and sometimes, after a write more code, i get these errors. I have attached some screenshots with the two errors. I’m using C/C++: g++.exe when building my file.
Adding an extra layer to a json dict then looping over it but get error malloc(): invalid size (unsorted)?
This will be quite a long question so thank you in advance for even reading it through!
How can I read deserialized dynamic json using C#
So sorry if this sounds basic, but I do not have any json experience and need to be able to read the following structure (RSI data)
How to convert a JSON into a TimeSpan c#
I’m having trouble converting a json into a timeSpan in C#, I have different json. Here are a few examples:
{ ‘seconds’: 60 } { ‘hours’: 11 } { ‘years: 5 }
Nested json data convert into datatable using c#
I have this json data
Is there any way C# to deserialize a JSON string of one class into another class?
My program has a class with many properties that store all the settings and information for a user’s project, like this:
Convert Json To Table Dynamically using C#
const jsonArray = [ { “name”: “John”, “age”: 30, “city”: “New York”, “cars”: [ { “name”: “Ford”, “models”: [“Fiesta”, “Focus”, “Mustang”] }, { “name”: “BMW”, “models”: [“320”, “X3”, “X5”] }, { “name”: “Fiat”, “models”: [“500”, “Panda”] } ], “address”: { “street”: “5th Avenue”, “number”: 10 } }, { “name”: “Jane”, “age”: 25, “city”: “San Francisco”, […]
Serializing and deserializing JSON to typed objects at runtime without storing type information
Trying to create a fairly simple outbox pattern without taking dependencies on external libraries. Core thing I am trying to accomplish is handle transient failures. I use CQRS along with Mediatr to keep my view DB in eventual consistency with my transaction DB. I update view DB via in-process events via handlers. (E.g. UserCreatedEvent -> UserCreatedEventHandler)
C# Json Deserialize Dynamic Type
We have a C# Console Application that calls several 3rd party API’s. We get the data from these API’s back in JSON format. We are trying to deserialize the JSON into a defined class. The issue is that the ‘custom_attributes’ property in the json contains objects with the following structure: