aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/util/json_util_test.cc
Commit message (Collapse)AuthorAge
* protostream_objectwriter: fix bug when Any is directly embedded in a map.Gravatar Harvey Tuch2018-06-21
| | | | | | | | | | This came up when trying to round-trip the JSON<->proto3 conversion for Envoy's envoy.admin.v2alpha.ConfigDump (https://github.com/envoyproxy/envoy/blob/b903c1dc984593f8e95e0569c1503dc5d85fbe34/api/envoy/admin/v2alpha/config_dump.proto#L29). Validated fix on the Envoy code base and via the provided unit test. Signed-off-by: Harvey Tuch <htuch@google.com>
* Merge branch 'master' into fixbug_enum2json2Gravatar stone47742018-03-22
|\
* | Fix bug: whether always_print_enums_as_ints is true or false, it always ↵Gravatar stone47742018-03-19
| | | | | | | | print the default value of enums as strings
| * Merge branch 'master' into down-integrateGravatar Adam Cozzette2018-03-13
| |\ | |/ |/|
| * Integrated internal changes from GoogleGravatar Adam Cozzette2018-03-13
| |
* | The JsonParseOptions::ignore_unknown_fields option behavior treatsGravatar Alexey Malov2018-02-12
|/ | | | unrecognized string values in enum fields as default ones.
* line breaks adjstedGravatar Ubuntu2017-12-20
|
* formatting issuesGravatar Ubuntu2017-12-20
|
* resolve issue 4032 and added a unit testGravatar Ubuntu2017-12-19
|
* Down-integrate from google3.Gravatar Feng Xiao2017-03-29
|
* Merge pull request #2867 from mojoBrendan/masterGravatar Feng Xiao2017-03-17
|\ | | | | Add preserve_proto_field_names option to JsonPrintOptions
| * Add option to preserve original proto field namesGravatar Brendan McCarthy2017-03-17
| |
* | DefaultValueObjectWriter should populate oneof message fieldGravatar Jie Luo2017-03-10
|/
* Remove the use of C++11 features.Gravatar Feng Xiao2017-02-27
|
* Add an option to always print enums as ints in Json APIGravatar Sanchay Harneja2017-02-18
| | | | https://github.com/google/protobuf/issues/2735
* JsonUtilTest: Add ParsePrimitiveMapIn subtestGravatar Konstantin Podsvirov2017-02-11
|
* Integrated internal changes from GoogleGravatar Adam Cozzette2016-11-17
|
* detect invaild JSON encoding in bytes fieldGravatar mike070262016-09-01
|
* detect invaild JSON encoding in bytes fieldGravatar mike070262016-09-01
|
* 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
* Integrate google internal changes.Gravatar Jisi Liu2016-03-30
|
* Use static castGravatar Hamdi Sahloul2015-10-09
| | | Used static cast to improve initalization compatibility with MSVC2010
* VS2010 compatibility of address initalizationGravatar Hamdi Sahloul2015-10-09
| | | VS2010 cannot compile json_util_test.cc since it assumes NULL as a zero (int), and therefore cannot convert into to char*
* Merge remote-tracking branch 'origin/master' into beta-1Gravatar Feng Xiao2015-08-26
|\
* | Down-integrate from google3.Gravatar Feng Xiao2015-08-22
| |
| * Fix map fields parsing.Gravatar Feng Xiao2015-08-11
|/ | | | Change-Id: If61e16cea84492474a71bbfe985131ec980b0b0a
* Down-integrate from internal code base.Gravatar Feng Xiao2015-06-15
[ci skip] Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d