Skip to content

Commit f885415

Browse files
committed
Merge pull request #12 from wiecklabs/fix/json4s
Updated to use json4s-jackson backend.
2 parents 6968802 + cfcab29 commit f885415

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ lazy val jwt: Project = (project in file("jwt"))
6767
.settings(
6868
name := "jwt",
6969
libraryDependencies ++= Seq(
70-
"org.json4s" %% "json4s-native" % "3.3.0",
70+
"org.json4s" %% "json4s-jackson" % "3.3.0",
7171
scalaTest
7272
)
7373
) dependsOn(core)

jwt/src/main/scala/com/softwaremill/session/JwtSessionEncoder.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ package com.softwaremill.session
33
import javax.xml.bind.DatatypeConverter
44

55
import org.json4s._
6-
import org.json4s.native.JsonMethods._
7-
6+
import org.json4s.jackson.JsonMethods._
87
import scala.util.Try
98

109
class JwtSessionEncoder[T](implicit serializer: SessionSerializer[T, JValue], formats: Formats = DefaultFormats)

0 commit comments

Comments
 (0)