KItinerary::JsonLdFilterEngine

Search for usage in LXR

KItinerary::JsonLdFilterEngine Class Reference

#include <jsonldfilterengine.h>

Classes

struct  PropertyMapping
 
struct  TypeFilter
 
struct  TypeMapping
 

Public Member Functions

void filterRecursive (QJsonObject &obj)
 
void filterRecursive (QJsonArray &array)
 
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

void JsonLdFilterEngine::filterRecursive ( QJsonObject obj)

Recursively apply filtering rules to obj.

Definition at line 28 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-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:06:14 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.