JSON and CBOR codecs for MnaVerificationCheck, MnaVerificationResult, MnaProvenance and the top-level MnaVerification aggregator. More...

Go to the source code of this file.
JSON and CBOR codecs for MnaVerificationCheck, MnaVerificationResult, MnaProvenance and the top-level MnaVerification aggregator.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
The implementation serialises each struct field-for-field and delegates nested MnaScript bodies and check / result lists to their own codecs so a verification block round-trips losslessly between JSON and CBOR. MnaProvenance records its software-environment strings, timing fields and input-hash map verbatim so a later re-run can be compared against the original execution; this is what gives MNA projects their audit-trail value for clinical and publication-grade pipelines.
Definition in file mna_verification.cpp.