サーバーでツリー情報を JSON 形式で返すクエリを実行しています。下
[{"leaf": 0, "context": {}, "text": "ABC-1-6-1", "expandable": 1, "id": "1.1.2.202.ABC-1-6-1", "allowChildren": 1}]
私はjson-simpleライブラリで遊んでいましたが、上記の情報を文字列形式で取得できる場合、JSONParserを使用して問題なく解析できます。
String jsonString = "{\"leaf\": 0, \"context\": {}, \"text\": \"1.1.2.202.ABC-1-6-1\", \"expandable\": 1, \"id\": \"1.1.2.202.ABC-1-6-1\", \"allowChildren\": 1}";
どんな助けでも素晴らしいでしょう!