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

yamlesque.upickle.package.scala Maven / Gradle / Ivy

The newest version!
package yamlesque.upickle

object default {

  def read[A](readable: geny.Readable, filename: String = "virtual")(implicit reader: _root_.upickle.default.Reader[A]) = {
    val delegate = new UjsonDelegate[A](reader)
    readable.readBytesThrough{ s =>
      new yamlesque.Parser(s, filename).parseValue(0, delegate)
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy