aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/util/json_util.h
Commit message (Collapse)AuthorAge
* Clarify default value behavior in JSON conversion.Gravatar Feng Xiao2017-12-12
| | | | Make it clear default value is only omitted for proto3.
* Fix undefined memory management found by Clang's sanitizers.Gravatar John Millikin2017-10-16
| | | | See https://github.com/google/protobuf/issues/3752 for context.
* Down-integrate from google3.Gravatar Feng Xiao2017-03-29
|
* Add option to preserve original proto field namesGravatar Brendan McCarthy2017-03-17
|
* Add use_snake_case_for_field_names option to JsonPrintOptionsGravatar Brendan McCarthy2017-03-17
|
* Merge pull request #2355 from xfxyjwf/fixjsonGravatar Feng Xiao2017-02-24
|\ | | | | Speed up JSON parsing.
* | Add an option to always print enums as ints in Json APIGravatar Sanchay Harneja2017-02-18
| | | | | | | | https://github.com/google/protobuf/issues/2735
| * Speed up JSON parsing.Gravatar Feng Xiao2016-11-10
|/ | | | | | | | | | | 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 missing LIBPROTOBUF_EXPORTGravatar Feng Xiao2016-07-13
|
* Integrate from internal code base.Gravatar Feng Xiao2016-07-13
|
* Add JsonParseOptions to ignore unknown fieldsGravatar Lizan Zhou2016-06-28
| | | | | - add JsonParseOptions for JsonToBinaryString allow unknown fields - rename current JsonOptions to JsonPrintOptions
* Fix bugs on windowsGravatar Bo Yang2015-08-25
|
* Down-integrate from google3.Gravatar Feng Xiao2015-08-22
|
* Fix broken builds.Gravatar Feng Xiao2015-06-17
|
* Down-integrate from internal code base.Gravatar Feng Xiao2015-06-15
[ci skip] Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d