The LedgerData class provides a subset of methods of the Variant class that are relevant to map operations. The Ledger class set() and get() take a LedgerData object.

Because a Variant is transparently converted into LedgerData you may never need to create a LedgerData object. See Ledger sensor for an example of this technique.