Skip to content

Commit

Permalink
1.7: update to jackson 2.15 (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
brharrington authored May 9, 2023
1 parent c366321 commit 39561db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package com.netflix.atlas.json

import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.core.JsonToken
import com.fasterxml.jackson.core.io.doubleparser.FastDoubleParser
import com.fasterxml.jackson.core.io.doubleparser.JavaDoubleParser

object JsonParserHelper {

Expand Down Expand Up @@ -94,7 +94,7 @@ object JsonParserHelper {
parser.nextToken() match {
case VALUE_NUMBER_INT => parser.getValueAsDouble
case VALUE_NUMBER_FLOAT => parser.getValueAsDouble
case VALUE_STRING => FastDoubleParser.parseDouble(parser.getText)
case VALUE_STRING => JavaDoubleParser.parseDouble(parser.getText)
case t => fail(parser, s"expected VALUE_NUMBER_FLOAT but received $t")
}
}
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ object Dependencies {
val akkaHttpV = "10.2.10"

val iep = "4.2.0"
val jackson = "2.14.2"
val jackson = "2.15.0"
val log4j = "2.20.0"
val scala = "2.13.10"
val slf4j = "1.7.36"
Expand Down

0 comments on commit 39561db

Please sign in to comment.