module

Hwaro::Services::Issue::SymbolConverter

Issue is JSON-serialized for hwaro doctor --json. We don't currently consume that JSON back into Issue values, but the converter still needs a correct from_json so a future round-trip (or third-party tooling that reuses the schema) doesn't blow up. The previous implementation returned String from a Symbol-typed method.

Class methods

from_json(pull : JSON::PullParser) : Symbol
Source
to_json(value : Symbol, json : JSON::Builder)
Source