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

Function SerializeJsonValueAsYson

library/cpp/json/yson/json2yson.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void SerializeJsonValueAsYson(const NJson::TJsonValue& inputValue, NYson::TYsonWriter* ysonWriter) {
52 NYT::TYson2JsonCallbacksAdapter adapter(ysonWriter);
53 WriteJsonValue(inputValue, &adapter);
54 }
55
56 void SerializeJsonValueAsYson(const NJson::TJsonValue& inputValue, IOutputStream* outputStream) {
57 NYson::TYsonWriter ysonWriter(outputStream, NYson::EYsonFormat::Binary, ::NYson::EYsonType::Node, false);

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls 1

WriteJsonValueFunction · 0.85

Tested by

no test coverage detected