Logo
May your code be bug-free and your deploys be boring.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Array-vs-object Memes

Posts tagged with Array-vs-object

Why Is Our Json Deserializer Returning Empty Objects

Debugging Javascript Programming Backend Webdev
2 months ago 71.0M views 1 shares
Why Is Our Json Deserializer Returning Empty Objects
Someone's out here debugging their JSON deserializer while staring at a response body that's basically one giant array. Not an object. An array . The kind that starts with a bracket, not a curly brace. Deserializing an array into an object is like trying to pour water into a colander and wondering why your cup is empty. The type mismatch is right there, highlighted in blue, mocking you. But sure, let's spend another hour checking if the property names match. Pro tip: when your deserializer returns empty objects, maybe check if you're actually receiving what you think you're receiving. Revolutionary concept, I know.

Today's picks

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Programming
291.1M views 5 days ago
When Your Hobby Code Becomes Business Critical

When Your Hobby Code Becomes Business Critical

Programming
259.7K views 1 year ago
Who Needs Fun When You Can Have Fn

Who Needs Fun When You Can Have Fn

Rust
710.3K views 10 months ago