|
QGroundControl
Ground Control Station for MAVLink Drones
|
Include dependency graph for JsonValidation.cc:Go to the source code of this file.
Namespaces | |
| namespace | JsonParsing |
Functions | |
| bool | JsonParsing::validateRequiredKeys (const QJsonObject &jsonObject, const QStringList &keys, QString &errorString) |
| Validates that all listed keys are present in the object. | |
| bool | JsonParsing::validateKeyTypes (const QJsonObject &jsonObject, const QStringList &keys, const QList< QJsonValue::Type > &types, QString &errorString) |
| bool | JsonParsing::validateKeys (const QJsonObject &jsonObject, const QList< KeyValidateInfo > &keyInfo, QString &errorString) |
| Validates that all required keys are present and that listed keys have the expected type. | |
| bool | JsonParsing::validateKeysStrict (const QJsonObject &jsonObject, const QList< KeyValidateInfo > &keyInfo, QString &errorString) |
Validates keys like validateKeys but also rejects any keys not listed in keyInfo. | |