yada

borkdude 2018-05-18T14:44:12.000727Z

I’m sending a string array in a multipart form. How do I parse this? I have tried part-bytes and part-string. part-string yields something I could parse manually, "foo&article%2Ftags=bar&article%2Ftags=baz", but maybe there is something better. The name of the field is article/tags and the value passed was ["foo", "bar", "baz"].

(some->
   tags
   part-string
   (java.net.URLDecoder/decode)
   (str/split #"&(article/tags=)?")) ;;=> ["foo" "bar" "baz"]