3 ms·
> For example, allowing passing around dicts/maps/json (and possibly other data structures) would already be a massive improvement. Well, it is allowed. You ca
by boomlinde 6y ago
> For example, allowing passing around dicts/maps/json (and possibly other data structures) would already be a massive improvement.
Well, it is allowed. You can of course serialize some data into a structured format and pass it over a byte stream in POSIX to this end, and I think this is appropriate in some cases in terms of user convenience. Then you can use tools like xpath or jq to select subfields or mangle.
> (if you squint, files look like a poor man’s version of objects imposed on top of bytestreams)
If all you have is a hammer...