• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TykTechnologies / tyk / 3335
50%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 01 Nov 2017 08:19AM UTC
Jobs 1
Files 79
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3335

push

travis-ci

buger
mw: add jsonMarshal to body transform templates

So that one can use the body templates to change XML into JSON (or
otherwise construct JSON objects) without having to worry about properly
encoding values. The simplest case of this is strings, since using
plaintext could easily result in unescaped quote characters.

Now, instead of using the following template:

	"{{ $val }}"

One should do:

	{{ $val | jsonMarshal }}

Fixes #1145.

8 of 8 new or added lines in 1 file covered. (100.0%)

5909 of 12878 relevant lines covered (45.88%)

0.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
100.0
api_definition.go

Uncovered Existing Lines

Lines Coverage ∆ File
5
100.0
analytics.go
Jobs
ID Job ID Ran Files Coverage
2 3335.2 (LATEST_GO=true) 01 Nov 2017 08:19AM UTC 0
45.88
Travis Job 3335.2
Source Files on build 3335
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3335
  • 52721070 on github
  • Prev Build on release-2.4 (#3330)
  • Next Build on release-2.4 (#3356)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc