package to traverse through json objects
go get github.com/pchang211/jsonpath
Implements a subset of the path extraction tool for JSON discussed in http://goessner.net/articles/JsonPath/
Supports simple path selection and array indexing. For example, given the body
{"foo":{"bar":"baz", "array":["hello", "world"]}}
selection with the following will yield
$.foo.bar
>> "baz"
$.foo.array[0]
>> "hello"
$.foo.array.*
>> ["hello","world"]
Philip Chang [pchang211@gmail.com] Adapted from: Bryan Matsuo [bryan dot matsuo at gmail dot com]