Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在从我的日志中解析 json 字段,其中一些我有数组。Sumo 似乎可以很好地理解数组,但我没有看到一种提取数组中项目数的方法。(长度、计数等)
length似乎仅用于字符数。但是我添加了一个屏幕截图来演示我想要做什么。在这种情况下,body是一个对象数组。
length
body