New GitHub issue #94527 from zommiommy:<br>

<hr>

<pre>
**Bug report**
Hi, I found a small non-urgent bug so feel free to ignore it.

```python
import json
assert '\udb0a\udfdf' == json.loads(json.dumps('\udb0a\udfdf'))
```
results in:
```
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AssertionError
```

**Your environment**
I managed to reproduce it in your maylinux2010 docker for the versions 3.6, 3.7, 3.8, 3.9, 3.10. 
```shell
sudo docker run -it manylinux2010
```
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/94527">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>