2007-09-20 18:09:08 -04:00
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
2008-01-14 16:42:21 -05:00
USING: help.markup help.syntax ;
IN: json.reader
2007-09-20 18:09:08 -04:00
2008-11-14 23:49:17 -05:00
HELP: json> ( string -- object )
{ $values { "string" "a string in JSON format" } { "object" "a deserialized object" } }
2008-01-14 16:42:21 -05:00
{ $description "Deserializes the JSON formatted string into a Factor object. JSON objects are converted to Factor hashtables. All other JSON objects convert to their obvious Factor equivalents." } ;
2008-11-14 23:49:17 -05:00
ARTICLE: "json.reader" "JSON reader"
"The " { $vocab-link "json.reader" } " vocabulary defines a word for parsing strings in JSON format."
{ $subsection json> } ;
ABOUT: "json.reader"