json-to-type-4.0.0: Automatic type declaration for JSON input data
Safe HaskellSafe-Inferred
LanguageHaskell2010

JsonToType.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 Scientific Source # 
Instance details

Arbitrary Text Source # 
Instance details

Methods

arbitrary :: Gen Text #

shrink :: Text -> [Text] #

Monad m => Serial m Key Source # 
Instance details

Methods

series :: Series m Key #

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 v => Serial m (KeyMap v) Source # 
Instance details

Methods

series :: Series m (KeyMap v) #

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

Methods

series :: Series m (Vector a) #

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