Encode an array of categories

For example: an array that represents a movie's categories, field "movie_categories":

["sci-fi", "thriller", "comedy"]

-> <Encode the arrays to vectors> ->
sci-fithrillercomedyromancedrama
11100
array vector: [1, 1, 1, 0, 0]
Language
Click Try It! to start a request and see the response here!