micha / jsawk

Like awk, but for JSON.
1.39k stars 96 forks source link

lacking of straightforward example #54

Open julesbou opened 8 years ago

julesbou commented 8 years ago

Hi there,

Thanks for all, it works wonderfully.

I think it would be great to put a really easy example at the top of your README for clarity.

Following example might be obvious for everyone, but it wasn't for me:

$ echo '{"token":"1234"}'  | jsawk 'return this.token'
1234

(feel free to close this issue if you want)

mzmousa commented 8 years ago

https://github.com/micha/jsawk#examples is pretty straightforward.