Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data PropertyValue a Source #
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
Eq a => Eq (PropertyValue a) Source # | |
Defined in Rattletrap.Type.PropertyValue (==) :: PropertyValue a -> PropertyValue a -> Bool # (/=) :: PropertyValue a -> PropertyValue a -> Bool # | |
Show a => Show (PropertyValue a) Source # | |
Defined in Rattletrap.Type.PropertyValue showsPrec :: Int -> PropertyValue a -> ShowS # show :: PropertyValue a -> String # showList :: [PropertyValue a] -> ShowS # | |
ToJSON a => ToJSON (PropertyValue a) Source # | |
Defined in Rattletrap.Type.PropertyValue toJSON :: PropertyValue a -> Value # toEncoding :: PropertyValue a -> Encoding # toJSONList :: [PropertyValue a] -> Value # toEncodingList :: [PropertyValue a] -> Encoding # | |
FromJSON a => FromJSON (PropertyValue a) Source # | |
Defined in Rattletrap.Type.PropertyValue parseJSON :: Value -> Parser (PropertyValue a) # parseJSONList :: Value -> Parser [PropertyValue a] # |