Re: limit keys from client JSON (select-keys but nested?)

2013-01-01 Thread Ghislain Hachey
On Monday, December 31, 2012 3:13:42 AM UTC+11, Huey Petersen wrote: > > > 2) Is there a good way of doing this with nested maps? An example: > > { :user { :first "John" :last "Doe" :dob { :month 12 :day 30 :year 2012 > :garbage "asdf" } } } > > I would want to make sure :dob only contains keys

Re: Digest for clojure@googlegroups.com - 25 Messages in 11 Topics

2013-01-01 Thread Ghislain Hachey
On 12/31/2012 04:52 AM, clojure@googlegroups.com wrote: 2) Is there a good way of doing this with nested maps? An example: { :user { :first "John" :last "Doe" :dob { :month 12 :day 30 :year 2012 :garbage "asdf" } } } I would want to make sure :dob only contains keys :month, :day, :year. Hi th