diff options
author | Jon Skeet <jonskeet@google.com> | 2015-11-23 16:21:47 +0000 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-12-02 07:54:34 +0000 |
commit | 3de2fced6be1cc5e8f321c5aee2bb43176be962a (patch) | |
tree | 2942a336c3eb43c792520bbfd75006f2b2f4c6a6 /examples | |
parent | 567579b50517e4f7efc459ab1d9d5ee2577af024 (diff) | |
download | protobuf-3de2fced6be1cc5e8f321c5aee2bb43176be962a.tar.gz protobuf-3de2fced6be1cc5e8f321c5aee2bb43176be962a.tar.bz2 protobuf-3de2fced6be1cc5e8f321c5aee2bb43176be962a.zip |
Handle JSON parsing for Any.
This required a rework of the tokenizer to allow for a "replaying" tokenizer, basically in case the @type value comes after the data itself. This rework is nice in some ways (all the pushback and object depth logic in one place) but is a little fragile in terms of token push-back when using the replay tokenizer. It'll be fine for the scenario we need it for, but we should be careful...
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions