mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02: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);
|