import { Pipe } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * Transforms data into formatted json
 */
export class JsonFormattedSAPipe {
    /**
     * Transforms data into formatted json
     * @param value - Data to be formatted
     */
    transform(value) {
        return JSON.stringify(value, undefined, 2);
    }
}
JsonFormattedSAPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: JsonFormattedSAPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
JsonFormattedSAPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: JsonFormattedSAPipe, isStandalone: true, name: "jsonFormatted" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: JsonFormattedSAPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'jsonFormatted', standalone: true, }]
        }] });
//# sourceMappingURL=jsonFormatted.pipe.js.map