public static Config parseProperties(Properties properties,
            ConfigParseOptions options) {
        return Parseable.newProperties(properties, options).parse().toConfig();
    }
public static Config parseProperties ( Properties properties , ConfigParseOptions options ) { return Parseable . newProperties ( properties , options ) . parse ( ) . toConfig ( ) ; }
Converts a Java {@link java.util.Properties} object to a
{@link ConfigObject} using the rules documented in the <a
href="https://github.com/lightbend/config/blob/master/HOCON.md">HOCON
spec</a>. The keys in the <code>Properties</code> object are split on the
period character '.' and treated as paths. The values will all end up as
string values. If you have both "a=foo" and "a.b=bar" in your properties
file, so "a" is both the object containing "b" and the string "foo", then
the string value is dropped.

<p>
If you want to have <code>System.getProperties()</code> as a
ConfigObject, it's better to use the {@link #systemProperties()} method
which returns a cached global singleton.

@param properties
a Java Properties object
@param options
the parse options
@return the parsed configuration