summaryrefslogtreecommitdiffstats
path: root/yql/essentials/udfs/common/json2/resource.h
blob: 5d2cc6e7b0ba920ba7cbb574eb434b96967075b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <yql/essentials/public/udf/udf_value.h>
#include <yql/essentials/minikql/jsonpath/jsonpath.h>

namespace NJson2Udf {
using namespace NKikimr;
using namespace NUdf;
using namespace NYql;

extern const char JSONPATH_RESOURCE_NAME[] = "JsonPath";
using TJsonPathResource = TBoxedResource<NJsonPath::TJsonPathPtr, JSONPATH_RESOURCE_NAME>;

extern const char JSON_NODE_RESOURCE_NAME[] = "JsonNode";
using TJsonNodeResource = TResource<JSON_NODE_RESOURCE_NAME>;
} // namespace NJson2Udf