json.writer: Updated docs to mention the dynamic variable jsvar-encode?

db4
otoburb 2011-07-05 00:07:59 -04:00
parent dc47d523ed
commit b56c2b9589
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@ HELP: >json
HELP: json-print
{ $values { "obj" "an object" } }
{ $description "Serializes the object into a JSON formatted string and outputs it to the standard output stream." }
{ $description "Serializes the object into a JSON formatted string and outputs it to the standard output stream.
By default, tuples and hashtables are serialized into Javascript-friendly JSON formatted output by converting keys containing dashes into underscores. This behaviour can be modified by setting the dynamic variable " { $strong "jsvar-encode?" } " to false." }
{ $see-also >json } ;
ARTICLE: "json.writer" "JSON writer"