json-rpc-generic-0.2.1.6: Generic encoder and decode for JSON-RPC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.JsonRpc.Id

Documentation

data Id Source #

Constructors

StringId !Text 
NumberId !Integer 

Instances

Instances details
Eq Id Source # 
Instance details

Defined in Data.JsonRpc.Id

Methods

(==) :: Id -> Id -> Bool #

(/=) :: Id -> Id -> Bool #

Ord Id Source # 
Instance details

Defined in Data.JsonRpc.Id

Methods

compare :: Id -> Id -> Ordering #

(<) :: Id -> Id -> Bool #

(<=) :: Id -> Id -> Bool #

(>) :: Id -> Id -> Bool #

(>=) :: Id -> Id -> Bool #

max :: Id -> Id -> Id #

min :: Id -> Id -> Id #

Read Id Source # 
Instance details

Defined in Data.JsonRpc.Id

Show Id Source # 
Instance details

Defined in Data.JsonRpc.Id

Methods

showsPrec :: Int -> Id -> ShowS #

show :: Id -> String #

showList :: [Id] -> ShowS #

ToJSON Id Source # 
Instance details

Defined in Data.JsonRpc.Instances

FromJSON Id Source # 
Instance details

Defined in Data.JsonRpc.Instances