Question
CTS
NL
Last activity: 23 Feb 2017 5:02 EST
JSON response starts with an array
Hi,
We have configure service rest and send out pagelist data in json format as response. We are getting the response, but the response starts with an array. Example below-
[{ "data":[{"a":"123","b":"456"}]},{ "data":[{"c":"123","d":"456"}]}].
We want only one object data with array of results. Example below-
{ "data":[{"a":"123","b":"456"}], "data":[{"c":"123","d":"456"}]}. How could i achieve this. Please help.
Thanks in advance.