Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 10:12:04

0001 // Protocol Buffers - Google's data interchange format
0002 // Copyright 2008 Google Inc.  All rights reserved.
0003 //
0004 // Use of this source code is governed by a BSD-style
0005 // license that can be found in the LICENSE file or at
0006 // https://developers.google.com/open-source/licenses/bsd
0007 
0008 // Utility functions to convert between protobuf binary format and proto3 JSON
0009 // format.
0010 #ifndef GOOGLE_PROTOBUF_UTIL_JSON_UTIL_H__
0011 #define GOOGLE_PROTOBUF_UTIL_JSON_UTIL_H__
0012 
0013 #include "absl/base/attributes.h"
0014 #include "google/protobuf/json/json.h"
0015 
0016 namespace google {
0017 namespace protobuf {
0018 namespace util {
0019 using JsonParseOptions = ::google::protobuf::json::ParseOptions;
0020 using JsonPrintOptions = ::google::protobuf::json::PrintOptions;
0021 
0022 using JsonOptions ABSL_DEPRECATED("use JsonPrintOptions instead") =
0023     JsonPrintOptions;
0024 
0025 using ::google::protobuf::json::BinaryToJsonStream;
0026 using ::google::protobuf::json::BinaryToJsonString;
0027 
0028 using ::google::protobuf::json::JsonStringToMessage;
0029 using ::google::protobuf::json::JsonToBinaryStream;
0030 
0031 using ::google::protobuf::json::JsonToBinaryString;
0032 using ::google::protobuf::json::MessageToJsonString;
0033 }  // namespace util
0034 }  // namespace protobuf
0035 }  // namespace google
0036 
0037 #endif  // GOOGLE_PROTOBUF_UTIL_JSON_UTIL_H__