-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
What steps will reproduce the problem?
1. toJSON() parse Array to JSON data error, leading 592 error
parsed data using the old version jsonrpc.js toJSON()
"list":
[{"id": "123456"}],
"javaClass": "java.util.Vector"
parsed data using the 1.3.2 version jsonrpc.js toJSON()
"list": {
"0": {"id": "123456"}
},
"javaClass": "java.util.Vector"
2. jabsorb.jar throw new UnmarshallException
public class ListSerializer extends AbstractSerializer
JSONArray jsonlist;
try
{
jsonlist = jso.getJSONArray("list");
}
catch (JSONException e)
{
throw new UnmarshallException("Could not read list: " + e.getMessage(), e);
}
What is the expected output? What do you see instead?
UnmarshallException
What version of the product are you using? On what operating system?
1.3.2
Please provide any additional information below.
Original issue reported on code.google.com by colday...@gmail.com on 6 Nov 2014 at 6:49
Reactions are currently unavailable