wrapper-for-old-json-lib.patch 470 B

1234567891011121314
  1. --- contrib/libs/protobuf/src/google/protobuf/json/json.h (94b865765aa38dc5e4ac99e0051d228ebc9d2a80)
  2. +++ contrib/libs/protobuf/src/google/protobuf/json/json.h (a305e8c438c21585e001abb5ada0122f6e1fc694)
  3. @@ -45,7 +45,11 @@
  4. namespace google {
  5. namespace protobuf {
  6. +#ifdef USE_DEPRECATED_NAMESPACE
  7. +namespace util {
  8. +#else
  9. namespace json {
  10. +#endif
  11. struct ParseOptions {
  12. // Whether to ignore unknown JSON fields during parsing
  13. bool ignore_unknown_fields = false;