LiveViewNative.JSONCoercable protocol (live_view_native v0.0.5)

Link to this section Summary

Link to this section Types

Link to this type

json_value()

@type json_value() ::
  atom()
  | boolean()
  | nil
  | String.t()
  | integer()
  | float()
  | %{required(atom() | String.t()) => json_value()}
  | [json_value()]
@type t() :: term()

Link to this section Functions

Link to this function

from_json(json_value)

@spec from_json(json_value()) :: term()
@spec to_json(term()) :: json_value()