Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::JsonHandler Class Reference

Static helper for loading JSON files. More...

#include <JsonHandler.h>

Public Member Functions

 JsonHandler ()=delete
 JsonHandler is a static utility and cannot be constructed.

Static Public Member Functions

static nlohmann::json loadJson (std::filesystem::path path)
 Loads and parses a JSON file.

Detailed Description

Static helper for loading JSON files.

Definition at line 10 of file JsonHandler.h.

Constructor & Destructor Documentation

◆ JsonHandler()

EngineCore::JsonHandler::JsonHandler ( )
delete

JsonHandler is a static utility and cannot be constructed.

Member Function Documentation

◆ loadJson()

nlohmann::json EngineCore::JsonHandler::loadJson ( std::filesystem::path path)
static

Loads and parses a JSON file.

Parameters
pathFile path to read.
Returns
Parsed JSON document.

The documentation for this class was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Files/JsonHandler.h