Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用ruamel.yaml库解析OpenUtau ustx文件 #183

Closed
wants to merge 1 commit into from

Conversation

oxygen-dioxide
Copy link

OpenUtau使用yaml 1.2, 而pyyaml仅支持yaml 1.1(参见这个issue

两者的一个重要区别是yaml 1.1会将yes, no, Y, N, on, off解析为布尔值,而yaml 1.2则只接受true和false,其他的都将解析为字符串。

@oxygen-dioxide oxygen-dioxide marked this pull request as draft March 1, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant