Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.352 kb
package net.liftweb.json.scalaz
import scalaz._
import Scalaz._
import JsonScalaz._
import net.liftweb.json._
import org.specs2.mutable.Specification
object TupleExample extends Specification {
"Parse tuple from List" in {
val json = JsonParser.parse(""" [1,2,3] """)
fromJSON[Tuple3[Int, Int, Int]](json) mustEqual Success(1, 2, 3)
}
}
Jump to Line
Something went wrong with that request. Please try again.