jpsim / Yams

A Sweet and Swifty YAML parser.

Home Page:https://jpsim.com/Yams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failure to represent empty dictionary

shmidt opened this issue · comments

I have nested an empty dictionary and YAMS fails to convert it to YAML:

failed: caught error: "Failed to represent {
    emptydict =     {
};

An empty dictionary should be represented as {}.