lib/hyperion/formats.rb in hyperion_http-0.1.4 vs lib/hyperion/formats.rb in hyperion_http-0.1.5
- old
+ new
@@ -55,10 +55,11 @@
def oj_options
{
mode: :compat,
time_format: :xmlschema, # xmlschema == iso8601
use_to_json: false,
- second_precision: 3
+ second_precision: 3,
+ bigdecimal_load: :float
}
end
def get_oj_line_and_col(e)
m = e.message.match(/at line (?<line>\d+), column (?<col>\d+)/)