Skip to content

sosodev/json-ripper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

921e6b2 · Nov 29, 2021

History

7 Commits
Aug 11, 2021
Aug 11, 2021
Nov 29, 2021
Nov 29, 2021
Nov 29, 2021

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