遍历数组或者字典类型的 lynx_value
| Key | Description |
|---|---|
| [in] env | lynx_value 的运行环境,一般情况下是 nullptr |
| [in] object | 被遍历的 lynx_value |
| [in] callback | lynx_value_iterator_callback 函数指针. |
| [in] func | 透传的函数指针,遍历函数内部不会使用它 |
| [in] raw_data | 透传的用户自定义数据,遍历函数内部不会使用它 |
Returns lynx_api_ok if the API succeeded.
If the lynx_value being iterated is an array, the Callback's key is of type lynx_value_uint32. If the lynx_value being iterated is a map, the Callback's key is of type lynx_value_string.