aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/jsonpath/jsonpath.h
blob: ebe6b1a0e54ed07663216c39d6219444ebb32655 (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 "executor.h"

#include <yql/essentials/minikql/jsonpath/parser/parser.h>

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

namespace NYql::NJsonPath {

TVariablesMap DictToVariables(const NUdf::TUnboxedValue& dict);

TResult ExecuteJsonPath(
    const TJsonPathPtr jsonPath,
    const TValue& json,
    const TVariablesMap& variables,
    const NUdf::IValueBuilder* valueBuilder);

}