Skip to content
Snippets Groups Projects
  • Roman Tsisyk's avatar
    5a7d8b07
    Refactor msgpack, yaml, cjson to use common code base · 5a7d8b07
    Roman Tsisyk authored
    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
    5a7d8b07
    History
    Refactor msgpack, yaml, cjson to use common code base
    Roman Tsisyk authored
    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