Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

None type in OrderedFlowDict introduces !!null tag #67

Open
rafzi opened this issue Nov 15, 2023 · 1 comment
Open

None type in OrderedFlowDict introduces !!null tag #67

rafzi opened this issue Nov 15, 2023 · 1 comment

Comments

@rafzi
Copy link

rafzi commented Nov 15, 2023

When a unity asset file contains the following:

dict: {key: }

it is parsed as follows:

dict: {key: !!null ''}

I tried changing the style of the None representer but could not make it work. This only happens when inside OrderedFlowDict, normal None works fine.

@rafzi
Copy link
Author

rafzi commented May 8, 2024

If this cannot be made to work easily, a simple workaround would be to remove all !!null '' sub-strings from the final output stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant