JSONb-1.0.6: JSON parser that uses byte strings.

Text.JSON.Escape

Synopsis

Documentation

class Escape t whereSource

Class of JSON escapable text. The solidus (/) is always escaped, as are all ASCII control characters. Non-ASCII control characters and Unicode printable characters above ASCII are left as is.

Methods

escape :: t -> tSource

esc :: Char -> StringSource

Escapes an individual character for embedding in a JSON string.