Afaik from my limited interaction with bash: At least you have proper datatypes.
Isnt bash essentially treating everything like a string and it’s up to you to resolve that?
Pretty much, though I use a lot of jq these days and many tools support json output and input. I’d love to see that paradigm expanded for more Unix tools. Maybe a new kind of pipe symbol for shells that implies strict json objects.
Afaik from my limited interaction with bash: At least you have proper datatypes.
Isnt bash essentially treating everything like a string and it’s up to you to resolve that?
Pretty much, though I use a lot of jq these days and many tools support json output and input. I’d love to see that paradigm expanded for more Unix tools. Maybe a new kind of pipe symbol for shells that implies strict json objects.
Nushell?
Not sure if you know of it, but I found this a while back and it helped me a lot: https://github.com/kellyjonbrazil/jc
Oh, that is interesting.