Review Board 1.5.4

Adds path-based field value replacement to JValue

Updated 1 year, 8 months ago

Kris Nuttycombe Reviewers
master
#510 dpp, marius, charles, joni, atsuhiko, jorge, naftoli, kris, indrajit, alexb, dlouwers, mstarzyk, rmellgren, jhoffman, probinett, jmadsen, mhartmann, jstrachan, jgoday
None LiftWeb-archive
Adds the ability to make the following sort of call:

 JObject(List(JField("foo", JObject(List(JField("bar", JInt(1))))))).replace("foo" :: "bar" :: Nil, JString("baz"))
 // returns JObject(List(JField("foo", JObject(List(JField("bar", JString("baz")))))))
Scalacheck tests included
Posted 1 year, 9 months ago (May 3rd, 2010, 10:05 a.m.)
Seems like a feature/enhancement and we're in code slush?
  1. Oops... I can add it to M6.
Ship it!
Posted 1 year, 9 months ago (May 3rd, 2010, 10:23 a.m.)
Looks good and useful, ship it! (after M5 release)