class JSONApiSerializer::DefaultSerializer(T)

Included Modules

Defined in:

jsonapi-serializer-cr/default_serializer.cr

Instance Method Summary

Macro Summary

Instance methods inherited from module JSONApiSerializer::Serializer(T)

deserialize(json : String, base : T | Nil = nil) : T | Nil
deserialize(value : JSON::Any, base : T | Nil = nil) : T | Nil
deserialize
, serialize(entity : T | Nil) : String | Nil serialize

Instance Method Detail

def deserialize(value : JSON::Any, base : T | Nil = nil) : T | Nil #

[View source]
def serialize(entity : T | Nil) : String | Nil #

[View source]

Macro Detail

macro value_as_type(var, path) #

[View source]