Quantcast
Channel: CowTalk
Browsing all 16 articles
Browse latest View live

Jackson 2.0: CSV-compatible as well

(note: for general information on Jackson 2.0.0, see the previous article, "Jackson 2.0.0 released"; or, for XML support, see "Not just for JSON any more -- also in XML") Now that I talked about XML,...

View Article



Notes on upgrading Jackson from 1.9 to 2.0

If you have existing code that uses Jackson version 1.x, and you would like to see how to upgrade to 2.0, there isn't much documentation around yet; although Jackson 2.0 release page does outline all...

View Article

Take your JSON processing to Mach 3 with Jackson 2.0, Afterburner

(this is part on-going "Jackson 2.0" series, starting with "Jackson 2.0 released") 1. Performance overhead of databinding When using automatic data-binding Jackson offers, there is some amount of...

View Article

Java Type Erasure not a Total Loss -- use Java Classmate for resolving...

As I have written before ("Why 'java.lang.reflect.Type' Just Does Not Cut It"), Java's Type Erasure can be a royal PITA. But things are actually not quite as bleak as one might think. But let's start...

View Article

Data format auto-detection with Jackson (JSON, XML, Smile, YAML)

There is one fairly advanced feature of Jackson that has been around a while (since version 1.8), but that has not really been publicized a lot: data format auto-detection. Let's see how it works, and...

View Article


What me like YAML? (Confessions of a JSON advocate)

Ok. I have to admit that I learnt something new and gained bit more respect for YAML data format recently, when working on the proof-of-concept for YAML-on-Jackson (jackson-dataformat-yaml; more on...

View Article

Jackson Data-binding: Did I mention it can do YAML as well?

Note: as useful earlier articles, consider reading "Jackson 2.0: CSV-compatible as well" and "Jackson 2.0: now with XML, too!" 1. Inspiration Before jumping into the actual beef -- the new module -- I...

View Article

Doing actual non-blocking, incremental HTTP access with async-http-client

Async-http-client library, originally developed at Ning (by Jean-Francois, Tom, Brian and maybe others and since then by quite a few others) has been around for a while now.Its main selling point is...

View Article


Forcing escaping of HTML characters (less-than, ampersand) in JSON using Jackson

1. The problem Jackson handles escaping of JSON String values in minimal way using escaping where absolutely necessary: it escapes two characters by default -- double quotes and backslash -- as well...

View Article


Replacing standard JDK serialization using Jackson (JSON/Smile),...

1. Background The default Java serialization provided by JDK is a two-edged sword: on one hand, it is a simple, convenient way to "freeze and thaw" Objects you have, handling about any kind of Java...

View Article

Jackson 2.1 was released... quite a while ago :)

Ok, so I have not been an active blogger for a while. Like, since about a year ago. I am hoping to catch up a bit, so let's start with intermediate Jackson releases that have gone out the door since I...

View Article

Brief History of Jackson the JSON processor

(Disclaimer: this article talks about Jackson JSON processor -- not other Jacksons, like American cities or presidents -- those others can be found from Wikipedia) 0. Background It occurred to me that...

View Article

On Jackson 2.2

Here's another thing I need to write about, from my "todo bloklog" (blog backlog): overview of Jackson 2.2 release.As usual, official 2.2 release notes are worth checking out for more detailed...

View Article


Java Classmate 0.9 released -- getting ready for 1.0

UPDATE: (October 2013) -- Version 1.0 is now out! ---- Getting close to Java Classmate 1.0: version 0.9 now out! Java Classmate is a highly specialized library that can be used to properly and...

View Article

On Jackson: Serializing Lists, Maps with properties

1. Problem One of questions occasionally brought up is why Jackson ignores any properties that a java.util.List or java.util.Map may have. For example, for: public class StringList extends...

View Article


Jackson 2.3.0 released -- quick feature overview

Now that Jackson 2.3.0 is finally finalized and released (official release date 14th November, 2013), it is time for a quick sampling of new features. Note that this is a very limited sampling --...

View Article
Browsing all 16 articles
Browse latest View live




Latest Images