cpp-main / cpp-tbox

A complete Linux application software development tool library and runtime framework, aim at make C++ development easy.
https://github.com/cpp-main/cpp-tbox
Other
589 stars 83 forks source link

在 util/json.cpp 中实现分析字节码中JSON长度的函数 #41

Closed hevake closed 1 year ago

hevake commented 1 year ago

size_t CheckJsonLength(const char*ptr); 通过数括号的方法找出JSON的长度。

通过数 [ { " 的个数来决定;但要注意 \" 的情况。

hevake commented 1 year ago

已实现