typesafehub/config — Issue #1: Sending Config Object Over the Wire
Author: ayush
Created: 2012-01-09 08:06:13+00:00
State: open

Thanks for writing this library and for documenting it so well. It is great and is helping us manage our config files better.

I'm using it in a system which centralizes the configuration of various other services. We need to send com.typesafe.config,Config objects over the wire to other services. What I'd like to do is the following:

1. Get string representation of a config object. Something like:
val conf = configObject.getConfString;

2. And on the client side, simply do:
ConfigFactory.parseString(conf)

So, my question is, given a config object, is there a simple way to get to its string representation?