In the context of cel-spec test cases, which exist in textproto format 
(example: 
https://github.com/google/cel-spec/blob/4e8877a830d0d613e00c0477acb266006dd688bd/tests/simple/testdata/basic.textproto),
 
I tried to find the correct API in the ruby google-protobuf package which 
would allow to decode it into a protobuf object, but couldn't find it 
(Example.decode at least can't parse anything other than the binary format).

is there a way to do it, or is this a missing feature? FWIW go seems to be 
able to do it via .Unmarshal (example 
https://github.com/google/cel-spec/blob/4e8877a830d0d613e00c0477acb266006dd688bd/tests/simple/simple_test.go#L131)

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/ecfdc95c-e0fa-48c0-92d3-848b0c6576a1n%40googlegroups.com.

Reply via email to