Skip to content

tecs/jsonparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

jsonparse

A JSON parser implementation mostly written in pure bash

Usage

cat sample.json
# {
#   "foo": 42,
#   "bar": [
#     {
#       "baz": "Hello World"
#     },
#     false
#   ]
# }

cat sample.json | ./jsonparse foo
# 42

cat sample.json | ./jsonparse bar
# [{"baz":"Hello World"},false]

./jsonparse 'bar[0].baz' < sample.json
# Hello World

About

A JSON parser implementation written in bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages