Home
last modified time | relevance | path

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 Djson.go45 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 Djson.go45 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 Drender_test.go198 err := (PureJSON{data}).Render(w)
/dports/www/mirrorselect/mirrorselect-0.9.0/vendor/github.com/gin-gonic/gin/render/
H A Djson.go48 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 Drender_test.go198 err := (PureJSON{data}).Render(w)
/dports/www/mirrorselect/mirrorselect-0.9.0/vendor/github.com/gin-gonic/gin/
H A Dcontext.go895 func (c *Context) PureJSON(code int, obj interface{}) { func
896 c.Render(code, render.PureJSON{Data: obj})
H A DREADME.md55 - [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 DCHANGELOG.md153 - [NEW] Add PureJSON renderer [#694](https://github.com/gin-gonic/gin/pull/694)
H A Dcontext_test.go806 c.PureJSON(http.StatusCreated, H{"foo": "bar", "html": "<b>"})
/dports/net/rospo/rospo-0.7.1/vendor/github.com/gin-gonic/gin/
H A Dcontext.go967 func (c *Context) PureJSON(code int, obj interface{}) { func
968 c.Render(code, render.PureJSON{Data: obj})
H A DREADME.md55 - [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 DCHANGELOG.md204 - [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 Dcontext.go967 func (c *Context) PureJSON(code int, obj interface{}) { func
968 c.Render(code, render.PureJSON{Data: obj})
H A DREADME.md55 - [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 DCHANGELOG.md204 - [NEW] Add PureJSON renderer [#694](https://github.com/gin-gonic/gin/pull/694)
H A Dcontext_test.go833 c.PureJSON(http.StatusCreated, H{"foo": "bar", "html": "<b>"})