You are viewing documentation about an older version (1.12.1). View latest version

snowflake.snowpark.DataFrameReader.json

DataFrameReader.json(path: str) DataFrame[source]

Specify the path of the JSON file(s) to load.

Parameters:

path – The stage location of a JSON file, or a stage location that has JSON files.

Returns:

a DataFrame that is set up to load data from the specified JSON file(s) in a Snowflake stage.