import { HttpClient } from "@angular/common/http";
import { Injectable } from "@angular/core";
import { Observable } from "rxjs";

@Injectable({
  providedIn: "root",
})
export class JsonDataService {
  constructor(private http: HttpClient) {}

  getJsonData(): Observable<any> {
    return this.http.get<any>("assets/graf-tes.json");
  }
}
