ogma-language-jsonspec-1.7.0: Ogma: Runtime Monitor translator: JSON Frontend
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.JSONSpec.Parser

Description

Parser for Ogma specs stored in JSON files.

Synopsis

Documentation

parseJSONPath :: Text -> Either String [JSONPathElement] Source #

Parse a JSONPath expression, returning its element components.

except :: Monad m => Either e a -> ExceptT e m a Source #

Wrap an Either value in an ExceptT m monad.

maybeEither :: Maybe (Either a b) -> Either a (Maybe b) Source #

Swap the order in a Maybe and an Either monad.