fforw.de
  • Home
  • About
  • Demos
  • Tools

svenson

A collection of 4 posts
code

Generating List<Something> from JSON with svenson

Often you’ll find yourself wanting to parse a JSON into a Java collection but want the values inside the collection to be of a specific type. Nothing easier than that. import org.svenson.JSONParser; … // Getting a list containing your own type Something. // Assume json to be a String containing
09 Sep 2010 1 min read
download

Annotating DOM nodes with JSON, Part 2

It’s been a while since I wrote Annotating DOM nodes with JSON and in retrospective I can say that I never really used the method described in a real life project. Now I’d like to present another method of decorating DOM nodes with JSON based on classes. This
03 Jun 2010 3 min read
AJAX

Hood: example application for jcouchdb 0.10.0-1

On the occasion of presenting CouchDB and jcouchdb at my place of work, I got around to finally create a small example application that is now downloadable as sneak preview. There need to be bugs fixed, features implemented and lots of documentation to be added, but it kind of works.
15 Oct 2009 1 min read
jcouchdb

Memory consumption changes in svenson 1.3

Implementing a streaming attachment feature for jcouchdb, I started to wonder whether it would be a good idea for svenson to support JSON parsing from a stream, too, as I don’t really need the complete stream to start constructing the java object graph. Implementing stream parsing was really nice
19 Apr 2009 2 min read
Page 1 of 1
fforw.de © 2026
  • Sign up
Powered by Ghost