@veecode-platform/safira-cli
Version:
Generate a microservice project from your spec.
10 lines (9 loc) • 450 B
TypeScript
export declare class JsonUtils {
static loadJsonFile(filePath: string): any;
static parse(jsonData: string): any;
static stringify(jsonObject: any, pretty?: boolean): string;
static writeFile(filePath: string, jsonObject: any, pretty?: boolean): void;
static parseToYaml(jsonFilePath: string, yamlFileToSave: string): void;
static isJsonFile(filePath: string): boolean;
static isJsonString(stringJson: string): boolean;
}