Description

JSON serializes the given struct as JSON into the response body. It also sets the Content-Type as "application/json".

JSON is referenced in 266 repositories

github.com/gin-gonic/gin github.com/shuimu98/domi-appserver github.com/aiyi/go-user

...