2011-02-02 158 views
2

我從服務器將JSON值轉換JSON對象轉換爲字符串在java中

{"User": 
     {"loginId":"Rajaa", 
     "firstName":"Rajaa", 
     "lastName":"Ramanathan", 
     "emailId": "[email protected]", 
     "creationDate":"2011-01-25T12:00:00+05:30", 
     "lastUpdate":"2011-01-25T12:00:00+05:30", 
     "updated":"2"} 
} 

我想借此loginIdfirstName等爲字符串。

任何人都可以幫助我嗎?

+0

相關的http://stackoverflow.com/questions/1395551/convert-a-json-string-to-object-in-java – Raghuram 2011-02-02 05:55:56

回答