0
我想解析SCALA中的JSON数组(对象)[使用JSON LIFT],我需要解析它以提取某些值。
在使用解析()的JSON阵列,然后解析使用对象“\”我结束了这一点:使用LIFT库进行JSON解析时遇到的问题
val queueNames = (resultObj \\ "name").children
println(queueNameList)
List(JString(em-campaignexecution))
List(JString(em-campaignexecution_HIGH))
。 。
等
我怎么用一个简单的方法调用,最有效地直接提取JString中的值。示例 - "em-campaignexecution" , "em-campaignexecution_HIGH"
在此先感谢!