MCPcopy Create free account
hub / github.com/Snapchat/Valdi / putMapProperty

Method putMapProperty

valdi_core/src/valdi_core/cpp/Utils/Marshaller.cpp:408–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408void Marshaller::putMapProperty(int index) {
409 // Only string keys are supported in ValueMap at the moment
410 auto key = getString(-2);
411 if (!_exceptionTracker) {
412 return;
413 }
414
415 putMapProperty(key, index);
416 pop();
417}
418
419void Marshaller::putMapProperty(const StringBox& key, int index) {
420 auto map = getMap(index);

Callers 1

Calls 2

getStringFunction · 0.85
getFunction · 0.50

Tested by

no test coverage detected