# Package com.typesafe.config.parser

This package supplies a raw parser and syntax tree for individual HOCON and JSON files.

See: Description

Interface Summary
ConfigDocument: Represents an individual HOCON or JSON file, preserving all formatting and syntax details.
ConfigNode: A node in the syntax tree for a HOCON or JSON document.

Class Summary
ConfigDocumentFactory: Factory for creating `ConfigDocument` instances.

## Package com.typesafe.config.parser Description

This package supplies a raw parser and syntax tree for individual HOCON and JSON files. You do not want this package for everyday config in your app: see the `com.typesafe.config` package instead. You would use the raw parser if you're doing something like reading, modifying, and re-saving a config file. For info on the main config API this parser is a part of, see the project site.

For working with the raw syntax tree, some important classes are:

- `ConfigDocument` - a loaded HOCON or JSON document
- `ConfigDocumentFactory` - static methods to instantiate a document
- `ConfigNode` - syntax node in a document