Skip to content

Instantly share code, notes, and snippets.

View am11's full-sized avatar
🎉
if you are reading this, have a great day!

Adeel Mujahid am11

🎉
if you are reading this, have a great day!
View GitHub Profile
@am11
am11 / JSON in pure Bash
Created December 26, 2020 07:52 — forked from mzpqnxow/json.sh
bash JSON implementation
# functions for parsing and generating json
_json_get_var() {
# dest=$1
# var=$2
eval "$1=\"\$${JSON_PREFIX}$2\""
}
_json_set_var() {
# var=$1