sext icon indicating copy to clipboard operation
sext copied to clipboard

Sortable Erlang Term Serialization

Results 10 sext issues
Sort by recently updated
recently updated
newest added

to keep maps in order, we first sort it by keys by transforming them as list. Then we process the keys/values in order. ex: ```erlang 2> B = sext:encode(#{ a...

Closes #30 Maps turned out trickier than expected, since they have special ordering semantics for keys. It was possible to accommodate for this by abusing some unused atom type bits....

Fixed sb32 encoding - potential incompatibility! The current fix does not work with existing sb-encoded objects. If this is a problem for anyone, it can be addressed.

is it possible to do prefix encode so that `prefix()` would be the exact prefix of `prefix()`? I see it could be done for lists. And also `prefix([term, ])` as...

instead it would be quite better to provide another rebar config file just for this purpose so edown is not installed when building a release for production.

In the `doc/overview.edoc` file, there are examples containing bit syntax. In the conversion to Markdown, the HTML entities are expanded, resulting in the `.md` file not rendering right.

`./rebar doc` doesn't seem to pick up the examples docs. For now, `doc/tt_proto.md` was built manually by going into the `examples/` directory and calling `edoc:file("tt_proto.erl",[{layout,edown_layout},{file_suffix,".md"}])` and then copying the `tt_proto.md`...

Maybe I'm doing smth wrong but: ```erlang > sext:encode(2200000000.1). > sext:decode(sext:encode(2200000000.1)). ** exception error: no match of right hand side value in function sext:decode_pos/3 (/Users/***l/_build/test/lib/sext/src/sext.erl, line 987) in call from...

This addresses the #40 However it doesn't add support to `encode_prefix` / `decode_prefix`, mainly because `Legacy` option was not supported there as well. However I think I should actually add...

I don't think it is a particularly popular feature, but would be nice to have it just for completeness: ```erlang > kdb_sext:encode('привет'). ** exception error: bad argument in function list_to_binary/1...