convert a 3D JSON object into a "fake" 3D associative array in Bash
I have object in JSON that has the structure as shown below and I want to convert it into a "fake 3D" associative BASH array with the following structure: SHIPS[$mmsi:mmsi]=367513050 SHIPS[$mmsi:lat]=42.380329 ...etc In other words, I want the mmsi value…