Skip to content

Commit

Permalink
Breaking Change: Remove deprecated JsonOptions alias.
Browse files Browse the repository at this point in the history
This has been deprecated since v4.22.x and should be replace with JsonPrintOptions which was added in v3.0.0.

See https://protobuf.dev/news/2024-10-02/#jsonoptions

PiperOrigin-RevId: 692183958
  • Loading branch information
zhangskz authored and copybara-github committed Nov 1, 2024
1 parent e372741 commit e2eb0a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/google/protobuf/util/json_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ namespace util {
using JsonParseOptions = ::google::protobuf::json::ParseOptions;
using JsonPrintOptions = ::google::protobuf::json::PrintOptions;

using JsonOptions ABSL_DEPRECATED("use JsonPrintOptions instead") =
JsonPrintOptions;

using ::google::protobuf::json::BinaryToJsonStream;
using ::google::protobuf::json::BinaryToJsonString;

Expand Down

0 comments on commit e2eb0a1

Please sign in to comment.