2011-09-06 93 views
0

我得到了一個來自服務器的JSON響應,請讓我知道如何解析這個。 我只需要解析黑莓中的JSON響應

---------------------------7da7d113c0dea 
Content-Type: application/json 
Content-Length: 338 
Request-Id: 714a31e1-1b2c-4e10-8ce1-7b7c4204ff66 
response-type: rfc_json 
status-code: 200 
processing-time: 74993 


{"EXPORTING":{"OUT_CATEGORY_CODE_DESC":[{"CONTENT":"1","LIST_ID":"","DESCRIPTION": 
"Business Area","DISABLED":""},{"CONTENT":"2","LIST_ID":"", 
"DESCRIPTION":"Industry","DISABLED":""},{"CONTENT":"5","LIST_ID":"", 
    "DESCRIPTION":"Vendor","DISABLED":""}], 
    "OUT_MESSAGE":"","OUT_SOLUTION_DETAILS":[], 
    "OUT_SUBCATEGORY_SEARCH":[]},"IMPORTING": null} 

    ---------------------------7da7d113c0dea-- 

我想以檢索值OUT_CATEGORY_CODE_DESC [],OUT_SOLUTION_DETAILS 「:[]和OUT_SUBCATEGORY_SEARCH」:[]。你有什麼樣的代碼嗎?

+2

檢查http://stackoverflow.com/questions/7288204/reading-json-on-blackberry-os-pre-6-0 –

回答