You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
In the output format, are
width
andheight
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) orfloat
(the most general, but unnecessary if it's guaranteed to always be an integer). If these properties are guaranteed to always beint
, then that guarantee should ideally be added to the readme to ensure it is formalized and kept in the future.The text was updated successfully, but these errors were encountered: