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

square / go-jose / 504 / 3
92%
master: 90%

Build:
Build:
LAST BUILD BRANCH: unmarshal_number_to_int64
DEFAULT BRANCH: master
Ran 24 Mar 2017 12:59AM UTC
Files 17
Run time 1s
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

24 Mar 2017 12:58AM UTC coverage: 91.902%. First build
504.3

push

travis-ci

csstaub
Preserve integers when normalizing JWT claims (fixes #142)

We normalize claims for tokens given to us in the builder by marshaling
and then unmarshaling as a JSON object. However, because JSON officially
only supports floating-point numbers, this loses precision for integers
embedded in structs. We switch to using json.Decoder (with UseNumber
option) to decode numbers into json.Number, which preserves the precise
value for both integers and floats.

2372 of 2581 relevant lines covered (91.9%)

971.24 hits per line

Source Files on job 504.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 504
  • Travis Job 504.3
  • b367cc5c on github
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