while(true){💩};

  • 0 Posts
  • 140 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle
  • I’m not sure if i’m missing a joke here, so:

    In case you’re making a joke: The people who don’t type JSON are using controllers.

    In case you’re asking a serious question: the people who don’t type JSON are the people in OP’s image. They are technically using types, but that type is literally always string. They don’t use integers, they don’t use booleans. This is functional but may not be the best choice, depending on what kinds of data their system is supposed to handle.


  • JSON has types.

    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.







  • You may want to explain to them why this is the case. There are a lot of reasons google wouldnt have your location:

    1. You are an iPhone user without any Google apps

    2. You are a custom ROM user and have specifically gone out of your way to not install Google Play Services or any Google apps (this is me!)

    3. You are a PinePhone or Librem 5 user and are using Arch (btw) or another distro like Phosh

    4. You don’t have a mobile phone and communicate completely via desktop/laptop and/or landline phone

    5. You genuinely think Google doesn’t harvest your location 8 ways to sunday on stock Android (in which case you are factually and completely wrong - opt-out toggles should be treated as illusory on locked down proprietary systems like Google Play Services).