Skip to content
Snippets Groups Projects
Commit 5a7d8b07 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Refactor msgpack, yaml, cjson to use common code base

Major changes:

 - All common logic and code from all serializes replaced by
   luaL_field/luaL_serializer functions
 - All features and methods were unified
 - cdata support added to JSON
 - ffi's .NULL added to JSON
 - .cfg{} method added to MsgPack, YAML and JSON
 - .new() method added to MsgPack and YAML
 - NaN and Inf checks ported from JSON
 - array vs map detection logic ported from JSON
 - support for __serialize hint added for table/cdata/userdata
 - _serializer_compact and _serializer_type superseded by __serialize
 - 64-bit integers encoding/decoding fixed in JSON and YAML
 - floating point encoding/decoding fixed in YAML
 - JSON was converted from submodule
 - New TAP-based tests added for MsgPack, MsgPackFFI, YAML, JSON
parent 36a574ae
No related branches found
No related tags found
No related merge requests found
Showing with 1155 additions and 333 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment