From 093eabf208464c8e93a45414eb10b94a2aa46824 Mon Sep 17 00:00:00 2001 From: Ryan Cannon Date: Tue, 15 Mar 2011 17:33:22 -0700 Subject: [PATCH] Makes strict argument to JSONDecoder optional for backward compatibility with previous versions. --- src/com/adobe/serialization/json/JSONDecoder.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/adobe/serialization/json/JSONDecoder.as b/src/com/adobe/serialization/json/JSONDecoder.as index 09fbe88..67e5683 100644 --- a/src/com/adobe/serialization/json/JSONDecoder.as +++ b/src/com/adobe/serialization/json/JSONDecoder.as @@ -63,7 +63,7 @@ package com.adobe.serialization.json * @playerversion Flash 9.0 * @tiptext */ - public function JSONDecoder( s:String, strict:Boolean ) + public function JSONDecoder( s:String, strict:Boolean = true) { this.strict = strict; tokenizer = new JSONTokenizer( s, strict );