Open jkk opened 11 years ago
(getf :foo.bar {:foo {:bar 1}}) => 1 (getf "foo[bar]" {:foo {:bar 1}}) => 1 (getf "foo[bar]" {"foo" {"bar" 1}}) => 1 (getf "foo[bar]" {"foo[bar]" 1}) => 1
For :flatten fields? (getf "foo[bar]" {"foo-bar" 1}) (getf "foo" {"foo-bar" 1 "foo-qux" 2}) => {"bar" 1 "qux" 2"}) ???
(getf :foo.bar {:foo {:bar 1}}) => 1 (getf "foo[bar]" {:foo {:bar 1}}) => 1 (getf "foo[bar]" {"foo" {"bar" 1}}) => 1 (getf "foo[bar]" {"foo[bar]" 1}) => 1
For :flatten fields? (getf "foo[bar]" {"foo-bar" 1}) (getf "foo" {"foo-bar" 1 "foo-qux" 2}) => {"bar" 1 "qux" 2"}) ???