mangiucugna / json_repair

A python module to repair invalid JSON, commonly used to parse the output of LLMs
https://pypi.org/project/json-repair/
MIT License
826 stars 48 forks source link

Improve type hinting by using overloads #65

Closed d-hage closed 2 months ago

d-hage commented 2 months ago

Proposed changes

Ran into some issues regarding type hinting. To solve this, added some overloading to help with type hinting! This should not be a breaking change.

Types of changes

What types of changes does your code introduce to Appium? Put an x in the boxes that apply

Checklist

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...