Since I’m an api project, I don’t want to import json functions every time
from sanic import Sanic, json, Request
app = Sanic(__name__)
@app.post("/user")
async def create_user(request: Request):
person = {"name": "bob", "age": 12}
# return json(person)
return person