by pydry · 4y ago · 0 comments
I'm very skeptical of this. If I put x=001979 in as a value I dont think I want you trying to guess if that's supposed to be an integer or a string.
This sounds like the Norway Problem waiting to happen.
But, clearly there is a use-case for producing json with integer, null, and boolean values.
x=005 // {"x": "005"}
X:=005 // {"x": 5} jo -- -s opaque_id=001979
{"opaque_id":"001979"}Avoid using this command in prod.
jo -- -s a=123 -s b=00123 -s c="$(date)"
{"a":"123","b":"00123","c":"Sat 5 Feb 21:29:08 GMT 2022"}
What's the issue?Implicit typing sucks: https://www.destroyallsoftware.com/talks/wat