]> gitweb.factorcode.org Git - factor.git/blob - basis/json/writer/writer-docs.factor
Move web framework to basis
[factor.git] / basis / json / writer / writer-docs.factor
1 ! Copyright (C) 2006 Chris Double.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: help.markup help.syntax ;
4 IN: json.writer
5
6 HELP: >json "( obj -- string )"
7 { $values { "obj" "an object" } { "string" "the object converted to JSON format" } }
8 { $description "Serializes the object into a JSON formatted string." } 
9 { $see-also json-print } ;
10
11 HELP: json-print "( obj -- )"
12 { $values { "obj" "an object" } }
13 { $description "Serializes the object into a JSON formatted string and outputs it to the standard output stream." } 
14 { $see-also >json } ;
15