Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data PropertyValue a Source #
Array (List (Dictionary a)) | Yes, a list of dictionaries. No, it doesn't make sense. These usually only have one element. |
Bool U8 | |
Byte Str (Maybe Str) | This is a strange name for essentially a key-value pair. |
Float F32 | |
Int I32 | |
Name Str | It's unclear how exactly this is different than a |
QWord U64 | |
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] # |