对于特定的字符串,比如json格式的字符串,虽然是map格式的,但是scala中没有专门的方法直接转为Map格式,需要我们写代码来处理下:
def concatParamsArrayToArray(HiveRes: String, json: JsonHelper): Array[Map[String,String]] = {
val node = json
对于特定的字符串,比如json格式的字符串,虽然是map格式的,但是scala中没有专门的方法直接转为Map格式,需要我们写代码来处理下:
def concatParamsArrayToArray(HiveRes: String, json: JsonHelper): Array[Map[String,String]] = {
val node = json