We are calling the usage API http://dev.datasift.com/docs/api/rest-api/endpoints/usage to get DPU informations and It seems to be a problem with the JSON serializations when the api is called for a new stream that has no matching articles over a period that was requested. In this specific case, the licenses field is an empty array instead of an object as in normal cases:
licenses: [ ],
In normal cases the JSON looks like follow (please notice that in this case the "licenses" is not an array):
We are currently forced to tweak the deserialization of this object which is failing when array starting is reached, could this be addressed so we/others don't need workaround this in the future? Thanks!