diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-21 01:45:41 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-09-23 15:30:32 +0200 |
commit | 795971bc806776ad48de6f0135736cbaaefa5fcd (patch) | |
tree | 057c347f6cb1a24492dcf41e7d1940f19346db47 /support/schema/gendummydata.py | |
parent | 04a0fd47482f513c24645eb3f8b88b07303f9ec4 (diff) | |
download | aur-795971bc806776ad48de6f0135736cbaaefa5fcd.tar.gz aur-795971bc806776ad48de6f0135736cbaaefa5fcd.tar.xz |
RPC: Coerce numeric values into integers
Coerce following fields into integers to ensure json_encode() serializes
them as integers:
* ID
* CategoryID
* NumVotes
* OutOfDate
* FirstSubmitted
* LastModified
This means that there will be a minor API break. There's no better way
to do this properly, though. Fixes FS#25693.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'support/schema/gendummydata.py')
0 files changed, 0 insertions, 0 deletions