class Transit::Marshaler::VerboseJson
@api private
Public Instance Methods
emit_string(prefix, tag, value, as_map_key, cache)
click to toggle source
# File lib/transit/marshaler/cruby/json.rb, line 89 def emit_string(prefix, tag, value, as_map_key, cache) emit_value("#{prefix}#{tag}#{value}", as_map_key) end
emit_tagged_value(tag, rep, cache)
click to toggle source
# File lib/transit/marshaler/cruby/json.rb, line 93 def emit_tagged_value(tag, rep, cache) emit_map_start(1) emit_string(ESC, "#", tag, true, cache) marshal(rep, false, cache) emit_map_end end