qgserde - v0.3.1
    Preparing search index...

    Function parseJson

    • Read JSON written by serializeJson.

      Only the envelope and version are checked here; the model itself is validated by serializeQgs, as for any other model.

      Parameters

      Returns QgsProject

      The stored model.

      QgsError INVALID_JSON for malformed JSON or a missing envelope, or INVALID_VERSION when written by an incompatible qgserde version (a different major version, or a different minor version before 1.0).