Method: ActiveSupport::JSON::Encoding.time_precision

Defined in:
activesupport/lib/active_support/json/encoding.rb

.time_precisionObject

Sets the precision of encoded time values. Defaults to 3 (equivalent to millisecond precision)



107
108
109
# File 'activesupport/lib/active_support/json/encoding.rb', line 107

def time_precision
  @time_precision
end