playframework - Typesafe ConfigFactory Load -


i have json in conf directory of play application , want load using configfactory:

 val cfg = configfactory.load("myjson.json")  val jsvalue = json.parse(cfg.root().render(configrenderoptions.concise())) 

what notice there tons of other stuff akka... , loads more. how should rid of it?

i'm using play's json api!

the standard behaviour described here:

https://github.com/typesafehub/config#standard-behavior

since there more configuration values think, can selective in picking required configuration values.

or maybe, check against reference.conf , discard values in output.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -