Mapping JSON response to Java POJO Class using GSON
问题 I am trying to map below JSON to a POJO Class using Gson library. Below is the JSON response and POJO Class and mapping done import java.util.Map; import com.google.gson.JsonElement; public class DataResponse { private String $status; private Map<String, JsonElement> $payload; public String get$status() { return $status; } public void set$status(String $status) { this.$status = $status; } public Map<String, JsonElement> get$payload() { return $payload; } public void set$payload(Map<String,