| Commit message (Collapse) | Author | Age |
|\
| |
| | |
Add "override" keyword for overridden virtual functions
|
| |
| |
| |
| | |
Signed-off-by: Harvey Tuch <htuch@google.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is invaluable for chasing down the culprit in failed JSON -> proto
conversions. We often see in Envoy that a failed JSON (or indirectly via
YAML) configuration won't load but it's unclear why.
Signed-off-by: Harvey Tuch <htuch@google.com>
|
|/
|
|
|
|
| |
Add "override" for overridden virtual functions.
Please refer following issue for discussion on this.
https://github.com/google/protobuf/issues/67
|
|\ |
|
| |
| |
| |
| | |
print the default value of enums as strings
|
|/ |
|
| |
|
| |
|
|
|
|
| |
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
|