Many API developers may choose not to use them, but they are absolutely there.
You specify the type by including or excluding quotation marks, and then for the types without quotation marks, you either include or exclude a decimal point to specify float or integer, and for boolean you use characters (specifically true
or false
). Arrays are wrapped in []
and objects are wrapped in {}
.
JSON data as a whole is passed as one giant string because the REST protocol demands it. But once it's been pulled in and properly interpreted, there are absolutely types in the data.
Organic Maps (available on F-Droid and the Play store) is the closest FOSS alternative to Google maps i have been able to find. Routes are not perfect (they work but could be better) and time estimations are best-guess as it is completely offline minus map downloads, but its a great alternative and also has killer hiking trail data that beats Google's by a country mile. The offline bit also means that it works without a data connection, and for the privacy-conscious it's a major boon.