bond-0.10.0.0: Bond schema compiler and code generator

Copyright(c) Microsoft
LicenseMIT
Maintaineradamsap@microsoft.com
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Language.Bond.Syntax.SchemaDef

Contents

Description

 

Synopsis

Runtime schema (aka SchemaDef) support

encodeSchemaDef :: Type -> ByteString Source #

Returns an instance of SchemaDef for the specified type. The SchemaDef is encoded using the Bond Simple JSON protocol and returned as a lazy ByteString.

makeSchemaDef :: Type -> SchemaDef Source #