Logo
I test in production. Like a boss.
  • 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
1 month ago 70.9M 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

FALJIOK Yet Despite the Look on My Face Mug, Funny Work Office Gifts Mug Gift for Boss Coworker Colleague Manger, Funny Birthday Sarcastic Work Gift for Employee Men BFF Friends, White

FALJIOK Yet Despite the Look on My Face Mug, Funny Work Office Gifts Mug Gift for Boss Coworker Colleague Manger, Funny Birthday Sarcastic Work Gift for Employee Men BFF Friends, White

Affiliate
$11.99
NordVPN

NordVPN

Sponsored
VPN
Unlikely Lovers

Unlikely Lovers

Programming
97.0K views 2 years ago