mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
22 lines
678 B
C++
22 lines
678 B
C++
#pragma once
|
|
#include "export-symbol-helper.hpp"
|
|
#include "regex-config.hpp"
|
|
|
|
#include <QString>
|
|
#include <string>
|
|
|
|
namespace advss {
|
|
|
|
EXPORT QString FormatJsonString(std::string);
|
|
EXPORT QString FormatJsonString(QString);
|
|
EXPORT bool MatchJson(const std::string &json1, const std::string &json2,
|
|
const RegexConfig ®ex);
|
|
EXPORT std::optional<std::string> GetJsonField(const std::string &json,
|
|
const std::string &id);
|
|
EXPORT std::optional<std::string> QueryJson(const std::string &json,
|
|
const std::string &query);
|
|
EXPORT std::optional<std::string> AccessJsonArrayIndex(const std::string &json,
|
|
const int index);
|
|
|
|
} // namespace advss
|