The JSON is not ideal as not all Elixir terms are uniquely representable in JSON - for example both atoms and strings are represented as strings, what introduces ambiguity. We should make sure not to bring any potentially harmful data to the server - maybe we should call an equivalent of Plug.Crypto.non_executable_binary_to_term(binary, [:safe])
The JSON is not ideal as not all Elixir terms are uniquely representable in JSON - for example both atoms and strings are represented as strings, what introduces ambiguity. We should make sure not to bring any potentially harmful data to the server - maybe we should call an equivalent of
Plug.Crypto.non_executable_binary_to_term(binary, [:safe])