Sha256: 2b6889722203e0d60911ae02f0b60733ed12b1048f0239c1f5f94e5e56ce8f5e

Contents?: true

Size: 903 Bytes

Versions: 22

Compression:

Stored size: 903 Bytes

Contents

JSON OBJECT TYPE
  NAME: json
  SHORTCUT: json

  DESCRIPTION
    JSON data in a text string.

  CHILDREN
    None

  MESSAGES
    get - get a value from the JSON data
      Example: tell myjson to get ("title")
      The additional parameter is the path to the value.
    parse - parse the JSON data and put values in the
      object specified by the additional parameter
      Example: tell myjson to parse ("path.to.objects")
    pretty - make the JSON format pretty

  EXAMPLE

    json [can] :
      on_load [script] :
        list json.objs
        show json.j
        tell json.j to parse (json.objs)
        list json.objs
      j [json] : {"title":"Brute Force","quotation":"When in doubt, use brute force.","author":"Eric Steven Raymond","source":"The Art of Unix Programming"}
      objs [can] :
        title [string] :
        quotation [string] :

  SEE ALSO
    http_get, http_post, uri

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
gloo-lang-1.0.2 lib/gloo_lang/help/objs/web/json.txt
gloo-1.0.0 lib/gloo/help/objs/web/json.txt
gloo-lang-1.0.1 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-1.0.0 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-0.9.11 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-0.9.10 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-0.9.9 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-0.9.8 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-0.9.7 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-0.9.6 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-0.9.5 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-0.9.4 lib/gloo_lang/help/objs/web/json.txt
gloo-lang-0.9.3 lib/gloo_lang/help/objs/web/json.txt
gloo-0.8.0 lib/gloo/help/objs/web/json.txt
gloo-0.7.7 lib/gloo/help/objs/web/json.txt
gloo-0.7.6 lib/gloo/help/objs/web/json.txt
gloo-0.7.5 lib/gloo/help/objs/web/json.txt
gloo-0.7.4 lib/gloo/help/objs/web/json.txt
gloo-0.7.3 lib/gloo/help/objs/web/json.txt
gloo-0.7.2 lib/gloo/help/objs/web/json.txt