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 | mappedTypes | Entity types contributed directly by this configuration. |
| 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): |
Creates a configuration from a filesystem path. |
| public | JSONConfigurationJSONConfiguration(path as String): |
Creates a configuration from a string path. |