See title. When a user never modified their "about me" section the API doesn't return that, which then causes my parser to go wild returning errors. However, when a user has modified their "about me" section, then later on deleted it, the "about_me" shows up with nothing in it, but it can at least still be parsed. I would like to have the about me show up for every user, registered, unregistered, edited and unedited.
There are a great many fields on objects returned by the API that will be omitted if they are not set.
- The user fields you mentioned.
bounty_date, etc. on questions and answers
- a whole slew of
post_timelinefields depending on the
... and many more.
We do this because omitting a field clearly indicates that it has no value, and isn't just populated with the "default". It also makes (human) reading returned values much easier, as you don't have to slog through a bunch of
"blahblah": null lines.