msgpack-c icon indicating copy to clipboard operation
msgpack-c copied to clipboard

two suggestions

Open xiaoxiangdu opened this issue 11 years ago • 5 comments

Hey guys,

In object.hpp: operator<< function: 1,when type is STR and have symbol(") in the string, could we escape it? 2,when type is MAP, could we change symbol(=>) to symbol(:)? then we can parse it.

Mack

xiaoxiangdu avatar Apr 22 '15 04:04 xiaoxiangdu

Hi @dawnlucky, thank you for the suggestions. Currently, msgpack::object's stream output format is a JSON like format but not a JSON. I imagine that outputs are used for debug. If the output format is JSON, it is a good interface for other module that requires JSON inputs. It's worth supporting. I will update the format.

redboltz avatar Apr 22 '15 05:04 redboltz

Great, Thanks @redboltz

xiaoxiangdu avatar Apr 22 '15 06:04 xiaoxiangdu

any update?

xiaoxiangdu avatar Apr 28 '15 04:04 xiaoxiangdu

Just merged by @nobu-k.

redboltz avatar Apr 28 '15 06:04 redboltz

Thanks. @redboltz @nobu-k

xiaoxiangdu avatar Apr 28 '15 08:04 xiaoxiangdu