Function lcxx::from_json(nlohmann::json const&)

Function Documentation

auto lcxx::from_json(nlohmann::json const &license_json) -> std::pair<license, signature>

parse license and license signature from a json object

Parameters:

license_json – the json object containing license and signature

Returns:

std::pair< license, signature > license content and signature