You can use the javascript native setInterval function to run something indefinitely for a period of time.
But every time a JSON changes I suggest access to the file system, which you do not have browser access to. Maybe the service you use should send a notification to indicate that there was a change. I believe that any solution that does this type of monitoring or uses the time for verification or receives a notification. I have taken a look at the $ watch specification and it does something like this (time x notification).
See example of using setInterval:
@Component()
export class MeuComponent implements OnDestroy, AfterViewInit
{
private tokenInterval: any;
ngAfterViewInit()
{
let tempoSeg = 1;
this.tokenInterval = setInterval(()=> this.minhaF(), tempoSeg * 1000);
}
ngOnDestroy()
{
if (!!this.tokenInterval) clearInterval(this.tokenInterval);
}
private minhaF()
{
console.log('minhaF executada');
}
}