Sha256: 6804f347680c8df72d6fd7771d2188d01c137c476cd4ea18acd114c912e707bd
Contents?: true
Size: 257 Bytes
Versions: 7
Compression:
Stored size: 257 Bytes
Contents
#!/usr/bin/env ruby require 'oj' module Flapjack def self.load_json(data) Oj.load(data, :mode => :strict, :symbol_keys => false) end def self.dump_json(data) Oj.dump(data, :mode => :compat, :time_format => :ruby, :indent => 0) end end
Version data entries
7 entries across 7 versions & 1 rubygems