File indexing completed on 2025-06-29 04:46:12
0001 /* 0002 SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 class QJsonArray; 0010 class QJsonObject; 0011 0012 namespace KItinerary { 0013 0014 /** Filter input JSON for loading with JsonLdDocument, to deal with obsolete 0015 * or renamed elements. 0016 */ 0017 namespace JsonLdImportFilter 0018 { 0019 /** Filter the top-level object @p obj for loading with JsonLdDocument. 0020 * Due to type and graph expansion, the result can actually contain multiple object. 0021 */ 0022 QJsonArray filterObject(const QJsonObject &obj); 0023 } 0024 0025 } 0026