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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:5411:: with SMTP id t17mr3704333ita.10.1544814036758; Fri, 14 Dec 2018 11:00:36 -0800 (PST) X-Received: by 2002:aca:cc0f:: with SMTP id c15mr37858oig.3.1544814036269; Fri, 14 Dec 2018 11:00:36 -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!q69no80507itb.0!news-out.google.com!v71ni109ita.0!nntp.google.com!q69no80504itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 14 Dec 2018 11:00:35 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.77.182.20; posting-account=W2gdXQoAAADxIuhBWhPFjUps3wUp4RhQ NNTP-Posting-Host: 76.77.182.20 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <75c6e8f5-c564-4ded-8314-7f12612fe991@googlegroups.com> Subject: Re: gnatcol json vs network read From: Stephen Leake Injection-Date: Fri, 14 Dec 2018 19:00:36 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55039 Date: 2018-12-14T11:00:35-08:00 List-Id: On Friday, December 14, 2018 at 9:50:10 AM UTC-8, Stephen Leake wrote: > > So I guess I'll write a {} counter, and wait for more data from the network if the first object is not complete. Arg. The problem turned out to be the client (an Android app) is sending ' as UTF-8 16#e28099# instead of ASCII ', throwing off the byte count. sigh. There should still be an incomplete object problem, but apparently I haven't actually seen it yet. -- Stephe