JSON encoder/decoder based on available implementation.
Equivalent to JSON.decode/1.
JSON.decode/1
Equivalent to JSON.decode!/1.
JSON.decode!/1
Equivalent to JSON.encode!/1.
JSON.encode!/1
@spec decode(binary()) :: {:ok, term()} | {:error, term()}
@spec decode!(binary()) :: term()
@spec encode!(term()) :: binary()