Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- skipSpace :: Parser ()
- lexeme :: Parser a -> Parser a
- label :: String -> Parser a -> Parser a
- parseAnyField :: Parser ()
- objectEndWithJunk :: Parser ()
- comma :: Parser ()
- quotation :: Parser ()
- parseJSONText :: Parser Text
- parseJunkText :: Parser ()
- innerText :: Parser Text
- junkInnerText :: Parser ()
- parseEscape :: Parser Text
- parseHexDigit :: Parser Int
- parseCharInText :: Char -> Parser ()
- mustBeEscaped :: Char -> Bool
- canParseDirectly :: Text -> Bool
- parseTextBody :: Text -> Parser ()
- parseViaChars :: Text -> Parser ByteString ()
- objectKey :: Text -> Parser ()
- startObject :: Parser ()
- endObject :: Parser ()
- inObjectBraces :: Parser a -> Parser a
- startArray :: Parser ()
- endArray :: Parser ()
- labelSep :: Parser ()
- anyDatum :: Parser ()
- anyArray :: Parser ()
- parseJunkDecimalZero :: Parser ()
- parseJunkExponent :: Parser ()
- parseJunkNumber :: Parser ()
- data SP = SP !Integer !Int
- decimal0 :: Parser Integer
- scientific :: Parser Scientific
- bsToInteger :: ByteString -> Integer
- bsToIntegerSimple :: ByteString -> Integer
- valInteger :: Integer -> Int -> [Integer] -> Integer
- valSimple :: Integer -> [Integer] -> Integer
- number :: Parser Scientific
- anyObject :: Parser ()
- parseObjectField :: Text -> Parser a -> Parser a
- parseDictField :: Parser a -> Parser (Text, a)
Documentation
parseAnyField :: Parser () Source #
objectEndWithJunk :: Parser () Source #
parseJunkText :: Parser () Source #
A parser for a JSON text value that skips its input. Avoids doing UTF-8 Decoding.
junkInnerText :: Parser () Source #
parseEscape :: Parser Text Source #
parseCharInText :: Char -> Parser () Source #
mustBeEscaped :: Char -> Bool Source #
canParseDirectly :: Text -> Bool Source #
parseTextBody :: Text -> Parser () Source #
parseViaChars :: Text -> Parser ByteString () Source #
startObject :: Parser () Source #
inObjectBraces :: Parser a -> Parser a Source #
startArray :: Parser () Source #
parseJunkDecimalZero :: Parser () Source #
parseJunkExponent :: Parser () Source #
parseJunkNumber :: Parser () Source #
scientific :: Parser Scientific Source #
Parse a JSON number.
This function is wholesale copy/pasted from Aeson. Thanks to them.
bsToInteger :: ByteString -> Integer Source #