klyn.data.json.JSONConfiguration.JSONConfiguration
constructor
public JSONConfiguration(
path as Path,
indexes as IList<IndexRegistration> = []
):
Description

Creates a configuration from a filesystem path.

Parameters
ParameterDescription
pathJSON document path.
Throws
  • ValueException if path is null.
Example
configuration = JSONConfiguration(FilePath("catalog.json"))