ppy / osu-api

Public API for accessing osu! related data.
320 stars 16 forks source link

Return JSON ints and floats as numbers #236

Closed jxu closed 5 years ago

jxu commented 5 years ago

Currently all JSON values are strings, though JSON supports numbers (int and float). (Keys are required to be strings) It makes more sense to return as numbers.

peppy commented 5 years ago

I don't believe it is feasible to change this (and potentially break compatibility with existing API users). It will/has been resolved for the new osu-web api.