Home
last modified time | relevance | path

Searched refs:encode_json (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/lib/google/protobuf/
Dmessage_exts.rb44 self.class.encode_json(self)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/lib/google/
Dprotobuf.rb63 def self.encode_json(msg) singletonMethod
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Dbasic.rb886 encoded_msg = Google::Protobuf.encode_json(m)
1154 json_text = TestMessage.encode_json(m)
1162 Foo.encode_json(Foo.new)
1163 Foo.encode_json(Foo.new(bar: bar))
1164 Foo.encode_json(Foo.new(bar: bar, baz: [baz1, baz2]))
1173 assert MapMessage.encode_json(m) == expected
1175 json = MapMessage.encode_json(m, :preserve_proto_fieldnames => true)
1178 m2 = MapMessage.decode_json(MapMessage.encode_json(m))
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/
DREADME.md52 puts MyTestMessage.encode_json(mymessage)