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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
condense_json() now can now round-trip inputs that include the keys $, $r, and $raw. These are now escaped using a $raw wrapper. #3
Overlapping replacements are now deterministic: matches are selected from left to right, with the longest match winning.
uncondense_json() now raises UncondenseError, a subclass of ValueError, for malformed condensed data, including unknown or blank replacement IDs, non-list $r values, and invalid $r segments.
Type annotations now cover any JSON-compatible top-level value through the exported recursive JSONInput alias.