Skip to content

Commit

Permalink
Remove JsValueVisitor
Browse files Browse the repository at this point in the history
Latest upickle fixed the issue with long number literals so the custom JsValueVisitor is no longer requried.
  • Loading branch information
max-leuthaeuser committed Oct 17, 2023
1 parent 5dc3ac4 commit 9547f74
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ object BabelJsonParser {
}

val jsonContent = IOUtils.readEntireFile(file)
val json = ujson.transform(jsonContent, JsValueVisitor)
val json = ujson.read(jsonContent)
val filename = json("relativeName").str
val fullPath = Paths.get(rootPath.toString, filename)
val sourceFileContent = IOUtils.readEntireFile(fullPath)
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion project/Versions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object Versions {
val gradleTooling = "8.3"
val circe = "0.14.5"
val requests = "0.8.0"
val upickle = "3.1.2"
val upickle = "3.1.3"
val scalaReplPP = "0.1.72"

private def parseVersion(key: String): String = {
Expand Down

0 comments on commit 9547f74

Please sign in to comment.