Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Parsing Option that Specifies Class for Decimals #223

Closed
wants to merge 1 commit into from

Conversation

jaschob
Copy link

@jaschob jaschob commented Nov 16, 2014

This commit addresses issue #219 in flori/json. A new :decimal_class option for the parser allows the caller to select an alternate object class when a decimal number is parsed, instead of the default Float. The new class should have a one-argument constructor and is passed the read decimal as a string.

This commit addresses issue flori#219 in flori/json. A new :decimal_class
option for the parser allows the caller to select an alternate
object class when a decimal number is parsed, instead of the default
Float. The new class should have a one-argument constructor and is
passed the read decimal as a string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants