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

Method TJsonWriter

library/cpp/yson/json/json_writer.cpp:14–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 ////////////////////////////////////////////////////////////////////////////////
13
14 TJsonWriter::TJsonWriter(
15 IOutputStream* output,
16 ::NYson::EYsonType type,
17 EJsonFormat format,
18 EJsonAttributesMode attributesMode,
19 ESerializedBoolFormat booleanFormat)
20 : TJsonWriter(
21 output,
22 NJson::TJsonWriterConfig{}.SetFormatOutput(format == JF_PRETTY),
23 type,
24 attributesMode,
25 booleanFormat
26 )
27 {}
28
29 TJsonWriter::TJsonWriter(
30 IOutputStream* output,

Callers

nothing calls this directly

Calls 3

TYsonExceptionClass · 0.85
ResetMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected