Currently, `JSON.mapping` overrides `.new({ ... => ... })` constructor with its own. Workaround for now is to do: ``` crystal class Post < ActiveRecord::Model # ... def initialize(h : Hash) super(h) end JSON.mapping({ ... }) end ```
Currently,
JSON.mappingoverrides.new({ ... => ... })constructor with its own.Workaround for now is to do: