Skip to content

bash2json

The most bash JSON parser

No dependencies

bash2json only requires bash 5.2+ for it’s full functionality.

Open-source

You can freely change any function and it’s behavior or reuse them in other projects.

Fast and lightweight

Pure bash code allows it to be fast and be less than 30Kb in size

Convertation features

bash2json supports associative/indexed arrays to JSON convertation and vice versa