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
We have used safeDump() method on our yaml file. Yaml file consist of some examples that starts with "00".
When we tried to dump the yaml file, string quotes were removed. Unfortunately something is not working as expected,
Hi,
We have used safeDump() method on our yaml file. Yaml file consist of some examples that starts with "00".
When we tried to dump the yaml file, string quotes were removed. Unfortunately something is not working as expected,
examples where quotes are removed -
Input -
accountNumber: "001408",
accountNumber: "00120451921"
Output -
accountNumber: 001408,
accountNumber: 00120451921
examples where quotes are not removed -
Input-
accountNumber: "00300300175747767"
accountNumber: "00167"
Output -
accountNumber: "00300300175747767"
accountNumber: "00167"
If we use only digits below 8 (octal digits), it work fine, quotes are not removed. (This should not be the expected behavior)
The text was updated successfully, but these errors were encountered: