Skip to content

sosodev/json-ripper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-ripper

It rips JSON from text and dumps all of it to an array. Also emits the given text, so you can still monitor your output.

echo "what {\"is\": \"this?\"} wow {\"that's\": \"cool\"}" | json-ripper
what {"is": "this?"} wow {"that's": "cool"}

[{"is":"this?"},{"that's":"cool"}]

or with the -no-echo flag you just get the ripped JSON without an echo of the input

echo "what {\"is\": \"this?\"} wow {\"that's\": \"cool\"}" | json-ripper -no-echo

[{"is":"this?"},{"that's":"cool"}]

Install

with a correctly configured Go installation run

go install github.com/sosodev/json-ripper@latest

About

it rips JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages