1
0

GoLiveAPI_CensoredJson.hpp 351 B

12345678910111213
  1. #pragma once
  2. #include <obs.hpp>
  3. #include <QString>
  4. #include <nlohmann/json_fwd.hpp>
  5. /**
  6. * Returns the input serialized to JSON, but any non-empty "authorization"
  7. * properties have their values replaced by "CENSORED".
  8. */
  9. QString censoredJson(obs_data_t *data, bool pretty = false);
  10. QString censoredJson(nlohmann::json data, bool pretty = false);