Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data AbesonConfig = AbesonConfig {
- binaryEncoding :: AbesonConfig -> ByteString -> Value
- functionEncoding :: AbesonConfig -> ByteString -> Value
- userDefEncoding :: AbesonConfig -> ByteString -> Value
- objectIdEncoding :: AbesonConfig -> ObjectId -> Value
- regexEncoding :: AbesonConfig -> Regex -> Value
- javascriptEncoding :: AbesonConfig -> Javascript -> Value
- stampEncoding :: AbesonConfig -> Int64 -> Value
- minMaxKeyEncoding :: AbesonConfig -> MinMaxKey -> Value
- toAeson :: AbesonConfig -> Document -> Object
- toAesonValue :: AbesonConfig -> Value -> Value
- toBson :: Object -> Document
- toBsonValue :: Value -> Value
- def :: Default a => a
Documentation
data AbesonConfig Source
AbesonConfig | |
|
Default AbesonConfig | binary, function, userDef -> base64 encoding objectid -> show regex -> /pat/mod javascript -> {environment: env, code: code} stamp -> {t: time_t, i: ordinal} minkey -> -1, maxkey -> 1 |
toAeson :: AbesonConfig -> Document -> Object Source
toAesonValue :: AbesonConfig -> Value -> Value Source
toBsonValue :: Value -> Value Source