summaryrefslogtreecommitdiffstats
path: root/src/JsonUtils.h
blob: d315dbed8b50e876c40713b5cf371ae35108c0ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

// fwd:
namespace Json
{
class Value;
}

namespace JsonUtils
{

AString WriteFastString(const Json::Value & a_Root);
AString WriteStyledString(const Json::Value & a_Root);

bool ParseString(const AString & a_JsonStr, Json::Value & a_Root, AString * a_ErrorMsg = nullptr);

}