Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Msgpackffi considers msgpack.cfg options now
Lua serializers have common configuration options that mostly were not respected in msgpackffi module. This patch fixes that for several configurations: encode_use_tostring, encode_invalid_as_nil and encode_load_metatables. Options encode/decode_invalid_numbers are suggested to not be considered in msgpackffi module since lua processed them properly without this check so adding it would mean cutting functionality provided by the language in case this field was set to be false. Closes #4499
- Loading branch information
1 parent
b9a1887
commit bcc297d
Showing
4 changed files
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters