OpenIPC / ipctool

Simple tool (and library) for checking IP camera hardware
https://openipc.org
MIT License
158 stars 34 forks source link

cYAML: Fix handling of empty objects. #80

Closed gckzl closed 1 year ago

gckzl commented 1 year ago

While working on the YAML code, I noticed it didn't handle empty strings, empty objects and empty arrays correctly: in that case, it would output invalid YAML (this limitation was present also before my re-write). This fixes it.

flyrouter commented 1 year ago

While working on the YAML code, I noticed it didn't handle empty strings, empty objects and empty arrays correctly: in that case, it would output invalid YAML (this limitation was present also before my re-write). This fixes it.

Thank you very much for the PR, we will look into it shortly.