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

Escape \ and " in JSON strings #3

Merged
merged 1 commit into from
Jun 25, 2014
Merged

Escape \ and " in JSON strings #3

merged 1 commit into from
Jun 25, 2014

Conversation

winny-
Copy link
Contributor

@winny- winny- commented Jun 25, 2014

applescript-json's string encoding capability should be 100% compliant now. Nice!

As per the official standard (ECMA-404, p 10):

All characters may be placed within the quotation marks except for the
characters that must be escaped: quotation mark (U+0022), reverse solidus
(U+005C), and the control characters U+0000 to U+001F.

As per the official standard (ECMA-404):
> All characters may be placed within the quotation marks except for the
> characters that must be escaped: quotation mark (U+0022), reverse solidus
> (U+005C), and the control characters U+0000 to U+001F.
mgax added a commit that referenced this pull request Jun 25, 2014
Escape \ and " in JSON strings
@mgax mgax merged commit 7b8c085 into mgax:master Jun 25, 2014
@mgax
Copy link
Owner

mgax commented Jun 25, 2014

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants