bitcoin-hs-0.0.1: Partial implementation of the Bitcoin protocol (as of 2013)

Safe HaskellNone
LanguageHaskell98

Bitcoin.RPC.JSON

Contents

Description

Simple JSON-RPC stuff, and JSON helper functions

Synopsis

JSON-RPC

data Request a Source #

Constructors

Request 

Instances

Show a => Show (Request a) Source # 

Methods

showsPrec :: Int -> Request a -> ShowS #

show :: Request a -> String #

showList :: [Request a] -> ShowS #

data Notification a Source #

Constructors

Notification 

Fields

Instances

misc helper functions

eiShowJSON :: (JSON a, JSON b) => Either a b -> JSValue Source #

JSON parsing for special types

JSON instances

newtype BS Source #

Unfortunately, Text.JSON already have a ByteString instance, which is different from what we need; hence this newtype

Constructors

BS 

Fields

Orphan instances