json v1.0.3 JSON.Parser.Bitstring.Unicode View Source
Implements a JSON Unicode Parser for Bitstring values
Link to this section Summary
Functions
parses a valid chain of escaped unicode and returns the string representation, plus the remainder of the string
Link to this section Functions
parses a valid chain of escaped unicode and returns the string representation, plus the remainder of the string
Examples
iex> JSON.Parser.Bitstring.parse ""
{:error, :unexpected_end_of_buffer}
iex> JSON.Parser.Bitstring.parse "face0ff"
{:error, {:unexpected_token, "face0ff"}}
iex> JSON.Parser.Bitstring.parse "-hello"
{:error, {:unexpected_token, "-hello"}}