weixin_40000131
weixin_40000131
2021-01-07 03:58

Invalid value for BigDecimal Infinity (v 2.17.1)

When i was trying to generate json on RoR application (using jbuilder), in which there was Infinity value of BigDecimal on one of objects, I found strange error - returns bare Infinity value instead of NaN or null. Thats why webrowser throws json parse error.

该提问来源于开源项目:ohler55/oj

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

11条回答

为你推荐

换一换