Package

org.ekrich.config

parser

Permalink

package parser

Visibility
  1. Public
  2. All

Type Members

  1. trait ConfigDocument extends AnyRef

    Permalink

    Represents an individual HOCON or JSON file, preserving all formatting and syntax details.

    Represents an individual HOCON or JSON file, preserving all formatting and syntax details. This can be used to replace individual values and exactly render the original text of the input.

    Because this object is immutable, it is safe to use from multiple threads and there's no need for "defensive copies."

    Do not implement interface ConfigDocument; it should only be implemented by the config library. Arbitrary implementations will not work because the library internals assume a specific concrete implementation. Also, this interface is likely to grow new methods over time, so third-party implementations will break.

  2. trait ConfigNode extends AnyRef

    Permalink

    A node in the syntax tree for a HOCON or JSON document.

    A node in the syntax tree for a HOCON or JSON document.

    Note: at present there is no way to obtain an instance of this interface, so please ignore it. A future release will make syntax tree nodes available in the public API. If you are interested in working on it, please see: <a href="https://github.com/lightbend/config/issues/300" >https://github.com/lightbend/config/issues/300 Because this object is immutable, it is safe to use from multiple threads and there's no need for "defensive copies." Do not implement interface ConfigNode; it should only be implemented by the config library. Arbitrary implementations will not work because the library internals assume a specific concrete implementation. Also, this interface is likely to grow new methods over time, so third-party implementations will break.

Value Members

  1. object ConfigDocumentFactory

    Permalink

    Factory for creating org.ekrich.config.parser.ConfigDocument instances.

Ungrouped