Kijewski / Kijewski/pyjson5

Decimal support?

Open
#60 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Cython
Stars
179
Forks
16
PR merge metrics
No merged PRs in 30d

Description

It can sometimes be useful to parse numbers as Decimals, e.g. when working with DynamoDB and various other boto3 APIs.

There doesn't seem to be any way to do this during parsing, and doing it after a decode pass can result in lossy behavior that some APIs (such as boto3) don't like.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the parsing API and the decode pass described in the issue, with attention to how numeric values are currently represented. Define what Decimal support should look like during parsing and verify that values passed to DynamoDB and other boto3 APIs avoid lossy conversion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.