public final class JSONConfiguration implements ProviderConfiguration:
Immutable configuration for one atomic JSON document source.
The concrete repository supplies its statically known entity and identity types. This configuration opens no file and is safe to reuse.
configuration = JSONConfiguration("catalog.json")| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | indexesindexes as IList<IndexRegistration> |
Typed persistent indexes rebuilt for each atomic source generation. |
| public readonly property | pathpath as FilePath |
JSON document path. |
| public readonly property | providerNameproviderName as String: |
Stable provider family name. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | JSONConfigurationJSONConfiguration(
path as Path,
indexes as IList<IndexRegistration> = []
): |
Creates a configuration from a filesystem path. |
| public | JSONConfigurationJSONConfiguration(
path as String,
indexes as IList<IndexRegistration> = []
): |
Creates a configuration from a string path. |