All Downloads are FREE. Search and download functionalities are using the official Maven repository.

as.stream.json.scala Maven / Gradle / Ivy

The newest version!
package dispatch.as.lift.stream

import dispatch.stream.StringsByLine
import net.liftweb.json.{ JsonParser, JValue }

object Json {
  def apply[T](f: JValue => T) =
    new StringsByLine[Unit] {
      def onStringBy(string: String) {
        f(JsonParser.parse(string))
      }
      def onCompleted = ()
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy