Commit 1c1e4dd
committed
unix-ffi/json: Accept both str and bytes as arg for json.loads().
Fixes #985.
Same as micropython's internal json lib does.
Signed-off-by: Dominik Heidler <[email protected]>1 parent 65a1411 commit 1c1e4dd
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
| 357 | + | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
416 | 418 | | |
0 commit comments