From d9b76ab16a9c882a6e8a6318f2a9ebfc561c8014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 30 Jun 2021 18:17:44 +0200 Subject: [PATCH] fix CC issues --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6e3e217..2fa685d 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. -- GitLab