Commit 5541fbc8 authored by RingEric's avatar RingEric

用jackson处理json

parent 39076c6e
......@@ -69,7 +69,6 @@ object Jackson {
//发生异常的地方在readTree函数,如果发生异常,resultsMap
case Success(value) => resultsMap //返回结果
// case Failure(exception) => new util.HashMap[String, Any] //返回空map
case Failure(exception) => resultsMap
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment