Skip to content

blanchet4forte/jackson-module-enumeratum

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jackson-module-enumeratum

Build Status Maven Central

Enumeratum support for Jackson

  val mapper = JsonMapper.builder().addModule(DefaultScalaModule).addModule(EnumeratumModule).build()
  val car = Car("Volga", Color.Blue)
  val json = mapper.writeValueAsString(car)
  mapper.readValue(json, classOf[Car]) shouldEqual(car)

About

Enumeratum support for Jackson

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%