diff options
| author | Fabian Schuiki | 2022-03-25 19:53:43 +0100 |
|---|---|---|
| committer | GitHub | 2022-03-25 18:53:43 +0000 |
| commit | a2d48a5896335a567ddb21ed87fe38cd65d4764d (patch) | |
| tree | 28c5fc6dd2795200fbb1d8bed5613d990d76ee93 /test | |
| parent | 8d2262c0566c5cc7fc66dec7d3e6d1f8102879b5 (diff) | |
Fix anno deserialization when class field is not first (#2501)
Update `findTypeHints` to allow for the "class" field in JSON objects to
appear anywhere in the object. This used to rely on the field being the
very first in the object, which is easily violated when reading JSON
data generated externally, since an object's order of fields is
unspecified and can be arbitrarily scrambled.
Fixes #2497.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
