hocon Questions
6
Solved
Suppose I have a scala case class with the ability to serialize into json (using json4s or some other library):
case class Weather(zip : String, temp : Double, isRaining : Boolean)
If I'm using ...
Monophyletic asked 27/7, 2016 at 13:58
2
Haven't found a way to indent/autoformat HOCON config files. What is you way here?
Transcendent asked 25/7, 2016 at 8:13
2
Solved
I am using the HOCON config format and parsing lib is from typesafe.Config. HOCON supports env vars injections and overrides. like:
my.config = "asd"
my.config = ${?MY_ENV_VAR}
this will substi...
Palmate asked 7/3, 2019 at 19:50
4
Solved
I want to use typesafe config (HOCON config files) in my project, which facilitate easy and organized application configuration. Currently I am using normal Java properties file(application.propert...
Thriftless asked 6/8, 2016 at 10:43
1
Solved
In HOCON and Typesafe Config, How do I set the default value in case of substitution.
Does it supports something like this ??
${server.host: 'localhost'} -> If server.host set(Either in the same ...
Cyd asked 8/8, 2016 at 6:59
2
Solved
I want to convert a .conf-file directly to json so I can pass it to frontend. Is there a way to do that in scala/play? It seems to be incredibly cumbersome with the path I'm taking now:
val conf: ...
Badger asked 30/11, 2014 at 11:0
2
Solved
I would like to read the following configuration from a HOCON (Typesafe Config) file into Kotlin.
tablename: {
columns: [
{ item: { type: integer, key: true, null: false } }
{ desc: { type: va...
Louvain asked 7/5, 2016 at 19:28
1
Solved
I have a nodejs application that will take a JSON configuration file.
The JSON file will have some ${} and #{} tags that will be used to build up a dynamic context by loading a template configurat...
Bristle asked 26/1, 2015 at 9:52
1
Solved
I have multi-module project under SBT.
Project A (library) has reference.conf file with A's configuration parameters. Project A depends on akka-actor library, which ships with its own reference.co...
Lareelareena asked 29/7, 2015 at 11:2
2
Solved
I'm using Typesafe config & have a config file in my resources directory which looks like this:
something {
another {
someconfig=abc
anotherconfig=123
}
}
How would I change the value of...
Swanner asked 11/6, 2014 at 2:10
4
Solved
Is there a Java library similar to libconfig for C++, where the config file is stored in a JSON-like format that can be edited by humans, and later read from the program?
I don't want to use Spri...
Heraldry asked 24/1, 2012 at 18:44
1
© 2022 - 2024 — McMap. All rights reserved.