json-autotype-3.0.1: Automatic type declaration for JSON input data

Safe HaskellNone
LanguageHaskell2010

Data.Aeson.AutoType.Test

Contents

Description

Arbitrary instances for the JSON Value.

Synopsis

Documentation

arbitraryTopValue :: Gen Value Source #

Arbitrary JSON (must start with Object or Array.)

Orphan instances

Arbitrary Scientific Source # 
Instance details

Arbitrary Text Source # 
Instance details

Methods

arbitrary :: Gen Text #

shrink :: Text -> [Text] #

Arbitrary Value Source # 
Instance details

Methods

arbitrary :: Gen Value #

shrink :: Value -> [Value] #

Monad m => Serial m Value Source # 
Instance details

Methods

series :: Series m Value #

Monad m => Serial m Scientific Source # 
Instance details

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