Back

parse-nested-keys (clj)

(source)

function

(parse-nested-keys param-name)
Parse a parameter name into a list of keys using a 'C'-like index notation. For example: "foo[bar][][baz]" => ["foo" "bar" "" "baz"]

Examples