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
As of 2.11.4 YAMLGenerator does not quote the tilde character when MINIMIZE_QUOTES is enabled. The YAML spec states that tilde represents null, and in fact Jackson interprets it as such, but it does not quote strings containing this by default. This should be included in the list of other special characters that get quoted as per #180.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this: it sounds like a flaw.
I assume that check for tilde should only consider the first (non-space?) character; or possibly just full value being tilde. Leading white-space may be a challenge however so alternatively could simply check for existence in general I suppose.
PR for quoting would be highly welcome: I hope to get to this eventually (right now I am bit time-limited) but will try my best to help with PRs.
And even just submitting a PR for test that show the issue (write tilde-value as String, comes back as null) would be valuable. If so, would go against branch 2.12, under src/test/.../failing/ (to avoid failing build).
As of 2.11.4 YAMLGenerator does not quote the tilde character when MINIMIZE_QUOTES is enabled. The YAML spec states that tilde represents null, and in fact Jackson interprets it as such, but it does not quote strings containing this by default. This should be included in the list of other special characters that get quoted as per #180.
The text was updated successfully, but these errors were encountered: