Parseing single JSON value from webpage

William Dunne via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 28 19:34:19 PDT 2015


Sorry for the noob question.

I'm currently trying to parse this bit of json:

Array
(
     [meta] => Array
         (
             [level1trust] => 1
             [level2trust] => 9
         )

     [connections] => Array
         (
             [level1] => Array
                 (
                     [from] => name

                 )
///lots more json.

This seems like it could be done with std.json, however I'm 
struggling to understand how using my json object, I can get the 
value for level1trust

Anyone willing to lend a hand?


More information about the Digitalmars-d-learn mailing list