3 ms·
When it's not formatted, just emitted as a single line. (Granted grep still works, but...not nicely.)
by b3morales 5y ago
When it's not formatted, just emitted as a single line.
(Granted grep still works, but...not nicely.)
- dylan604 5y agogotcha. i'm imagining a pretty gnarly regex to return the data after the first colon after the match but only up until the next comma or square bracket or curly bracket. yeah, that's unpleasant. thankfully, there are tools like jq to help maintain one's sanity
- akyoan 5y agoTo be honest I find it funny that anyone would attempt to “parse” such a simple format with the wrong tool when there are plenty that can extract data in dot notation.