Searched refs:PureJSON (Results 1 – 16 of 16) sorted by relevance
/dports/net/rospo/rospo-0.7.1/vendor/github.com/gin-gonic/gin/render/ |
H A D | json.go | 45 type PureJSON struct { struct 183 func (r PureJSON) Render(w http.ResponseWriter) error { argument 191 func (r PureJSON) WriteContentType(w http.ResponseWriter) { argument
|
/dports/net/rospo/rospo-0.7.1/vendor/github.com/gin-gonic/gin/gin-1.7.4/render/ |
H A D | json.go | 45 type PureJSON struct { struct 183 func (r PureJSON) Render(w http.ResponseWriter) error { argument 191 func (r PureJSON) WriteContentType(w http.ResponseWriter) { argument
|
H A D | render_test.go | 198 err := (PureJSON{data}).Render(w)
|
/dports/www/mirrorselect/mirrorselect-0.9.0/vendor/github.com/gin-gonic/gin/render/ |
H A D | json.go | 48 type PureJSON struct { struct 186 func (r PureJSON) Render(w http.ResponseWriter) error { argument 194 func (r PureJSON) WriteContentType(w http.ResponseWriter) { argument
|
H A D | render_test.go | 198 err := (PureJSON{data}).Render(w)
|
/dports/www/mirrorselect/mirrorselect-0.9.0/vendor/github.com/gin-gonic/gin/ |
H A D | context.go | 895 func (c *Context) PureJSON(code int, obj interface{}) { func 896 c.Render(code, render.PureJSON{Data: obj})
|
H A D | README.md | 55 - [PureJSON](#purejson) 1143 #### PureJSON subsubsection 1145 …` becomes `\u003c`. If you want to encode such characters literally, you can use PureJSON instead. 1161 c.PureJSON(200, gin.H{
|
H A D | CHANGELOG.md | 153 - [NEW] Add PureJSON renderer [#694](https://github.com/gin-gonic/gin/pull/694)
|
H A D | context_test.go | 806 c.PureJSON(http.StatusCreated, H{"foo": "bar", "html": "<b>"})
|
/dports/net/rospo/rospo-0.7.1/vendor/github.com/gin-gonic/gin/ |
H A D | context.go | 967 func (c *Context) PureJSON(code int, obj interface{}) { func 968 c.Render(code, render.PureJSON{Data: obj})
|
H A D | README.md | 55 - [PureJSON](#purejson) 1192 #### PureJSON subsubsection 1194 …` becomes `\u003c`. If you want to encode such characters literally, you can use PureJSON instead. 1210 c.PureJSON(200, gin.H{
|
H A D | CHANGELOG.md | 204 - [NEW] Add PureJSON renderer [#694](https://github.com/gin-gonic/gin/pull/694)
|
/dports/net/rospo/rospo-0.7.1/vendor/github.com/gin-gonic/gin/gin-1.7.4/ |
H A D | context.go | 967 func (c *Context) PureJSON(code int, obj interface{}) { func 968 c.Render(code, render.PureJSON{Data: obj})
|
H A D | README.md | 55 - [PureJSON](#purejson) 1192 #### PureJSON subsubsection 1194 …` becomes `\u003c`. If you want to encode such characters literally, you can use PureJSON instead. 1210 c.PureJSON(200, gin.H{
|
H A D | CHANGELOG.md | 204 - [NEW] Add PureJSON renderer [#694](https://github.com/gin-gonic/gin/pull/694)
|
H A D | context_test.go | 833 c.PureJSON(http.StatusCreated, H{"foo": "bar", "html": "<b>"})
|