Simplify importing when using lift-json
Often following imports are needed when working with lift-json:
With Scala 2.8 package objects it is possible to put most used types and functions into a package object, letting the user to import those into scope simply by
import net.liftweb.json._
import net.liftweb.json.JsonAST._
import net.liftweb.json.JsonParser._
import net.liftweb.json.Printer._
With Scala 2.8 package objects it is possible to put most used types and functions into a package object, letting the user to import those into scope simply by
import net.liftweb.json._
Leave a comment