java json 转对象

Gson gson = new Gson();
YpEn ypBean = gson.fromJson(str, YpEn.class);

你可能感兴趣的:(android,JAVA)