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)
   
   ```
   从上面这个状态机图,大致明白,能解析:{},{key:value}  但是这个key看到图上标明就是string类型了
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to