1 ! Copyright (C) 2012 John Benediktsson
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: assocs json.reader json.writer kernel math math.parser
7 : json-benchmark ( -- )
8 200 iota [ [ number>string ] keep ] H{ } map>assoc
9 1,000 [ >json json> ] times drop ;