From f34ce7294e2fc3d8c5058aaf5163008c497e2fef Mon Sep 17 00:00:00 2001 From: gengchao Date: Tue, 29 Mar 2022 20:39:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=80=92=E5=BD=92=E6=B7=B1?= =?UTF-8?q?=E5=BA=A6=E9=98=88=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parser/common/convert/pb2json.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/common/convert/pb2json.cc b/parser/common/convert/pb2json.cc index b411252..66097b8 100644 --- a/parser/common/convert/pb2json.cc +++ b/parser/common/convert/pb2json.cc @@ -31,7 +31,7 @@ using std::string; namespace ge { namespace { const int kSignificantDigits = 10; -const int kMaxParseDepth = 5; +const int kMaxParseDepth = 20; } // JSON parses non utf8 character throwing exceptions, so some fields need to be shielded through black fields FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY void Pb2Json::Message2Json(const ProtobufMsg &message,