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.
Yeah, just displaying blank string will be great.
And also same for
too (may be there is even some more)
Note: Personally, I don't have any problem with existence of those field or not though
There are lots more.
The problem is that having something blank doesn't convey that the user hasn't filled it in... just that it's blank.
I think it should stay the way it is.