Json To List component
Discussion

I have published my first component on forge today.

It is a simple Json to list component using Xpath.

Component takes Json string, Xpath as input and returns a list of record in key value pair according to Xpath provided.

It also has a IsMultple flag which is used to determine weather the data we are fetching is a array of records or single record.

Please check out the component with below link and provide me feedback:-

https://www.outsystems.com/forge/component-overview/11154/jsontolist

Hello @Krunal Vyas,

Congrats on your first component! 

FYI, I encounter errors when I tried to parse simple JSON:

I tried various JSON samples from online. On some I get the above error, on others nothing happens i.e. no error is raised, but there is no output either.

Regards,

AJ

Hello AJ,

Thank you for the feedback.

As i can see in the screenshot,

You have not passed the json path which is a required thing.

That is the parameter which will be used to search from Json.

Can you please attach the Json you used

I will also check from my side.


Thanks,

Krunal

Thank you Krunal, 

You are right, once I declare an xpath it works as designed. Problem was between the chair and the keyboard and not taking the time to read all the details :).

Regards,

AJ

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.