read

JSON::read

Reads a JSON and returns the root JSON::Node.

Declaration

static Node read(const std::string& filePath);

Parameters

Name

Type

Description

filePath

const std::string&

The path to the file to read.

Returns

The JSON’s root JSON::Node.