> On 27 Jul 2017, at 14:09, Epperlein, Lutz (agendo) via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Is there any way to get the wanted result? 


Hi Lutz,

Yes, there is. Use the JSON commands from NTK Plugin.

Here is some example code:

$object:=JSON Parse Text($json)
If ($object#0)
        $array1:=JSON Get Array($object;”values”)
        $count1:=JSON Count Items($array1)
        For($i;1;$count1)
                $array2:=JSON Get Array($array1;String($i))
                $count2:=JSON Count Items($array2)
                For($j;1;$count2)
                        $value:=JSON Get Number($array2;String($j))
                End for
        End for
        JSON Release($object)
End if

HTH,

- Rob Laveaux

--------------------------------------------------------
Pluggers Software
Scholekstersingel 48
2496 MP  Den Haag
The Netherlands

Email: rob.lave...@pluggers.nl <mailto:rob.lave...@pluggers.nl>
Website: http://www.pluggers.nl <http://www.pluggers.nl/>

--------------------------------------------------------



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to