MCPcopy Create free account
hub / github.com/catboost/catboost / OnBeginAttributes

Method OnBeginAttributes

library/cpp/yson/json/json_writer.cpp:193–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191 }
192
193 void TJsonWriter::OnBeginAttributes() {
194 InAttributesBalance += 1;
195 if (AttributesMode != JAM_NEVER) {
196 JsonWriter->OpenMap();
197 JsonWriter->Write("$attributes");
198 JsonWriter->OpenMap();
199 }
200 }
201
202 void TJsonWriter::OnEndAttributes() {
203 InAttributesBalance -= 1;

Callers

nothing calls this directly

Calls 2

OpenMapMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected