News for hackers. Stuff that matters.
[dead]
Re:jc – JSONifies the output of many CLI tools by kbrazil on Thursday November 03, 2022 @10:51PM (#33461444)
Hi - jc author here. Just a couple points:

The casting to int/float is not done unless the underlying values are predictably documented to be numbers. There are rare cases where auto int/float conversions are done, but:

1) This is always documented, and

2) You can turn this functionality off via the —raw flag

Also, predictable schemas are documented with each parser. (e.g `jc -h —-arp`)

Re:jc – JSONifies the output of many CLI tools by jwilk on Friday November 04, 2022 @05:06AM (#33463729)
> Big Four "UN*X command output -> data" converters

What do you mean?

Re:jc – JSONifies the output of many CLI tools by khiqxj on Tuesday November 08, 2022 @07:45PM (#33526234)
I mean that there would be a big 4 such converters if people actually invested time into these "front ends" to CLIs.