Skip to main content
Version: Next

Parser

Home > @backstage/config-loader > Parser

A custom function to be used for parsing configuration content.

Signature:

export type Parser = ({ contents, }: {
contents: string;
}) => Promise<{
result?: JsonObject;
}>;

References: JsonObject

Remarks

The default parsing function will parse configuration content as yaml.