Thank you!! That worked brilliantly!
On Monday, January 30, 2017 at 10:39:56 AM UTC-5, Konstantin Khomoutov
wrote:
>
> On Mon, 30 Jan 2017 07:14:23 -0800 (PST)
> Rich > wrote:
>
> > If I have JSON that looks like this:
> [...]
> > > My question is that the JSON I have to parse the IPAddr is n
https://play.golang.org/p/uvbJYQoqtl
On Mon, Jan 30, 2017 at 7:39 AM Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:
> On Mon, 30 Jan 2017 07:14:23 -0800 (PST)
> Rich wrote:
>
> > If I have JSON that looks like this:
> [...]
> > > My question is that the JSON I have to parse the IP
https://play.golang.org/p/uvbJYQoqtl
On Mon, Jan 30, 2017 at 7:39 AM Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:
> On Mon, 30 Jan 2017 07:14:23 -0800 (PST)
> Rich wrote:
>
> > If I have JSON that looks like this:
> [...]
> > > My question is that the JSON I have to parse the IP
On Mon, 30 Jan 2017 07:14:23 -0800 (PST)
Rich wrote:
> If I have JSON that looks like this:
[...]
> > My question is that the JSON I have to parse the IPAddr is not
> > always the
> same. AND there are 50+ IPAddr= blocks... For example:
>
> > {
> >"value" : {
> > "IPAddr=10.1.1.12" :
If I have JSON that looks like this:
>
> {
>
>"value" : {
>
> "IPAddr=10.1.1.12" : {
>
> "ReplyTime" : {
>
> "minTime" : 0,
>
> "maxTime" : 0,
>
> "averageTime" : 0
>
> }
>
> }
>
> }
>
> }
>
> Normally you'd setup a struct: