Skip to content

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

@repomaa

Description

@repomaa

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 # => {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions