Skip to content

Commit 1dd8c54

Browse files
JSONEncoder now supports correct json serialization
1 parent 24c6c16 commit 1dd8c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/adobe/serialization/json/JSONEncoder.as

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ package com.adobe.serialization.json
9292
// convert boolean to string easily
9393
return value ? "true" : "false";
9494
}
95-
else if ( value is Array )
95+
else if ( value is Array || value is Vector.<*> )
9696
{
9797
// call the helper method to convert an array
9898
return arrayToString( value as Array );

0 commit comments

Comments
 (0)