digitalbazaar / digitalbazaar/pyld

Support for xsd:int and xsd:long in framing

Open
#231 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

jsonld:framing strict mode
Dominant language
Python
Stars
683
Forks
138
Avg merge
2d 14h
Merged PRs (30d)
15

Description

I expect

  • jsonld.frame to serialize xsd:int and xsd:long to JSON Number

Instead

  • serializes to JSON String

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the jsonld.frame entry point and trace how xsd:int and xsd:long values are converted during framing. Reproduce the issue with representative framed data, then verify that both datatypes serialize as JSON Numbers rather than Strings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.