From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:6514:: with SMTP id z20mr3421451iob.38.1544814830042; Fri, 14 Dec 2018 11:13:50 -0800 (PST) X-Received: by 2002:aca:5884:: with SMTP id m126mr38054oib.4.1544813629439; Fri, 14 Dec 2018 10:53:49 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!q69no81700itb.0!news-out.google.com!v71ni112ita.0!nntp.google.com!k10no81519itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 14 Dec 2018 10:53:49 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=208.114.128.47; posting-account=MRPdDAoAAADUJmZVjnYaoafXFMadSeY1 NNTP-Posting-Host: 208.114.128.47 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: gnatcol json vs network read From: Olivier Henley Injection-Date: Fri, 14 Dec 2018 19:13:50 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55040 Date: 2018-12-14T10:53:49-08:00 List-Id: > Occasionally, this will throw INVALID_JSON_STREAM :1:155: empty str= eam side note: make sure the source of your json stream does not contain capital letters f= or keys. If you have such anomalies, perform a to_lower() before trying to = parse/extract the json. It happened to me before and the error message was = not helping... the kind you got. olivier