obs-studio/UI/goliveapi-censoredjson.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
350 B
C++
Raw Normal View History

2024-04-18 13:41:36 +00:00
#pragma once
#include <obs.hpp>
#include <QString>
#include <nlohmann/json_fwd.hpp>
/**
* Returns the input serialized to JSON, but any non-empty "authorization"
* properties have their values replaced by "CENSORED".
*/
QString censoredJson(obs_data_t *data, bool pretty = false);
QString censoredJson(nlohmann::json data, bool pretty = false);