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

rurban / Cpanel-JSON-XS
61%
master: 69%

Build:
Build:
LAST BUILD BRANCH: gh179-threads
DEFAULT BRANCH: master
Repo Added 22 Oct 2015 09:59PM UTC
Files 3
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

LAST BUILD ON BRANCH dupkeys
branch: dupkeys
CHANGE BRANCH
x
Reset
  • dupkeys
  • 56testfixes
  • JSON-PP-Boolean-gh40
  • appveyor
  • bom
  • bool+stringify-gh41
  • bool-gh53
  • convert_blessed-gh37
  • dagolden/preserve-nv-as-float
  • decodebig-gh50
  • free
  • gccver
  • gh105-blessed
  • gh128-amgrec
  • gh154-normfloat
  • gh167-canon-tiedhash
  • gh174-relaxed
  • gh179-threads
  • gh66-class-error
  • gh74-nonchar
  • gh82-decode_prefix
  • gh84-need
  • gh92-coverage
  • inf-aix
  • madsen-json_test_failure
  • master
  • merge-3.02
  • mingw-nan-gh57
  • mod-hvalue-gh45
  • mojo-bool
  • n_number_then_00
  • overflows
  • pod-spelling
  • pp-options-gh47
  • pr134
  • pr138-rethrow
  • pr157-meta
  • pr42-SvRMAGICAL
  • redefine-gh60
  • rel-3.0204
  • relcand
  • s390x-ld
  • shared
  • smoke
  • smoke-3.0214
  • smoke-win
  • smoke/4.13
  • smoke/pr147
  • squote-gh54
  • string_not_in_unicode
  • stringify-gh49
  • stringify_blessed-gh37
  • threads-shared
  • travis
  • unicode-nonchars
  • unknown-gh46
  • win32
  • yes-no-gh39
  • zero-mojibake

pending completion
207

push

travis-ci

Reini Urban
error on duplicate keys

contrary to the spectests, which classifies duplicate keys as allowable.
This is arguably a bug. see http://seriot.ch/parsing_json.php#24
RFC 7159 section 4 says that "The names within an object should be unique."
So it's either i_ (undefined) or n_ (errors).

Here we error by default and allow duplicate keys in relaxed mode.
See https://github.com/rurban/Cpanel-JSON-XS/pull/75
and https://github.com/makamaka/JSON-PP/pull/30

19 of 31 relevant lines covered (61.29%)

17.65 hits per line

Relevant lines Covered
Build:
Build:
31 RELEVANT LINES 19 COVERED LINES
17.65 HITS PER LINE
Source Files on dupkeys
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
207 dupkeys error on duplicate keys contrary to the spectests, which classifies duplicate keys as allowable. This is arguably a bug. see http://seriot.ch/parsing_json.php#24 RFC 7159 section 4 says that "The names within an object should be unique." So it's ... push 29 Mar 2017 10:00AM UTC Reini Urban travis-ci pending completion  
186 dupkeys 3.0223: error on duplicate keys contrary to the spectests, which classifies duplicate keys as allowable. This is arguably a bug. see http://seriot.ch/parsing_json.php#24 RFC 7159 section 4 says that "The names within an object should be unique." ... push 05 Nov 2016 09:22PM UTC rurban travis-ci pending completion  
See All Builds (314)
  • Repo 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