You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/09/23 13:51:52 UTC

[GitHub] [rocketmq] liuxuzxx edited a comment on issue #3369: Fetch Cluster information json data when parse in golang occure:invalid character '0' looking for beginning of object key string

liuxuzxx edited a comment on issue #3369:
URL: https://github.com/apache/rocketmq/issues/3369#issuecomment-925830058


   > brokerAddrs":{0:"172.16.16.37:10911"} 地址这里也有冒号,导致解析失败的,将这里的key设置为string,就可以避免这个问题
   
   看了下:https://www.json.org/json-en.html (不知道是不是JSON最权威的定义),从一个状态图说明了key必须是string:如图
   ![image](https://user-images.githubusercontent.com/31197548/134519372-2c7bfc29-35d3-4aed-a80e-b153893cb2f5.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org