json-restyle
Version:
Rename keys of JSON data
12 lines (11 loc) • 413 B
TypeScript
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
import { JsonRestyleService } from './json-restyle.service';
export declare class JsonRestyleComponent implements OnInit, OnChanges {
private jsonService;
data: any;
mapping: any;
modifiedData: any;
constructor(jsonService: JsonRestyleService);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
}