mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
13 lines
350 B
C++
13 lines
350 B
C++
|
#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);
|