Been trying to convert an object in JSON to java using Gson but many things do not match up. Before the object was an int, now it's converted into an object. This is part of the JSON (I need only damage to get converted):
I've tried most of the guides online but still not helpful at all.
[
{
"username": "lol",
"value": [
"one","two"
],
"Power": [
{
"type": "Damage",
"damage": {"first":2, "second":0,"third":0}
}]}]