Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Parser spec notes - mention JSON manglers #5

Open
dmsnell opened this issue May 14, 2018 · 0 comments
Open

Parser spec notes - mention JSON manglers #5

dmsnell opened this issue May 14, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dmsnell
Copy link

dmsnell commented May 14, 2018

See serializeAttributes() where we mangle the JSON attributes in order to provide additional safety against transformations that WordPress might further take.

That is, it's not just "spec JSON" even though it should still be spec compliant. Also, I don't think we've specifically chosen RFC 7159 as our implementation so it may be worth only documenting the level of ambiguity we actually have: we resort to the platform implementation of the JSON parser and serializer.

also see…

@Hywan Hywan self-assigned this May 15, 2018
@Hywan Hywan added the enhancement New feature or request label May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants