Nice work! ill check it out thanks On Thursday, March 12, 2015 at 7:19:42 PM UTC+2, Edward Kimber wrote: > > Hi Ronen, > > It's essentially the same idea as clojure.java.data but it can do quite a > bit more, including: > - generic parameters - so if you have List<Foo> in your class that's no > problem, nor is Map<String, List<Foo>> etc. > - creation of n-dimensional ragged arrays of any type > - setting fields if property accessors are not present > - camel-case to dash-separated keyword conversion > - custom constructors by property name as well as type > - breaking encapsulation and setting private fields (well, sometimes you > really do need to do it!) > > Edward > > On Thursday, 12 March 2015 13:59:10 UTC, ronen wrote: >> >> How this compares to clojure.java.data? >> >> Thanks >> >> On Thursday, March 12, 2015 at 12:47:59 AM UTC+2, Edward Kimber wrote: >>> >>> Munge Tout is a Java-Clojure interop library that helps convert Java >>> Objects into Clojure data structures. It supports conversion of Java >>> primitives, Lists, Sets, Maps and Enums and can be configured to perform >>> custom conversions on a per-property basis, or generally for a type by >>> extending the Mungeable protocol. >>> >>> We use this to construct Java classes to feed into legacy Java >>> libraries. Some of our classes have a complex structure with properties >>> being lists of other classes and so on and this tool makes interop with our >>> legacy code significantly simpler. Hopefully it may also be of use to >>> others. Feedback welcomed. >>> >>> https://github.com/flybe-dev/munge-tout >>> https://clojars.org/munge-tout >>> >>> Edward >>> >>
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.