Protobuf UnknownFieldSet is used to store unknown fields in protobuf wire format. An unknown Json field doesn't contain protobuf wire information and therefore can't be converted to an unknown field.
On Thu, Feb 6, 2014 at 11:52 PM, Gregory Hlavac <[email protected]> wrote: > I'm rewriting a JSON <-> Protobuf bridge and I want to allow it to handle > unknown fields in the JSON but for the life of me I can't figure out how to > set unknown fields with C++. > > > Another thing I've noticed is > > string * > *mutable_length_delimited*() > Is that an unknown string field? Because its named oddly. > > -- > 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 post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/groups/opt_out.
