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

TykTechnologies / tyk / 3334 / 2

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2017 08:08AM UTC
Files 79
Run time 2s
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

01 Nov 2017 08:00AM UTC coverage: 45.884% (-0.02%) from 45.906%
LATEST_GO=true

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.

5909 of 12878 relevant lines covered (45.88%)

0.5 hits per line

Source Files on job 3334.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3334
  • Travis Job 3334.2
  • 4c98eb0e on github
  • Prev Job for LATEST_GO=true on master (#3329.2)
  • Next Job for LATEST_GO=true on master (#3340.2)
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