/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
library/cpp/yt/yson_string/public.h
39 строк
894 B
qkrorlqr
Initial NBS OpenSource export
28 апр 2023, 21:54
28 апр 2023, 21:54
783a858
Код
Авторство
О чём код?
#pragma once #include <library/cpp/yt/misc/enum.h> namespace NYT::NYson { //////////////////////////////////////////////////////////////////////////////// //! The data format. DEFINE_ENUM(EYsonFormat, // Binary. // Most compact but not human-readable. (Binary) // Text. // Not so compact but human-readable. // Does not use indentation. // Uses escaping for non-text characters. (Text) // Text with indentation. // Extremely verbose but human-readable. // Uses escaping for non-text characters. (Pretty) ); // NB: -1 is used for serializing null TYsonString. DEFINE_ENUM_WITH_UNDERLYING_TYPE(EYsonType, i8, ((Node) (0)) ((ListFragment) (1)) ((MapFragment) (2)) ); class TYsonString; class TYsonStringBuf; //////////////////////////////////////////////////////////////////////////////// } // namespace NYT::NYson