msgpack mrbgem written in c++
add following line to build_config.rb
conf.gem 'path/to/mruby-msgpack'
Use MsgPack.load to deserialize string to ruby object. Use MsgPack.dump to serialize ruby object to string.
If you want to have a custom seralizer, define to_msgpack method that doesn't take argument and returns string serialized with msgpack.
- add tests for each type
- hash key sorting option in dumping
- option to use symbol in hash key
- UTF-8 checking
- check string end in loading function