Am 18.08.2011 um 21:12 schrieb Francesco Maida:

> Is this the only way to access a nested parameter?

You can easily add methods like this yourself:

Function FindFirstLabelRecursive(extends j as JSONMBS, text as string) As 
JSONMBS
  // do normal search
  dim e as JSONMBS = j.FindFirstLabel(text)
  if e <> nil then Return e
  
  // and search child nodes
  dim child as JSONMBS = j.ChildNode
  while child<>Nil 
    dim r as JSONMBS = child.FindFirstLabelRecursive(text)
    if r<>Nil then Return r
    
    child = child.NextNode
  wend
  
End Function


Greetings
Christian

-- 
See you in Frankfurt, Germany at the Real Studio Database Days

More details and registration here:
http://www.monkeybreadsoftware.de/realbasic/events/frankfurt-2011-event.shtml


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to