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

Output format: Are width/height always integers, or can they be floats? #54

Open
cmeeren opened this issue Jan 28, 2021 · 1 comment
Open

Comments

@cmeeren
Copy link

cmeeren commented Jan 28, 2021

In the output format, are width and height guaranteed to always be integers, or can they be floating point numbers?

Context: I'm a back-end .NET developer needing to parse Editor.js documents. Back-end deserialization/parsing in strongly typed languages requires me to choose to deserialize to either int (the simplest and most constrained) or float (the most general, but unnecessary if it's guaranteed to always be an integer). If these properties are guaranteed to always be int, then that guarantee should ideally be added to the readme to ensure it is formalized and kept in the future.

@cmeeren
Copy link
Author

cmeeren commented Apr 30, 2021

Could anyone clarify this, please? Thanks! 😊

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