Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is correct, but JSONschema does and there is an implicit behavioural difference introduced by the existence of the MultipleOf filter when you're dealing with floats versus integers that can't simply be elided away or excused by the lack of a distinction in the underlying type system.

The point is JSONschema could take a stand and say for example, "this filter will always fail when the operand is not the number representation of an exact integer".



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: