You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val yamlConf =Yaml.decodeFromString(YamlConf.serializer(), File("conf.yml").readText())
result:
Exception in thread "main" net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: illegal beginning token MULTILINE_LIST_FLAG on decoding class
---
^ at line 1, column 2
without the '---', line it works fine.
The text was updated successfully, but these errors were encountered:
if yaml starts with '---', e.g.:
result:
without the '---', line it works fine.
The text was updated successfully, but these errors were encountered: