You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in some JSON schema, we use a field type to encode the actual type information, since JSON itself cannot represent types, thus, we could have a reflection type to handle this syntax, e.g
struct Foo
type::ReflectType{:lowercase}end
and when the convert sees {type: "foo", ...} it will know we want to convert this dict to a Foo
The text was updated successfully, but these errors were encountered:
in some JSON schema, we use a field
type
to encode the actual type information, since JSON itself cannot represent types, thus, we could have a reflection type to handle this syntax, e.gand when the convert sees
{type: "foo", ...}
it will know we want to convert this dict to aFoo
The text was updated successfully, but these errors were encountered: