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

Merging my changes from multiple pull requests #44

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

alexandro-rezakhani
Copy link

No description provided.

kyl3n and others added 18 commits July 26, 2019 19:51
When running this code in locales that do not use a period for floating point integers, an error would occur. This is now resolved.
previous version was replacing minus sign in negative numbers in error.
… The array detection code now allows for the array to have a key n with a number value to detect the array length.
Update info about supporting Lua 5.4 version
@kyl3n Fixed locale floating point character
@aryajur Improved table encoding code to handle sparse arrays.
Took advice from @Dnsls and @Faserr to optimize code from rxi#34.
rxi#34

rxi#34 (comment)
rxi#34 (comment)
fix rxi#41: Large numbers serialized incorrectly
i was unable to encode a table due to some number based key properties.

i modified the encode function to check for number based keys in addition to the already present string based keys.

an error will still be returned if the key is neither string nor number based.

it works in my cases


Please see this link:
rxi#43 (comment)
After testing, I found some minor issues with some of the merged code.
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.

4 participants