python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Writing OpenAPI schema and generating client code for HTTP API that responds with polymorphic array
I'm trying to write an OpenAPI 3.0 schema for an HTTP API. One of its requests responds with a polymorphic array of objects something like this:
[
{
"type": "Base",
"...

Dan Stevens
Votes: 0
Answers: 1
Best way to deserialize Json with nested objects into Android Room Entity with ForeignKeys
I have a Client api. The json response looks like this:
{
"clientId": 1,
"createdAt": null,
"updatedAt": null,
"monthlyPaymentAmount": null,
...

Jesus Jimenez
Votes: 0
Answers: 2
Converting JToken into a complex Object using ToObject
sorry for my bad english. But i need a little help with this method (ToObject)
I have this class
namespace Proyects
{
public class AProductType
{
public DateTime Cr...
juan lopez
Votes: 0
Answers: 1
convert json to C# class
I want to convert the following to a C# class, can anyone help please? I have tried many different mutations but none can actually map the Params to the class.
{
"method": "update&q...

Emily Wong
Votes: 0
Answers: 2