```go
map[
hits:[
map[
_id:OQpf7HYBhW0_ej1URQbB
_index:student
_score:0.5753642
_source:map[name:New York]
_type:_doc
highlight:map[name:[<font color ='red'>New</font> <font color ='red'>York</font>]]
]
]
max_score:0.5753642
total:map[relation:eq value:1]
]
```
新人请教问题:
**1、怎么遍历取出highlight中的值?**
**2、数据怎么转成json格式?**
有疑问加站长微信联系(非本文作者)