| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Add "override" for overridden virtual functions.
Please refer following issue for discussion on this.
https://github.com/google/protobuf/issues/67
|
|
|
|
| |
Make it clear default value is only omitted for proto3.
|
|
|
|
| |
See https://github.com/google/protobuf/issues/3752 for context.
|
| |
|
| |
|
| |
|
|\
| |
| | |
Speed up JSON parsing.
|
| |
| |
| |
| | |
https://github.com/google/protobuf/issues/2735
|
|/
|
|
|
|
|
|
|
|
|
| |
It turns out calling StringOutputStream::Next()/BackUp() repeatedly is
very costly in opensource protobuf because it keeps resize() the string
back and forth. The current JSON conversion API suffers this problem and
leads to ridiculously long parsing time:
https://github.com/google/protobuf/issues/2305#issuecomment-257785492
This change fixes the problem but caching the buffer of Next() and avoid
calling BackUp() as much as possible.
|
| |
|
| |
|
|
|
|
|
| |
- add JsonParseOptions for JsonToBinaryString allow unknown fields
- rename current JsonOptions to JsonPrintOptions
|
| |
|
| |
|
| |
|
|
[ci skip]
Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
|