parseOrPassthrough

fun parseOrPassthrough(value: String?, joinWith: String = ""): String

Parses value as a JSON string array and joins it with joinWith; passes through as-is otherwise.