diff Lib/IMPL/Web/QueryHandler/JsonFormat.pm @ 140:fb896377389f

to_json and escape_string functions for the templates minor changes
author wizard
date Mon, 05 Jul 2010 02:22:42 +0400
parents 44977efed303
children 4267a2ac3d46
line wrap: on
line diff
--- a/Lib/IMPL/Web/QueryHandler/JsonFormat.pm	Thu Jul 01 17:32:29 2010 +0400
+++ b/Lib/IMPL/Web/QueryHandler/JsonFormat.pm	Mon Jul 05 02:22:42 2010 +0400
@@ -99,6 +99,8 @@
 sub Transform {
 	my ($this,$object) = @_;
 	
+	# small hack to prevent cycling
+	
 	return $this->SUPER::Transform($object) unless ref $object;
 	
 	if (exists $this->{$_visited}{refaddr $object}) {