diff --git a/README.md b/README.md index 6e3e217a3848c380f7f3c8f0359af899adca643d..2fa685dae2c4c806370a6b594b40509464a6fc11 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ flask-minijson [](https://badge.fury.io/py/flask-minijson) [](https://pypi.python.org/pypi/flask-minijson) -An extension for Flask to allow clients to submit data using the application/minijson codec +An extension for Flask to allow clients to submit data using the +application/minijson codec flask-json is required to be initialized before `FlaskMiniJSON`, in such a way: @@ -27,5 +28,6 @@ And you use it like this: def endpoint(): json = request.get_json() ``` + if normal JSON is passed, it will be recognized. If -minijson is sent by the client, it will be recognized as well +minijson is sent by the client, it will be recognized as well.