Fix Json Analyze failed issue
Issue-ID: SO-348
Change-Id: Iffddccb2d8c15d954920dd1f6529e2e2b7656b87
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
JSONObject obj = new JSONObject(stringListJson);\r
JSONArray arr = obj.getJSONArray("strings");\r
for (int i = 0; i < arr.length(); i++){\r
- String s = arr.getString(i);\r
+ String s = arr.get(i).toString();\r
list.add(s);\r
}\r
msoLogger.debug("Outgoing List is: " + list);\r
msoLogger.debug("Completed String Array To List Util Method");\r
return list;\r
}\r
-\r
+ \r
/**\r
*\r
* Invokes the getJsonRawValue() method to determine if the\r