class Maildir::Serializer::JSON

Overview

Serialize messages as JSON

Defined in:

serializer/json.cr

Instance Method Summary

Instance methods inherited from class Maildir::Serializer::Base

dump(data, path) dump, load(path) load

Instance Method Detail

def dump(data, path) #

Dump data as JSON and writes it to path.


[View source]
def load(path) #

Read data from path and parse it as JSON.


[View source]