Skip to main content

Home > @rushstack/heft-config-file > IJsonPathMetadata

IJsonPathMetadata interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Used to specify how node(s) in a JSON object should be processed after being loaded.

export interface IJsonPathMetadata


customResolver?(configurationFilePath: string, propertyName: string, propertyValue: string) => string(BETA) (Optional) If IJsonPathMetadata.pathResolutionMethod is set to PathResolutionMethod.custom, this property be used to resolve the path.
pathResolutionMethod?PathResolutionMethod(BETA) (Optional) If this property describes a filesystem path, use this property to describe how the path should be resolved.