XmlArchive.unarchiveAssociativeArray

Unarchives the value associated with the given id as an associative array.

class XmlArchive(U = char)
Id
unarchiveAssociativeArray
(
string key
,
void delegate
(
size_t length
)
dg
)

Parameters

key string

the key associated with the associative array

dg void delegate
(
size_t length
)

a callback that performs the unarchiving of the individual keys and values. length is the length of the archived associative array

Return Value

Type: Id

the id associated with the associative array

Examples

auto archive = new XmlArchive!();
archive.beginUnarchiving(data);

auto id = archive.unarchiveAssociativeArray("aa", (size_t length) {
    // unarchive the individual keys and values
});

See Also

unarchiveAssociativeArrayKey unarchiveAssociativeArrayValue

Meta