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

veeso / ic-dbms / 21565321640
95%
main: 96%

Build:
Build:
LAST BUILD BRANCH: refactor/48-migrate-to-wasm-dbms
DEFAULT BRANCH: main
Ran 01 Feb 2026 03:23PM UTC
Jobs 1
Files 72
Run time 1min
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 Feb 2026 03:21PM UTC coverage: 94.907%. First build
21565321640

push

github

veeso
feat(api) implement `Json` data type

Add Json data type to ic-dbms-api with full DataType trait support.

Implementation:
- Json struct wrapping serde_json::Value with cached string repr
- Default value is `null` (not empty object)
- Hierarchical type-based ordering (Ord/PartialOrd):
  Null < Bool < Number < String < Array < Object
- Recursive Hash implementation (key-order independent for objects)
- Memory encoding: 2-byte length prefix + JSON string
- Candid serialization as text
- Serde serialize/deserialize support

Integration:
- Add Json variant to Value enum with as_json() accessor
- Add Json to DataTypeKind enum
- Add InvalidJson variant to DecodeError

Tests:
- 91 tests covering ordering, hashing, encoding/decoding,
  Candid roundtrip, serde, FromStr, Display, and edge cases

closes #13

741 of 743 new or added lines in 3 files covered. (99.73%)

8144 of 8581 relevant lines covered (94.91%)

874876.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
99.73
ic-dbms-api/src/dbms/types/json.rs
Jobs
ID Job ID Ran Files Coverage
1 21565321640.1 01 Feb 2026 03:23PM UTC 72
94.91
GitHub Action Run
Source Files on build 21565321640
  • Tree
  • List 72
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21565321640
  • ffc225c1 on github
  • Next Build on feat/13-json-type (#21565861472)
  • Delete
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