module Mosquito::Serializers::Primitives

Direct including types

Defined in:

mosquito/serializers/primitives.cr

Instance Method Summary

Instance Method Detail

def deserialize_bool(raw : String) : Bool #

def deserialize_char(raw : String) : Char #

def deserialize_float32(raw : String) : Float32 | Nil #

def deserialize_float64(raw : String) : Float64 | Nil #

def deserialize_int128(raw : String) : Int128 | Nil #

def deserialize_int16(raw : String) : Int16 | Nil #

def deserialize_int32(raw : String) : Int32 | Nil #

def deserialize_int64(raw : String) : Int64 | Nil #

def deserialize_int8(raw : String) : Int8 | Nil #

def deserialize_string(raw : String) : String #

def deserialize_u_int128(raw : String) : UInt128 | Nil #

def deserialize_u_int16(raw : String) : UInt16 | Nil #

def deserialize_u_int32(raw : String) : UInt32 | Nil #

def deserialize_u_int64(raw : String) : UInt64 | Nil #

def deserialize_u_int8(raw : String) : UInt8 | Nil #

def deserialize_uuid(raw : String) : UUID #

def serialize_bool(value : Bool) : String #

def serialize_char(char : Char) : String #

def serialize_float32(value) : String #

def serialize_float64(value) : String #

def serialize_int128(value) : String #

def serialize_int16(value) : String #

def serialize_int32(value) : String #

def serialize_int64(value) : String #

def serialize_int8(value) : String #

def serialize_string(str : String) : String #

def serialize_symbol(sym : Symbol) : Nil #

def serialize_u_int128(value) : String #

def serialize_u_int16(value) : String #

def serialize_u_int32(value) : String #

def serialize_u_int64(value) : String #

def serialize_u_int8(value) : String #

def serialize_uuid(uuid : UUID) : String #