method

as_json

ruby latest stable - Class: BigDecimal
as_json(*)
public

Marshal the object to JSON.

method used for JSON marshalling support.