json v1.0.3 JSON.Parser.Charlist.Unicode View Source
Implements a JSON Unicode Parser for Charlist 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.Unicode.Charlist.parse ''
{:error, :unexpected_end_of_buffer}
iex> JSON.Unicode.Charlist.parse 'face0ff'
{:error, {:unexpected_token, 'face0ff'}}
iex> JSON.Unicode.Charlist.parse '-hello'
{:error, {:unexpected_token, '-hello'}}