Skip to content

Fix JSON error compiling Flare with Flex SDK 4.6 and compc #7

Description

@rpitting

If you are having trouble compiling Flare with the Flex SDK 4.6 and getting some error with com.adobe.serialization.json.JSON, it's because the API has changed.

How to fix:

  1. Remove any imports of com.adobe.serialization.json.JSON, it's not needed anymore.

  2. Replace JSON.encode with JSON.stringify

  3. Replace JSON.decode with JSON.parse

  4. In build.xml, in the target flare, uncomment this line

      <source-path path-element="${flare.lib}/"/>
    

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions