Returns Python objects for the given JSON string. Supports both `str` and `bytes` inputs.
(value: Union[str, bytes])
| 76 | |
| 77 | |
| 78 | def json_decode(value: Union[str, bytes]) -> Any: |
| 79 | """Returns Python objects for the given JSON string. |
| 80 | |
| 81 | Supports both `str` and `bytes` inputs. |
| 82 | """ |
| 83 | return json.loads(to_basestring(value)) |
| 84 | |
| 85 | |
| 86 | def squeeze(value: str) -> str: |
no outgoing calls