| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Text.Toml.Types
Documentation
Constructors
| VString Text | |
| VInteger Int64 | |
| VFloat Double | |
| VBoolean Bool | |
| VDatetime UTCTime | |
| VArray [TValue] |
Instances
| Eq TValue | |
| Show TValue | |
| ToJSON TValue |
|
| ToBsJSON TValue |
As seen in this function, BurntSushi's JSON encoding explicitly specifies the types of the values. |
Contruct an empty Table.
Contruct an empty NTable.
commonInsertError :: Node -> [Text] -> Either Text Table Source
Convenience function to construct a common error message for the insert function.
Regular ToJSON instances
Special BurntSushi ToJSON type class and instances
Type class for conversion to BurntSushi-style JSON.
BurntSushi has made a language agnostic test suite available that
this library uses. This test suit expects that values are encoded
as JSON objects with a 'type' and a value member.
Instances
| ToBsJSON TValue |
As seen in this function, BurntSushi's JSON encoding explicitly specifies the types of the values. |
| ToBsJSON Node |
|
| ToBsJSON a => ToBsJSON [a] | |
| ToBsJSON v => ToBsJSON (HashMap Text v) |