我有如下字符串:
{"account":{
"username":"ikevin2222",
"birthdate":"2017-01-31T09:37:44.000Z",
"gender":true,
"emailaddresses": [{
"emailaddress":"aaa@bbb.com",
"verificationcode":"AAAAAA",
"isverified":false
}]
}}
我该如何使用Google/GSON将其转换为Java POJO?
gson.fromJson(jsonString, MyClass.class)
? - Abubakkar