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

Allow packing of arrays with {pack_str, from_list}

Open cleverfox opened this issue 5 years ago • 0 comments

Hello. Today for I have a little patch for your review. In my project I use binaries and strings simultaneously and had no problems before today. Now I also needed to use arrays (with strings and binaries) and got few problems. I guess special tag for arrays will be useful in case if default behaviour should be strings and you need arrays very seldom. Lists tagged with {array, List} will be forcely encoded as arrays.

cleverfox avatar Aug 19 '18 19:08 cleverfox