1 2 3 4 5 6 7 8 9 10
class Guff:Post def initialize(@row : Hash(String, ::SQLite3::Value)) end def to_json @row.merge({ "tags": @row["tags"].split('|') }).to_json end end