erlang - jsx:decode json into string value instead of binary -


i read doc of jsx removed post_decode option because prevented evolution of jsx.

so what's option if want post_decode can do. example, can have function convert binary value string value option.

f = fun(e) when is_binary(e) -> binary_to_list(e) end, jsx:decode(binaryjsonstring, [{post_decode,f}]). 

how do now?


Comments

Popular posts from this blog

C++: Boost interprocess memory mapped file error -

python - IO.UnsupportedOperation: Not Writable -

python - malformed header from script index.py Bad header -