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
fix(UnionJsonConverter): Fix fallback logic when deserialization fails
When deserializing a union type, if parsing of the preferred type fails, it should fall back to the alternative type. Added the TryDeserialize method for safe parsing attempts, and adjusted the priority judgment between enum and string types in ShouldChooseFirst to ensure correct execution of the fallback logic.
0 commit comments