MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / objectKey

Method objectKey

source/core/StarFormattedJson.cpp:515–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513}
514
515void FormattedJsonBuilderStream::objectKey(String::Char const* s, size_t len) {
516 current().appendElement(ObjectKeyElement{String(s, len)});
517}
518
519void FormattedJsonBuilderStream::endObject() {
520 FormattedJson value = pop();

Callers 1

toJsonStreamMethod · 0.45

Calls 2

StringClass · 0.85
appendElementMethod · 0.80

Tested by

no test coverage detected