aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/udfs/common/json2/resource.h
blob: aa65b14818ddff6090d11548f5b7014f8b7e757d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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>;
}