From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: In memory Stream Date: Mon, 19 Feb 2024 09:32:42 +0100 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 19 Feb 2024 08:32:43 -0000 (UTC) Injection-Info: dont-email.me; posting-host="143ea3e9f4ad0c904681a1e454a6a0bb"; logging-data="1880881"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5HZoz6PzcRMZ7+B2up+13/vghbSFeA1k=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:njsnTptp0dUK4Qt+H2VhcII0uYM= In-Reply-To: Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:66101 List-Id: On 2024-02-19 00:44, Lawrence D'Oliveiro wrote: > On Sun, 18 Feb 2024 23:10:07 +0100, Dmitry A. Kazakov wrote: > >> On 2024-02-18 21:58, Lawrence D'Oliveiro wrote: >>> On Sun, 18 Feb 2024 14:02:32 +0100, Dmitry A. Kazakov wrote: >>> >>>> There is no need in XDR, JSON, ASN.1 or other data representation >>>> mess. They are just worthless overhead. >>> >>> Most languages nowadays have JSON libraries readily available. That is >>> a very easy format to use for passing structured data between >>> processes. >> >> It is easy to jump down the stairwell too. Though I would not recommend >> such course of action... > > Fun fact: you can prove any argument just by coming up with a suitably > spurious analogy. For example, your argument is wrong, just by virtue of > the fact that cats land on their feet. No. There is no argument as you provided none. You did not say why JSON is needed. You said there are libraries. Yes, there are, the Simple Components provides a JSON parser: http://www.dmitry-kazakov.de/ada/components.htm#13.10 So what? The purpose is support of legacy protocols and interfacing other languages. For an Ada program JSON has no use. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de