Question: If you need to store the loggedIn status of a user in JSON as a boolean, what is the correct syntax?

  1. "loggedIn": (true)
  2. loggedIn: "true"
  3. "loggedIn": true
  4. loggedIn: {true}

Answer: The correct answer of the above question is Option C:"loggedIn": true