]> gitweb.factorcode.org Git - factor.git/commitdiff
json.prettyprint: need to fix this
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 19 Jul 2023 21:12:25 +0000 (14:12 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 19 Jul 2023 21:12:25 +0000 (14:12 -0700)
basis/json/prettyprint/prettyprint.factor

index e42c23a8b814e13f6a31b1f7a2b640325584b746..e68bff505d556b340f576fb9e58b934c1d6a0877 100644 (file)
@@ -33,7 +33,7 @@ M: sequence pprint-json*
         write-spaces "]" write
     ] if-empty ;
 
-M: hashtable pprint-json*
+M: assoc pprint-json*
     dup assoc-empty? [
         drop "{ }" write
     ] [