ACTIVE Network API Forums

Bugs

RSS Feed

Inconsistent DataType "channel" in search results.

    • ManOVision
    • Topic created 8 years ago

    When there is only one channel, a single string is returned, but if there are multiple channels, an array is returned. This makes parsing extremely difficult and this issue may be on the other meta properties as well. Is there anyway to always return arrays when the data can have multiple values?

    Example for a single channel result:

    "channel": "More Sports\Wrestling",

    Example for a multi channel result:

    "channel": [ "Swimming", "Triathlon" ],

    Message edited by ManOVision 8 years ago

[ Page 1 of 1 ]