Excellent, thanks for the tip!

On Monday, February 6, 2017 at 2:11:54 PM UTC, Konstantin Khomoutov wrote:
>
> On Mon, 6 Feb 2017 02:20:31 -0800 (PST) 
> omarsharif...@gmail.com <javascript:> wrote: 
>
> > Just a quick one - anyone know of a JQ package that supports 
> > modifying values that match? I've found several packages that support 
> > reading values but none that support modifying values on match. 
>
> Quick searching on godoc [1] turns up [2] which appears to support what 
> you need: its querying functions return "JSON subtree" objects which 
> apparently can be modified (and marshaled); worth investigating. 
>
> 1. https://godoc.org/?q=jsonpath 
> 2. https://godoc.org/github.com/bmatsuo/go-jsontree 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to