Wire.decode/2
Decodes one complete bounded JSON value, rejecting duplicate keys and trailing data.
Source and package
- Qualified name
-
LibTmux .Wire .decode/2 - Module
- LibTmux
- Declared in
- Wire
- Package
- libtmux
- Source
- lib/libtmux/wire.ex
- decode(binary, options \\ []) @spec decode(binary(), [Lib
Tmux ()]) :: {:ok, value()} | {:error, Lib.Filter .limit _option Tmux ()}.Error .t -
Description#
See the worked example.