samuraisam/django-json-rpc — Issue #31: Number type and floats
Author: Pongetti
Created: 2012-02-25 18:07:58+00:00
State: open

The Number parameter type only accepts int and long. ie, if I pass a float, like 5.5 to a function expecting a Number, I get an InvalidParamsError.

If I'm not mistaken, json's Number data type is ambiguous and should accept an integer or a floating point number.