Page 1 of 1

XML JSON Parser component examples

Posted: Fri Sep 16, 2022 5:39 pm
by MJU20
Hey,

In the WIKI, the examples for the XML JSON Parser component are built with the Flowcode App Developer pack.

I don't have the Flowcode App Developer pack. Can I use this component?
Can Someone please upload an example to use this component?

What I want to do is (without a lot of hassle) call an HTTP API and search the response (XML or JSON), for certain values.

Re: XML JSON Parser component examples

Posted: Mon Sep 19, 2022 10:53 am
by BenR
Hello,

The XML/JSON parser are simulation only components, they don't work on embedded as they would require fairly large amounts of RAM to unpack the file contents.

Is it an embedded version you're after, this might be better to do on the fly using something like the circular buffer. Load in bytes until you hit a new line, perform a search for the keywords you're after. Repeat until no new data.

Alternatively can you send us the data your receiving and what values you're after and I can have a think.

Re: XML JSON Parser component examples

Posted: Thu Sep 22, 2022 5:15 pm
by MJU20
Thank you BenR!