aeson-tiled-0.0.2.1: Aeson instances for the Tiled map editor.
Safe HaskellNone
LanguageHaskell2010

Codec.Tiled.Property

Documentation

data Property Source #

Constructors

Property 

Fields

  • name :: Text

    Name of the property

  • type_ :: Maybe Text

    Type of the property (string (default), int, float, bool, color, file, object or class)

  • propertyType :: Text

    Name of the custom property type, when applicable

  • value :: Value

    Value of the property

Instances

Instances details
Eq Property Source # 
Instance details

Defined in Codec.Tiled.Property

Show Property Source # 
Instance details

Defined in Codec.Tiled.Property

Generic Property Source # 
Instance details

Defined in Codec.Tiled.Property

Associated Types

type Rep Property :: Type -> Type #

Methods

from :: Property -> Rep Property x #

to :: Rep Property x -> Property #

ToJSON Property Source # 
Instance details

Defined in Codec.Tiled.Property

FromJSON Property Source # 
Instance details

Defined in Codec.Tiled.Property

type Rep Property Source # 
Instance details

Defined in Codec.Tiled.Property

type Rep Property = D1 ('MetaData "Property" "Codec.Tiled.Property" "aeson-tiled-0.0.2.1-3IFO8Z3ijyPIGJuK63SCDZ" 'False) (C1 ('MetaCons "Property" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "propertyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value))))