skip to Main Content

Parsing strange JSON-like format

I got some strange JSON-like format from Google Cloud OCR. It doesn't have quoted keys, colons, or commas. text_annotations { description: "," bounding_poly { vertices { x: 485 y: 237 } vertices { x: 492 y: 237 } vertices {…

VIEW QUESTION

Json – Bash group csv data by values

I have a CSV that looks like this: created,id,value 2022-12-16 11:55,58,10 2022-12-16 11:55,59,2 2022-12-16 11:50,58,11 2022-12-16 11:50,59,3 2022-12-16 11:50,60,7 I want to parse it so I have the following result, setting ids as columns and grouping by date: created,58,59,60 2022-12-16…

VIEW QUESTION
Back To Top
Search