abstract class JSONApiSerializer::ResourceSerializer(T)
- JSONApiSerializer::ResourceSerializer(T)
- Reference
- Object
Included Modules
Defined in:
jsonapi-serializer-cr/resource_serializer.crConstant Summary
-
ATTR_MACROS =
["identifier", "attribute", "relationship"]
Constructors
Instance Method Summary
- #change_case(name : String) : String
- #get_type : String
- #options : SerializeOptions
- #options=(v : SerializeOptions)
Macro Summary
Instance methods inherited from module JSONApiSerializer::Serializer(T)
deserialize(json : String, base : T | Nil = nil) : T | Nildeserialize(value : JSON::Any, base : T | Nil = nil) : T | Nil deserialize, serialize(entity : T | Nil) : String | Nil serialize