Revision: 2720
http://vexi.svn.sourceforge.net/vexi/?rev=2720&view=rev
Author: clrg
Date: 2008-01-08 12:54:19 -0800 (Tue, 08 Jan 2008)
Log Message:
-----------
Fix JSON marshaling of booleans (don't wrap in quotes)
Modified Paths:
--------------
trunk/core/org.ibex.js/src/org/ibex/js/JSU.jpp
Modified: trunk/core/org.ibex.js/src/org/ibex/js/JSU.jpp
===================================================================
--- trunk/core/org.ibex.js/src/org/ibex/js/JSU.jpp 2008-01-08 00:44:41 UTC
(rev 2719)
+++ trunk/core/org.ibex.js/src/org/ibex/js/JSU.jpp 2008-01-08 20:54:19 UTC
(rev 2720)
@@ -253,7 +253,7 @@
}
sb.append("]");
}
- else if(type == SC_number){
+ else if(type == SC_number || type == SC_boolean){
sb.append(value.coerceToString());
}
else{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn