diff modules/dict.tp @ 329:eef8a5cea812

Use a smarter algorithm for calculating module init order and break some circular module dependencies in the standard library
author Michael Pavone <pavone@retrodev.com>
date Sat, 28 Mar 2015 13:26:03 -0700
parents bb4723fec05e
children 7de6ac24eb64
line wrap: on
line diff
--- a/modules/dict.tp	Wed Mar 25 00:16:37 2015 -0700
+++ b/modules/dict.tp	Sat Mar 28 13:26:03 2015 -0700
@@ -3,7 +3,7 @@
 		parts <- #[]
 		foreach: dict :key val {
 			//TODO: escape field names
-			parts append: (key jsonEncode) . ":" . (json encode: val)
+			parts append: (key jsonEncode) . ":" . (jsonEncoder encode: val)
 		}
 		"{" . (parts join: ",") . "}"
 	}