Unquoted strings inconsistent between serialization and de-serialization #4
Labels
No labels
kind/bug
kind/enhancement
kind/feature
part/deserialize
part/parser
part/serialize
stage/actionable
stage/design
stage/proposal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lucas/serde_sjson#4
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Serialization will not quote strings containing
-
, but in parsing/de-serialization, that is not a valid character in unquoted strings.According to Autodesk's JS parser, these are the characters that are not valid in identifiers:
\t
\n
=
:
So it's actually both parser and serialization that are incorrect, in different ways each.