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

spyoungtech / json-five / 5755676461
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: pre-commit-ci-update-config
DEFAULT BRANCH: master
Ran 03 Aug 2023 09:08PM UTC
Jobs 4
Files 7
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

pending completion
5755676461

push

github

spyoungtech
add colno/end_colno and end_linno properties to JSON5Token. restructure JSONObject to store keys and values separately

This change removes `KeyValuePair` as a Node object.
Instead, the underlying data model will store a list of keys and list of values in separate attributes.
A new attribute for `JSONOBject` `key_value_pairs` which will be a named tuple (typing.NamedTuple) that
provides the key and value attributes.

This change brings more congruity with how the stdlib `ast` module handles Python dictionaries, to which
Python users may be more accustomed. It also maintains, by interface, the same structure for JSON5
members (https://spec.json5.org/#prod-JSON5MemberList) with the new key_value_pairs attribute (although it itself is not a Node).

47 of 47 new or added lines in 4 files covered. (100.0%)

1178 of 1225 relevant lines covered (96.16%)

3.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.4
0.49% json5/tokenizer.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
95.67
17.13% json5/model.py
Jobs
ID Job ID Ran Files Coverage
1 5755676461.1 03 Aug 2023 09:08PM UTC 7
96.16
2 5755676461.2 03 Aug 2023 09:08PM UTC 7
96.16
3 5755676461.3 03 Aug 2023 09:08PM UTC 7
96.16
4 5755676461.4 03 Aug 2023 09:09PM UTC 7
96.16
Source Files on build 5755676461
  • Tree
  • List 7
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 52164f2a on github
  • Prev Build on model-improvements (#5744996641)
  • Next Build on model-improvements (#5756414190)
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