JSON and CBOR codecs for MnaSession — ordered MnaRecording list plus opaque id and forward-compatible extras.
More...

Go to the source code of this file.
JSON and CBOR codecs for MnaSession — ordered MnaRecording list plus opaque id and forward-compatible extras.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
Implementation mirrors the rest of the project tree: each recording is serialised through MnaRecording::toJson / toCbor, ordering is preserved to keep run numbering stable, and any unknown sidecar metadata supplied by newer tooling is captured into extras on read and re-emitted on write so the round-trip stays lossless across MNALIB versions.
Definition in file mna_session.cpp.