| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Rattletrap.Type.PropertyValue
Documentation
data PropertyValue a Source #
Constructors
| Array (Array a) | Yes, a list of dictionaries. No, it doesn't make sense. These usually only have one element. |
| Bool Bool | |
| Byte Byte | This is a strange name for essentially a key-value pair. |
| Float Float | |
| Int Int | |
| Name Name | It's unclear how exactly this is different than a |
| QWord QWord | |
| Str Str |
Instances
| FromJSON a => FromJSON (PropertyValue a) Source # | |
Defined in Rattletrap.Type.PropertyValue Methods parseJSON :: Value -> Parser (PropertyValue a) # parseJSONList :: Value -> Parser [PropertyValue a] # omittedField :: Maybe (PropertyValue a) # | |
| ToJSON a => ToJSON (PropertyValue a) Source # | |
Defined in Rattletrap.Type.PropertyValue Methods toJSON :: PropertyValue a -> Value # toEncoding :: PropertyValue a -> Encoding # toJSONList :: [PropertyValue a] -> Value # toEncodingList :: [PropertyValue a] -> Encoding # omitField :: PropertyValue a -> Bool # | |
| Show a => Show (PropertyValue a) Source # | |
Defined in Rattletrap.Type.PropertyValue Methods showsPrec :: Int -> PropertyValue a -> ShowS # show :: PropertyValue a -> String # showList :: [PropertyValue a] -> ShowS # | |
| Eq a => Eq (PropertyValue a) Source # | |
Defined in Rattletrap.Type.PropertyValue Methods (==) :: PropertyValue a -> PropertyValue a -> Bool # (/=) :: PropertyValue a -> PropertyValue a -> Bool # | |