JSON ARRAY DOES NOT HAVE  WHEN ONLY ONE ELEMENT IS RETURNED
Last updated on MAY 15, 2017
Applies to:Oracle E-Business Suite Integrated SOA Gateway - Version 12.2.4 and later
Information in this document applies to any platform.
Issue: Facing an issue with JSON arrays returned by ISG REST API.
When data corresponding to pl/sql table is returned we expect to see the JSON
object encapsulated with in . This seems to work fine when there are more
than one element being returned.
However when there is only one value in the returned table, the  are
missing. This is causing issues at the client side since the code always
expect an Array.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms