[Info-vax] JSON, was: Re: First ship poll: When will the first native x86-64 compilers ship ?

Arne Vajhøj arne at vajhoej.dk
Sun Apr 17 19:27:04 EDT 2022


On 4/17/2022 6:55 PM, Simon Clubley wrote:
> On 2022-04-16, Richard Maher <maher_rjSPAMLESS at hotmail.com> wrote:
>> I work every year with wankers that don't understand relational DBs and
>> SQL and insist on some shit like Entity Framework to try to turn a table
>> into a class(es) and other wankers that demand a "model" because they're
>> upset JSON is just a String :-(
> 
> But JSON isn't a string. That would be like calling a database just
> a stream of bytes.
 >
> The string is just the backing store for the data held within and you
> certainly do need a parser, and maybe some object model that you can
> iterate through, to assign meaning to the contents of that string.

Yep.

> Having said that, I do think that sometimes people do go overboard in
> using whatever is the fashion of the month instead of just a nice simple
> parser that maybe just builds an object tree that you can iterate through
> to extract the data you need.

If you use JSON then you do not need to write that parser but can
just pick one and use it - for almost all languages - and for
the more popular languages there are multiple parsers to choose from.

Arne




More information about the Info-vax mailing list