Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- skipWithFailure :: JSONError -> Parser JSONError a
- lexeme :: Semigroup err => Parser err a -> Parser err a
- jsonTypeFromWord :: Word8 -> Maybe JSONType
- peekJSONType :: Monoid err => Parser err JSONType
- skipNullExpecting :: JSONType -> Parser JSONError a
- nullParser :: Semigroup err => Parser err ()
- skipBoolExpecting :: JSONType -> Parser JSONError a
- boolParser :: Monoid err => Parser err Bool
- skipTextExpecting :: JSONType -> Parser JSONError a
- textParser :: Monoid err => Parser err Text
- sepByVoid :: Alternative f => f a1 -> f a2 -> f ()
- skipNumber :: Monoid err => Parser err ()
- skipNumberExpecting :: JSONType -> Parser JSONError a
- skipAnything :: Monoid err => Parser err ()
- skipArray :: Monoid err => Parser err ()
- kvSep :: Semigroup err => Parser err ()
- skipAnyKV :: Monoid err => Parser err ()
- comma :: Semigroup err => Parser err ()
- skipObject :: Monoid err => Parser err ()
- failOnError :: Monoid err => Either a Text -> Parser err Text
- parseAfterQuote :: Monoid err => Parser err Text
- hexDigit :: Semigroup err => Parser err Word8
- parseEscape :: Monoid err => Parser err Text
- parseCharInText :: Monoid err => Char -> Parser err ()
- parseSpecificKeyInQuotes :: Monoid err => Text -> Parser err ()
- parseSpecificKeyAfterQuote :: Monoid err => Text -> Parser err ()
- startBracket :: Semigroup err => Parser err ()
- endBracket :: Semigroup err => Parser err ()
- startArray :: Semigroup err => Parser err ()
- endArray :: Semigroup err => Parser err ()
- parseObjectKV :: Monoid err => Text -> Parser err b -> Parser err b
- invalidTextChar :: Char -> Bool
- data SP = SP !Integer !Int
- valInteger :: Integer -> Int -> [Integer] -> Integer
- valSimple :: Integer -> [Integer] -> Integer
- isDigitWord8 :: Word8 -> Bool
- decimal0 :: Semigroup err => Parser err Integer
- scientific :: Monoid err => Parser err Scientific
Documentation
nullParser :: Semigroup err => Parser err () Source #
Parse a NULL value.
sepByVoid :: Alternative f => f a1 -> f a2 -> f () Source #
skipNumber :: Monoid err => Parser err () Source #
skipAnything :: Monoid err => Parser err () Source #
skipObject :: Monoid err => Parser err () Source #
startBracket :: Semigroup err => Parser err () Source #
endBracket :: Semigroup err => Parser err () Source #
startArray :: Semigroup err => Parser err () Source #
invalidTextChar :: Char -> Bool Source #
isDigitWord8 :: Word8 -> Bool Source #
scientific :: Monoid err => Parser err Scientific Source #