Closed
Description
Right now if you're trying to parse a partial object, pydantic won't return the key until the string value is complete:
In [4]: pydantic_core.from_json('{"test": "this', allow_partial=True)
Out[4]: {}
I'd expect this to result in:
In [5]: pydantic_core.from_json('{"test": "this', allow_partial=True)
Out[5]: {'test': 'this'}
similarly to how objects and lists are optimistically closed during partial rendering.