Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Unable to pass single quote to CEP panel

Contributor ,
Apr 01, 2024 Apr 01, 2024

I currently have the following string:

var singleOrder.name = "O\'Malley"

I attempt to pass this string to CEP (jsx) for me to use in an illustrator sciprinting environment.

This is part of other data so I stringify it like so:

JSON.stringify(orders);

I pass the data into CEP and then attempt ot parse it:

JSON.parse(orders);

However it won't parse, I don't even get an error on a try and catch block.  Nothing happens.  

I'm using a JSON library for CEP 

TOPICS
Scripting
73
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Adobe