# File 'lib/protojson/codec/json_tag_map.rb', line 16defdecode(message,data)data.is_a?(String)anddata=ActiveSupport::JSON.decode(data)Protojson::Codec::Hash.decode(message,data,:tag)end
.encode(message) ⇒ Object
12
13
14
# File 'lib/protojson/codec/json_tag_map.rb', line 12defencode(message)Protojson::Codec::Hash.encode(message,:tag).to_jsonend