json-autotype-3.1.2: Automatic type declaration for JSON input data
Safe HaskellNone
LanguageHaskell2010

Data.Aeson.AutoType.Test

Description

Arbitrary instances for the JSON Value.

Synopsis

Documentation

arbitraryTopValue :: Gen Value Source #

Arbitrary JSON (must start with Object or Array.)

Orphan instances

Arbitrary Text Source # 
Instance details

Methods

arbitrary :: Gen Text

shrink :: Text -> [Text]

Arbitrary Value Source # 
Instance details

Methods

arbitrary :: Gen Value

shrink :: Value -> [Value]

Arbitrary Scientific Source # 
Instance details

Methods

arbitrary :: Gen Scientific

shrink :: Scientific -> [Scientific]

Monad m => Serial m Value Source # 
Instance details

Methods

series :: Series m Value

Monad m => Serial m Scientific Source # 
Instance details

Methods

series :: Series m Scientific

Monad m => Serial m Text Source # 
Instance details

Methods

series :: Series m Text

Serial m a => Serial m (Vector a) Source # 
Instance details

Methods

series :: Series m (Vector a)

Serial m v => Serial m (HashMap Text v) Source # 
Instance details

Methods

series :: Series m (HashMap Text v)

Arbitrary a => Arbitrary (Vector a) Source # 
Instance details

Methods

arbitrary :: Gen (Vector a)

shrink :: Vector a -> [Vector a]

Arbitrary v => Arbitrary (HashMap Text v) Source # 
Instance details

Methods

arbitrary :: Gen (HashMap Text v)

shrink :: HashMap Text v -> [HashMap Text v]