diff --git a/src/ext/big_decimal.cr b/src/ext/big_decimal.cr deleted file mode 100644 index eab9224..0000000 --- a/src/ext/big_decimal.cr +++ /dev/null @@ -1,10 +0,0 @@ -# https://github.com/crystal-lang/crystal/issues/7856 -struct BigDecimal - def to_json(json : JSON::Builder) - json.string(self) - end - - def to_json_object_key - to_s - end -end diff --git a/src/money/money/json.cr b/src/money/money/json.cr index 2d02069..9732779 100644 --- a/src/money/money/json.cr +++ b/src/money/money/json.cr @@ -1,6 +1,5 @@ require "json" require "big/json" -require "../../ext/big_decimal" struct Money include JSON::Serializable