# Stubs for flask.json (Python 3.6)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

import json as _json
from typing import Any

class JSONEncoder(_json.JSONEncoder):
    def default(self, o: Any): ...

class JSONDecoder(_json.JSONDecoder): ...

def dumps(obj: Any, **kwargs: Any): ...
def dump(obj: Any, fp: Any, **kwargs: Any) -> None: ...
def loads(s: Any, **kwargs: Any): ...
def load(fp: Any, **kwargs: Any): ...
def htmlsafe_dumps(obj: Any, **kwargs: Any): ...
def htmlsafe_dump(obj: Any, fp: Any, **kwargs: Any) -> None: ...
def jsonify(*args: Any, **kwargs: Any): ...
