[JSON] This extension is not for coverting JSON arrays

[JSON] This extension is not for coverting JSON arrays

  
Forge Component
(4)
Published on 2015-01-20 by Robert Chanphakeo
4 votes
Published on 2015-01-20 by Robert Chanphakeo

Just for your information: if your data is an array then you will get a "XmlNodeConverter can only convert JSON that begins with an object." exception.

Grigory Nitsenko wrote:

Just for your information: if your data is an array then you will get a "XmlNodeConverter can only convert JSON that begins with an object." exception.

Hi Grigory,

I would recommend you to use the following component: https://www.outsystems.com/forge/component/413/ardojson/. For parsing JSON arrays with this, you can create a text list data type in the structure.