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

TykTechnologies / tyk / 3334

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2017 08:08AM 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
3334

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

Jobs
ID Job ID Ran Files Coverage
2 3334.2 (LATEST_GO=true) 01 Nov 2017 08:08AM UTC 0
45.88
Travis Job 3334.2
Source Files on build 3334
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3334
  • 4c98eb0e on github
  • Prev Build on master (#3329)
  • Next Build on master (#3340)
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