Skip to content

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