def loadJson()

in benchmarks/src/main/scala/benchmark/JsonDecodeBenchmark.scala [33:40]


  def loadJson(filename: String): Json = {
    val rawJson = Resources.toString(Resources.getResource(filename), StandardCharsets.UTF_8)
    val circeJson = {
      import io.circe.jawn._
      parse(rawJson).fold(_ => Json.Null, identity)
    }
    circeJson
  }