Skip to content

scalax/play-json-ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play json extensions

Codacy Badge Build Status

Utility extendsion library for play-json

Features

Transform keys painlessly

import play.api.libs.json.ext._
...

val madoka = JsObject(
  Seq(
    "firstName" -> JsString("Madoka"),
    "lastName" -> JsString("Kaname")
  )
)

val snakified = madoka.snakifyKeys()
snakified.camelizeKeys()

Just transform keys as you like and you won't got any StackOverFlow

Serialize json painlessly

    val complex = largeJson(20000)
    complex.safeToString() // no stackoverflow!
    Json.stringify(complex) // stackoverflow!

More features woking in progress

About

Simple json transform functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages