If there are taxonomy terms associated with a given post, you get an object with the taxonomy as the key and the terms in an array. If there are no taxonomy terms associated with a post, you get an array (when you would normally expect an empty object). This makes parsing a bit harder than it should be.
If there are taxonomy terms associated with a given post, you get an object with the taxonomy as the key and the terms in an array. If there are no taxonomy terms associated with a post, you get an array (when you would normally expect an empty object). This makes parsing a bit harder than it should be.