我从移动端获取Json数组,并希望使用Java和jersey以及Gson解析服务器端的Json。我从iOS发送POST方法中的JSON数组。我想使用json但是如何在Java类中保存json数据。这是我的Json数组entities:{"stores":[{"tills":[{"name":"b1 till1"}],"name":"b1 store"},{"tills":[{"name":"b2 till2"}],"name":"b2 store"}],"name":"B mart"}
entities:{"stores":[{"tills":[{"name":"c1 till1"}],"name":"c1 store"},{"tills":[{"name":"c2 till2"}],"name":"c2 store"}],"name":"C mart"}
name:Dmart