This commit is contained in:
parent
197035d324
commit
26978130ac
|
@ -220,12 +220,12 @@ class TestPreprocess extends java.io.Serializable {
|
|||
|
||||
val a = json.extract[JArray]
|
||||
|
||||
a.arr.map(s=> print((s \ "bibjson" \ "editorial" \ "review_process")))
|
||||
//a.arr.map(s=> print(s \ "bibjson" \ "editorial" \ "review_process"))
|
||||
|
||||
|
||||
for {
|
||||
JObject(prova) <- json
|
||||
JField("editorial", JObject(editorial)) <- (prova \\ "editorial")
|
||||
JObject(prova) <- json.extract[JArray]
|
||||
JField("editorial", JObject(editorial)) <- (prova \ "bibjson" \ "editorial")
|
||||
} yield editorial
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue