Skip to content

A JValue extractor for lift-json based on Scala reflection

License

Notifications You must be signed in to change notification settings

liftmodules/json-extractor-ng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-extractor-ng

This project is a new extractor for lift-json based on Scala reflection instead of Java reflection. Currently, it requires Scala 2.12 and only works against Lift 3.1.

To use it, add it to your library dependencies like so:

libraryDependencies += "net.liftmodules" %% "json-extractor-ng_3.1" % "0.1.0"

Once it's set up, import the Extraction implicit conversions and use the extractNg method to extract using this extractor instead of the default Lift extraction.

import net.liftmodules.jsonextractorng.Extraction._

myJValue.extractNg[Thing]

About

A JValue extractor for lift-json based on Scala reflection

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages