trivago interview question

Pull data from file system and return a json using spring boot