-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Writing operator switches to object mode. Trim spaces around equal op
If someone is using the writer but doesn't know what the upcoming container type is (array, object, mixed). There is no way to switch without peeking. This allows the writer to always start with an array and then if an operator is encountered (like an equals operator), the container will be switched to object mode And if equals is being written, there shouldn't be any spaces around it.
- Loading branch information
1 parent
db9ef14
commit 5b4cca2
Showing
1 changed file
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters