Project

json2val

0.0
No commit activity in last 3 years
No release in over 3 years
Extract values from json on commandline without funcky regexps
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

> 0
 Project Readme

Gem Version

json2val

Commandline json value extractor

Quickly knocked out as I got frustrated with flying JSONs around where i couldn't extract simply values

Reads json string from STDIN and ruby prints the value, pass arguments as per example usage below

Usage

Example :

cat example.json | bin/json2val.rb environment

Embedded values inside hashes

cat example.json | bin/json2val.rb packages generik-app-oip-odi-stg