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

It's impossible to have legit one char key without it having the chance of being changed to another value #15

Open
JimZeeKing opened this issue Dec 12, 2018 · 0 comments

Comments

@JimZeeKing
Copy link

With this object as source, "G" will get changed to "config" after unpacking because G will be the key used to replace "config" key .
var tt = { config:{ positions:{ F:200, G:200, }, A:{ test:123, test2:"ABC" } } }

results in (after unpacking)

var tt = { config:{ positions:{ F:200, config:200, }, A:{ test:123, test2:"ABC" } } }

Alamantus added a commit to Alamantus/JSON-Compress that referenced this issue Dec 4, 2019
_correctCollision addresses issue:
tcorral#15

Some minor performance tweaks address some points in:
tcorral#12
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

No branches or pull requests

1 participant