class Transit::Marshaler::Json
@api private
Public Instance Methods
emit_map(m, cache)
click to toggle source
# File lib/transit/marshaler/cruby/json.rb, line 74 def emit_map(m, cache) emit_array_start(-1) emit_value("^ ", false) m.each do |k,v| marshal(k, true, cache) marshal(v, false, cache) end emit_array_end end