View Source JsonUrl (json_url v0.1.2)

Functions for encoding and decoding terms to JsonUrl format.

Summary

Functions

Decode a JsonUrl string to an Elixir term

Encode a term to a JsonUrl 'address-bar friendly' string.

Functions

@spec decode(String.t()) :: {:ok, any()} | {:error, any()}

Decode a JsonUrl string to an Elixir term

@spec encode(nil | boolean() | atom() | integer() | binary() | map() | list()) ::
  String.t()

Encode a term to a JsonUrl 'address-bar friendly' string.