When deserializing certain types, the library may hit unreachable!() statements, which results in a panic. This appears to be because serde-json-core does not support deserializing complex enums (e.g. pub struct Test(u32).
That being said, the library should never internally panic. Instead, it should propagate an error out to the user.
When deserializing certain types, the library may hit
unreachable!()statements, which results in a panic. This appears to be because serde-json-core does not support deserializing complex enums (e.g.pub struct Test(u32).That being said, the library should never internally panic. Instead, it should propagate an error out to the user.