dump(obj: Any, fp: IO[str], app: Optional[ForwardRef('Flask')] = None, **kwargs: Any) -> None |
Serialize an object to JSON written to a file object. [extrait de dump.__doc__] |
dumps(obj: Any, app: Optional[ForwardRef('Flask')] = None, **kwargs: Any) -> str |
Serialize an object to a string of JSON. [extrait de dumps.__doc__] |
htmlsafe_dump(obj: Any, fp: IO[str], **kwargs: Any) -> None |
Serialize an object to JSON written to a file object, replacing [extrait de htmlsafe_dump.__doc__] |
htmlsafe_dumps(obj: Any, **kwargs: Any) -> str |
Serialize an object to a string of JSON with :func:`dumps`, then [extrait de htmlsafe_dumps.__doc__] |
http_date(timestamp: Union[datetime.datetime, datetime.date, int, float, time.struct_time, NoneType] = None) -> str |
Format a datetime object or timestamp into an :rfc:`2822` date [extrait de http_date.__doc__] |
jsonify(*args: Any, **kwargs: Any) -> 'Response' |
Serialize data to JSON and wrap it in a :class:`~flask.Response` [extrait de jsonify.__doc__] |
load(fp: IO[str], app: Optional[ForwardRef('Flask')] = None, **kwargs: Any) -> Any |
Deserialize an object from JSON read from a file object. [extrait de load.__doc__] |
loads(s: str, app: Optional[ForwardRef('Flask')] = None, **kwargs: Any) -> Any |
Deserialize an object from a string of JSON. [extrait de loads.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :