我具有如下属性:
message:
queue:
type1:
source: name1
target: name2
queue:
type2:
source: name3
target: name4
queue:
type3:
source: name5
target: name6
我想将这些属性作为这样的列表获取:
{"name1","name2","name3","name4","name5","name6"}
我怎么得到它?