Use IMPORTJSON(input) to display the full JSON
Example:
=IMPORTJSON("https://restcountries.eu/rest/v2")
Use IMPORTJSON(input, filter) to display the JSON taking filter as a base node
Example:
=IMPORTJSON("https://restcountries.eu/rest/v2", "/name")
Will only return the elements under the name node