XML JSON Parser component examples

For general Flowcode discussion that does not belong in the other sections.
Post Reply
MJU20
Posts: 246
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

XML JSON Parser component examples

Post 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.

BenR
Matrix Staff
Posts: 1747
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 444 times
Been thanked: 604 times

Re: XML JSON Parser component examples

Post 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.

MJU20
Posts: 246
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: XML JSON Parser component examples

Post by MJU20 »

Thank you BenR!

Post Reply