• JsonValidator
  • JsonValidator Class

    (nymeaserver::JsonValidator)

    Public Types

    class Result

    Public Functions

    JsonValidator()
    Result result() const
    Result validateNotificationParams(const QVariantMap & params, const QString & notification, const QVariantMap & api)
    Result validateParams(const QVariantMap & params, const QString & method, const QVariantMap & api)
    Result validateReturns(const QVariantMap & returns, const QString & method, const QVariantMap & api)

    Static Public Members

    bool checkRefs(const QVariantMap & map, const QVariantMap & api)

    Member Function Documentation

    JsonValidator::JsonValidator()

    [static] bool JsonValidator::checkRefs(const QVariantMap & map, const QVariantMap & api)

    Result JsonValidator::result() const

    Result JsonValidator::validateNotificationParams(const QVariantMap & params, const QString & notification, const QVariantMap & api)

    Result JsonValidator::validateParams(const QVariantMap & params, const QString & method, const QVariantMap & api)

    Result JsonValidator::validateReturns(const QVariantMap & returns, const QString & method, const QVariantMap & api)