Mismatch between JSON displayed in Raw Data and in JSON viewer pane
Hi, I am using SOAPUI 5.2.1 (build date: 20151002-1138) to test the response of a REST webservice. The service seems to be sending an incorrect JSON data, wherein a node that was expected to come as an array is, of course, not coming as an array. The JSON Viewer pane though shows the node as an array, which caused quite a bit great confusion till the raw data pane showed that the JSON response is indeed having an issue. To illustrate, let me give an example here: Data taken from Raw: { "APIResponse": { "Contact": { "phoneNumbers" : { "type" : "mobile", "number" : "1234567890" }, "phoneNumbers" : { "type" : "landline", "number" : "9876543210" } } } } And this is how it mysteriously appears in JSON tab with the node "phoneNumbers" automatically converted as an array: { "APIResponse": { "Contact": { "phoneNumbers" : [ { "type" : "mobile", "number" : "1234567890" }, { "type" : "landline", "number" : "9876543210" } ] } } } Any idea why this is happening? Thanks in advance!!809Views0likes0Comments