lib/rom/json/dataset.rb
# frozen_string_literal: true
require 'rom/memory/dataset'
module ROM
module JSON
# JSON in-memory dataset used by JSON gateways
#
# @api public
class Dataset < ROM::Memory::Dataset
# Data-row transformation proc
#
# @api private
def self.row_proc
Transforms[:deep_symbolize_keys]
end
end
class Transforms
extend Transproc::Registry
import Transproc::HashTransformations
import Transproc::Recursion
end
end
end