Implement to_json(json : JSON::Builder) on BigDecimal #7856
Labels
help wanted
This issue is generally accepted and needs someone to pick it up
kind:feature
topic:stdlib
Implement method
to_json(json : JSON::Builder)
on BigDecimal class. BigInt and BigFloat are OK.to_yaml(...)
is properly defined in the file "yaml/to_yaml.cr" on the Number superclass,to_json
can be probably defined on the Number class too (in the file "json/to_json.cr").The text was updated successfully, but these errors were encountered: