﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27415	Add request.JSON or request.get_json()	Ustun Ozgur	nobody	"If the content-type is application/json, the body should be parsed and put on request object as JSON or json field (or retrieved via a method like get_json).

This is what flask does, and should be supported for convenience since it is nowadays very common to ingest JSON.

I have seen several proposals in this regard, but those seem over generic (ability to support multiple parsers etc.) and work on them seems to have stalled or moved to libraries.

Solving the majority case where people use JSON should be good enough. 

I have searched the open tickets, but haven't been able to find a duplicate which just focuses on JSON.

https://code.djangoproject.com/ticket/21442

https://github.com/django/deps/blob/master/draft/content-negotiation.rst

https://flask.readthedocs.io/en/latest/api/#flask.Request.get_json

The json class might be configurable so that people can use ujson instead of stock json for perf if needed.

"	New feature	closed	HTTP handling	1.10	Normal	wontfix	json, request, incoming data		Unreviewed	0	0	0	0	0	0
