On Wed, Jan 9, 2013 at 10:04 PM, Julien Richard-Foy <
notifications@github.com> wrote:

> In documentation/manual/scalaGuide/main/json/ScalaJson.md:
>
> > @@ -326,6 +326,7 @@ jsres.fold(
> >
> >  jsres.map( s: String => // manage value )
> >       .recover( jserror: JsError => // manage errors)
> > +     .get
>
> Or recoverTotal because you supply a total function as opposed to a
> partial function.
> But still, I prefer using fold.
>

fold is purer but it's not so good looking in code ;)

>  —
> Reply to this email directly or view it on GitHub<https://github.com/playframework/Play20/pull/662/files#r2596561>.
>
>