any way i can deserialise a json object to its own...
# jackson-kotlin
h
any way i can deserialise a json object to its own temporary class, where i can call the objects myself, as many values can be null for it? so if I have my json like this:
Copy code
{
  "book": {
    "publisher": "Disney-Hyperion",
    "image": "https://images.isbndb.com/covers/64/31/9781484746431.jpg",
    "title_long": "The Trials of Apollo Book Three The Burning Maze",
    "date_published": "2018-05-01",
    "authors": [
      "Rick Riordan"
    ],
    "title": "The Trials of Apollo Book Three The Burning Maze",
    "isbn13": "9781484746431",
    "binding": "Hardcover",
    "publish_date": "2018-05-01",
    "isbn": "1484746430"
  }
}
I can do stuff like if(jsonObject.has(“isbn”)) isbn = jsonObject.get(“isbn”)