Serialization compliant

This commit is contained in:
barsdeveloper
2022-03-19 23:29:44 +01:00
parent b4ee181eb5
commit 871f76b305
6 changed files with 140 additions and 38 deletions

View File

@@ -66,7 +66,7 @@ export default class ISerializer {
+ this.writeValue(value)
}
}
if (this.trailingSeparator && result.length && fullKey.length === 0) {
if (this.trailingSeparator && result.length && fullKey.length === 1) {
// append separator at the end if asked and there was printed content
result += this.separator
}