You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
496 B
24 lines
496 B
1 year ago
|
from typing import (
|
||
|
Any,
|
||
|
Callable,
|
||
|
)
|
||
|
|
||
|
def ujson_dumps(
|
||
|
obj: Any,
|
||
|
ensure_ascii: bool = ...,
|
||
|
double_precision: int = ...,
|
||
|
indent: int = ...,
|
||
|
orient: str = ...,
|
||
|
date_unit: str = ...,
|
||
|
iso_dates: bool = ...,
|
||
|
default_handler: None
|
||
|
| Callable[[Any], str | float | bool | list | dict | None] = ...,
|
||
|
) -> str: ...
|
||
|
def ujson_loads(
|
||
|
s: str,
|
||
|
precise_float: bool = ...,
|
||
|
numpy: bool = ...,
|
||
|
dtype: None = ...,
|
||
|
labelled: bool = ...,
|
||
|
) -> Any: ...
|