python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Is there a Gson @DeserializedName equivalent to the @SerializedName annotation?
I'm able to set the @SerializedName to this_field so when I use the toJson() function it'll use it properly. However when I'm trying to read it in via fromJson() function it'll try to use thisField.
N...
Zera42
Votes: 0
Answers: 1
How to serialize/deserialize (json) a class that has an attribute that's an interface
I'd like to serialize/deserialize (json) a class that contains an attribute that is an interface, but the underlying class doesn't have any attributes. The below is my most simplified case and my best...
nanotek
Votes: 0
Answers: 2
SYMFONY, API PLATFORM how to add edit and show links to the serialized object
I'm working with SYMFONY and API PLATFORM to create REST API.
I have a Project Entity as an API Resource :
class Project
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type=&qu...
Khaled Boussoffara
Votes: 0
Answers: 1
C# RestSharp v107 -> How use DeserializationAs
i woudl like to upgrade RestSharp Nuget from 106 to 107 version.
In 106 version i using RestSharp.Deserializers namespace and tag like below
[DeserializeAs(Name = "testinfo")]
public string ...
Mahatma Gandhi
Votes: 0
Answers: 1