ByteBasedParser

trait ByteBasedParser[J] extends Parser[J]

Trait used when the data to be parsed is in UTF-8.

This parser has to translate input bytes to Chars and Strings. It provides a byte() method to access individual bytes, and also parser strings from bytes.

Its parseString() implementation has two cases. In the first case (the hot path) the string has no escape sequences and we can just UTF-8 decode the entire set of bytes. In the second case, it goes to some trouble to be sure to de-escape correctly given that the input data is UTF-8.

class Parser[J]
class Object
trait Matchable
class Any