Converts a list of strings to a path expression, by quoting the path elements as needed and then joining them separated by a period.
Converts a list of strings to a path expression, by quoting the path
elements as needed and then joining them separated by a period. A path
expression is usable with a Config
, while individual path
elements are usable with a ConfigObject
.
See the overview documentation for Config
for more detail on path
expressions vs. keys.
the keys in the path
a path expression
ConfigException
if the list is empty
Converts a list of keys to a path expression, by quoting the path elements as needed and then joining them separated by a period.
Converts a list of keys to a path expression, by quoting the path
elements as needed and then joining them separated by a period. A path
expression is usable with a Config
, while individual path
elements are usable with a ConfigObject
.
See the overview documentation for Config
for more detail on path
expressions vs. keys.
the keys in the path
a path expression
ConfigException
if there are no elements
Quotes and escapes a string, as in the JSON specification.
Quotes and escapes a string, as in the JSON specification.
a string
the string quoted and escaped
Converts a path expression into a list of keys, by splitting on period and unquoting the individual path elements.
Converts a path expression into a list of keys, by splitting on period
and unquoting the individual path elements. A path expression is usable
with a Config
, while individual path elements are usable with a
ConfigObject
.
See the overview documentation for Config
for more detail on path
expressions vs. keys.
a path expression
the individual keys in the path
ConfigException
if the path expression is invalid
Contains static utility methods.