Sep
28
Charlie Hubbard has updated his well received Flexjson library and has released version 1.5. There are two major feature updates: Filters You can now easily include and exclude items from the JSON: PLAIN TEXT JAVA: new JSONSerializer().exclude(”*.class”).serialize( obj );new JSONSerializer().exclude(”foo.*.bar.*”).prettyPrint( obj );new JSONSerializer().exclude(”*.class”).include(”my.hobbies”).serialize( obj );new JSONSerializer().exclude(”foo.phoneNumbers”).include(”*”).prettyPrint( obj ); Note that a new prettyPrint() is there to output your JSON in an eye-pleasing […]
More: continued here































