gin/render
Kaushik Neelichetty 5f56109bcf
Use json marshall in context json to fix breaking new line issue. Fixes #2209 (#2228)
* ignore IntelliJ idea generated files

* update JSON renderer to use Marshall() instead of Encode(). Fix #2209

* Revert "ignore IntelliJ idea generated files"

This reverts commit e7bd017227.

Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: thinkerou <thinkerou@gmail.com>
2020-02-21 17:15:17 +08:00
..
data.go chore: add some annotations (#1544) 2018-09-15 10:23:32 +08:00
html.go chore: add some annotations (#1550) 2018-09-15 15:21:54 +08:00
json.go Use json marshall in context json to fix breaking new line issue. Fixes #2209 (#2228) 2020-02-21 17:15:17 +08:00
msgpack.go Add build tag nomsgpack (#1852) 2020-01-07 11:31:10 +08:00
protobuf.go fix errcheck warnings (#1739) 2019-01-18 09:32:53 +08:00
reader.go allow empty headers on DataFromReader (#2121) 2019-11-25 10:45:53 +08:00
reader_test.go allow empty headers on DataFromReader (#2121) 2019-11-25 10:45:53 +08:00
redirect.go v1.4.0 + #1631 (remove go1.6/go1,7 support) (#1851) 2019-05-07 18:32:32 +08:00
render.go Add build tag nomsgpack (#1852) 2020-01-07 11:31:10 +08:00
render_msgpack_test.go Add build tag nomsgpack (#1852) 2020-01-07 11:31:10 +08:00
render_test.go Use json marshall in context json to fix breaking new line issue. Fixes #2209 (#2228) 2020-02-21 17:15:17 +08:00
text.go fix errcheck warnings (#1739) 2019-01-18 09:32:53 +08:00
xml.go chore: add some annotations (#1544) 2018-09-15 10:23:32 +08:00
yaml.go fix errcheck warnings (#1739) 2019-01-18 09:32:53 +08:00