#1 2021-05-10 05:59:18

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 238
Website

LoadFromYaml undeclared

Hi,

in mormot.core.json are references to YAML-processing, especially

function TSynJsonFileSettings.LoadFromYaml(var aYaml: RawUtf8): boolean;
begin
  result := YamlSettingsToObject(aYaml, self);
end;

which is not declared and references the undeclared method YamlSettingsToObject.

I guess new, exciting things are comin' along :-)

Offline

#2 2021-05-10 06:14:17

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,569
Website

Re: LoadFromYaml undeclared

Sorry, it was a wrong commit.
The YAML features are not finished yet.
I will fix it.

Offline

#3 2021-05-10 09:23:54

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 238
Website

Re: LoadFromYaml undeclared

No problem, looking forward to it :-)

Offline

#4 2022-05-24 12:03:33

wxinix
Member
Registered: 2020-09-07
Posts: 121

Re: LoadFromYaml undeclared

Would TOML be also considered in (near or far) future?

Offline

#5 2022-05-24 17:21:24

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,569
Website

Re: LoadFromYaml undeclared

Nor YAML nor TOML are considered yet.

Offline

Board footer

Powered by FluxBB