-
Notifications
You must be signed in to change notification settings - Fork 0
Yaml File
ZengJingtao edited this page Jan 30, 2023
·
2 revisions
Yaml is generally considered to be a superset of json. Compared with json, yaml is more suitable for configuration files.
class SidePluginRepo {
public:
// ...
Status ImportAutoFile(const Slice& fname); // Automatically call Json(.json,.js) or Yaml(.yaml,.yml) according to the suffix
Status ImportJsonFile(const Slice& fname);
Status ImportYamlFile(const Slice& fname);
// ...
};