Re: Help receiving JSON into CGI program

Justin Taylor <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <CAJu8Sp8NKZ1SihLMaO-KfBLs-o9KbSV6HGbZHO3ud_F0x_7P5w@mail.gmail.com>
Can you post a code snippet of how your code is inputing the existing CSV
data?


date: Tue, 12 Apr 2022 09:12:38 -0400
> from: "Alvin Strasburger" <[email protected]>
> subject: Re: [WEB400] Help receiving JSON into CGI program
>
> Jon,
> How to receive the JSON is our exact problem. We can parse a JSON-like
> string perfectly with DATA-INTO using a test string in our program. Our
> issue is the front end of how to receive the 'decoded' JSON doc. Our past
> experience is receiving comma delimited strings with no other punctuation
> or
> blanks. Now with trying to receive names and addresses, we end up getting
> an
> address element like 200%20MAIN%20ST instead of 200 MAIN ST. So in short,
> we
> don't really understand how to get the decoded JSON doc to the RPG/YAJL
> parser from the CGI interface.
>
> Alvin
> Alvin Strasburger
> Printgear Sportswear
> Phone    803-744-2310
> Toll Free 800-763-7763
> mailto:[email protected]
> www.printgear.com
>
>
>
-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.