Dim sCode As String = $"[{action: 'move_to_inbox', title: 'Inbox'},{action: 'send', title: 'Sent'},{action: 'delete', title: 'Trash'},{action: 'report', title: 'Spam'},{divider: True }, {header: 'Labels'},{action: 'label', title: 'Family'},{action: 'label', title: 'Friends'},{action: 'label', title: 'Work'}]"$
Dim j,k As JSONParser
j.Initialize(sCode)
Dim iCount As Int = 0
Dim a As List = j.NextArray
Log(a)
For Each item In a
Log("------" & CRLF & "item " & iCount & CRLF &"------")
k.Initialize(item)
Dim m As Map = k.NextObject
For Each mitem In m.Keys
Log(mitem & " = " & m.Get(mitem))
Next
iCount = iCount + 1
Next