athena icon indicating copy to clipboard operation
athena copied to clipboard

Serializer fails to deserialize Hash(String, JSON::Any)

Open repomaa opened this issue 1 year ago • 0 comments

Steps to reproduce:

struct Thing
  include ASR::Serializable
  
  getter stuff : Hash(String, JSON::Any)
end

thing = ASR.serializer.deserialize Thing, %({"stuff":{"foo":"bar"}})
thing.stuff.inspect # => {}

repomaa avatar Oct 19 '22 21:10 repomaa