com.github.kondaurovdev.json.j4s.Main.scala Maven / Gradle / Ivy
package com.github.kondaurovdev.json.j4s
import org.json4s.DefaultFormats
import org.json4s.jackson.JsonMethods._
object Main extends App {
object JValueHelper extends JValueHelperJson4s(new TryHelperJson4s(), DefaultFormats)
val json = parse("123")
println(JValueHelper.castTo[Int](json))
}