Sha256: 9c107b12de6beafca56c4be7232944df79f59d314c832961ab9ef4562754eef0

Contents?: true

Size: 133 Bytes

Versions: 5

Compression:

Stored size: 133 Bytes

Contents

require 'oj'

module Hippo::API
    def self.to_json(data)
        Oj.dump(data, mode: :compat, time_format: :xmlschema)
    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hippo-fw-0.9.5 lib/hippo/api/to_json.rb
hippo-fw-0.9.4 lib/hippo/api/to_json.rb
hippo-fw-0.9.3 lib/hippo/api/to_json.rb
hippo-fw-0.9.2 lib/hippo/api/to_json.rb
hippo-fw-0.9.1 lib/hippo/api/to_json.rb