Category "json-deserialization"

Polymorphic deserialization of nested list object in Kotlin

Trying to deserialize a pretty complex json string, I've done simpler ones but am struggling with how to set this up. I've also found some examples on simple po

Unable to Deserialize HttpResponseMessage to Model Object

Code for Getting the Response: public async Task<List<RepositoryListResponseItem>> MakeGitRequestAsync<T>(string url) { List<Repositor

CustomDeserializer has no default (no arg) constructor

I am consuming a REST Api with RestTemplate. The response I'm getting from the API has lots of nested objects. Here's a little snippet as an example: "formular

Deserialization of reference types without parameterless constructor is not supported

I have this API public ActionResult AddDocument([FromBody]AddDocumentRequestModel documentRequestModel) { AddDocumentStatus documentState =

POJO Json object wrapped in double quotes doesn't deserialize to Java

My application is receiving json objects from some source and these are wrapped as strings. These are not getting deserialized but throw exception like mentione