You can use JSON Serde. You have to create a table with a structure that maps the structure of JSON.
Then you should upload your JSON file in the location path of the table, giving the right permissions and you are good to go.
For example:
Let data.json be:
{"X": 134, "Y": 55, "labels": ["L1", "L2"]}
{"X": 11, "Y": 166, "labels": ["L1", "L3", "L4"]}
Now, create a table:
CREATE TABLE Point
(
X INT,
Y INT,
labels ARRAY<STRING>
)
ROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe'
STORED AS TEXTFILE
LOCATION 'path/to/table';
If you want to know more about Hive, then do check out this awesome video tutorial: