0

我阅读了jsx删除该post_decode选项的文档,因为它阻止了 jsx 的演变。

那么,如果我想做什么,现在有什么post_decode选择。例如,我可以使用此选项将二进制值转换为字符串值。

F = fun(E) when is_binary(E) -> binary_to_list(E) end,
jsx:decode(BinaryJsonString, [{post_decode,F}]).

我现在该怎么做?

4

0 回答 0