blob: 82d2874268ee0c9b64712887c3d154d4f5c803a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <util/generic/vector.h>
#include <util/generic/strbuf.h>
#include <util/generic/string.h>
namespace NJson {
using TFlexBuffersData = TVector<ui8>;
TString FlexToString(const TFlexBuffersData& v);
void ConvertJsonToFlexBuffers(TStringBuf input, TFlexBuffersData& result);
inline TFlexBuffersData ConvertJsonToFlexBuffers(TStringBuf input) {
TFlexBuffersData result;
ConvertJsonToFlexBuffers(input, result);
return result;
}
}
|