Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONEncoder now supports correct Vector json serialization #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/com/adobe/serialization/json/JSONEncoder.as
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ package com.adobe.serialization.json
// convert boolean to string easily // convert boolean to string easily
return value ? "true" : "false"; return value ? "true" : "false";
} }
else if ( value is Array ) else if ( value is Array || value is Vector.<*> )
{ {
// call the helper method to convert an array // call the helper method to convert an array
return arrayToString( value as Array ); return arrayToString( value as Array );
Expand Down