Skip to main content
Known Participant
February 22, 2016
Answered

Adobe Animate Error 1172: Definition com.adobe.serialization.json:JSON could not be found

  • February 22, 2016
  • 1 reply
  • 1654 views

Hi,

Any advise is appreciated.

I have a AIR for iOS file previously done in Flash Professional CC 2015, with com.adobe.serialization.json.JSON and com.adobe.serialization.json.JSONParseError imported in an AS file to parse out and decode the JSON string for oauth2 procedure. Since I upgraded to Adobe Animate CC 2015, today when I opened up the file and tried to publish the IPA, it returns the following errors:

1172: Definition com.adobe.serialization.json:JSON could not be found.

1172: Definition com.adobe.serialization.json:JSONParseError could not be found.

1120: Access of undefined property JSON.

1046: Type was not found or was not a compile-time constant: JSONParseError.

1046: Type was not found or was not a compile-time constant: JSONParseError.

I don't know what caused this in the new Animate CC and how to fix this problem. Please help if you may provide any insights/solutions. Thank you very much!

Regards,
yu

This topic has been closed for replies.
Correct answer Colin Holgate

The serialization code was an extra thing that you installed at some point. If you find those folders (adobe/serialization/json, and so on) you should be able to put them into your project, and things would be ok again.

But, you should think about not doing that. A while ago those routines were made native to AS3 code, and now work a lot faster.  Here's the documentation for the native one:

JSON - Adobe ActionScript® 3 (AS3 ) API Reference

1 reply

Colin Holgate
Colin HolgateCorrect answer
Inspiring
February 22, 2016

The serialization code was an extra thing that you installed at some point. If you find those folders (adobe/serialization/json, and so on) you should be able to put them into your project, and things would be ok again.

But, you should think about not doing that. A while ago those routines were made native to AS3 code, and now work a lot faster.  Here's the documentation for the native one:

JSON - Adobe ActionScript® 3 (AS3 ) API Reference

yufuairAuthor
Known Participant
February 23, 2016

Thank you, Colin, for the response. I will check that out.