@viewdo/dxp-story-cli
Version:
DXP Story Management CLI
11 lines (10 loc) • 404 B
TypeScript
import { ConsoleService } from './ConsoleService';
import { FileService } from './FileService';
export declare class JSONFormatService {
private console;
private file_service;
constructor(console: ConsoleService, file_service: FileService);
fromContent(content: string): any;
toContent(data: any): string;
load(directory: string, basename: string, ext?: ".yml" | ".json"): any;
}