Search for usage in LXR

KItinerary::JsonLdFilterEngine Class Reference

#include <jsonldfilterengine.h>


struct  PropertyMapping
struct  TypeFilter
struct  TypeMapping

Public Member Functions

void filterRecursive (QJsonArray &array)
void filterRecursive (QJsonObject &obj)
void setPropertyMappings (const PropertyMapping *propertyMappings, std::size_t count)
template<std::size_t N>
void setPropertyMappings (const PropertyMapping(&propertyMappings)[N])
void setTypeFilters (const TypeFilter *typeFilters, std::size_t count)
template<std::size_t N>
void setTypeFilters (const TypeFilter(&typeFilters)[N])
void setTypeMappings (const TypeMapping *typeMappings, std::size_t count)
template<std::size_t N>
void setTypeMappings (const TypeMapping(&typeMappings)[N])

Detailed Description

JSON-LD filtering for input normalization or type transforms.

only exported for unit tests

Definition at line 27 of file jsonldfilterengine.h.

Member Function Documentation

◆ filterRecursive()

void JsonLdFilterEngine::filterRecursive ( QJsonObject obj)

Recursively apply filtering rules to obj.

Definition at line 29 of file jsonldfilterengine.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 28 2023 04:00:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.