geeky · java

Jackson default conversion behavior (java json library spring uses)

So I complain. I think it could be done better but I didn’t do any research as why this is the default behavior of Jackson so you can educate me the whole reason behind this design. Since Jackson is the json library SpringMVC has picked, I’m using it. By default, Jackson will convert any public… Continue reading Jackson default conversion behavior (java json library spring uses)

geeky · java

Jackson Ignore Property/Convenience Method

Here’s something I learned about Jackson and you may run into it. What gets serialized by default? Properties of an object are initially determined by process called auto-detection: all member methods and fields are checked to find: “Getter” methods: all no-argument public member methods which return a value, and conform to naming convention of “getXxx”… Continue reading Jackson Ignore Property/Convenience Method

geeky · non php code · plug

lol json tutorial

In my attempt to rewrite new millennium to make it 100% page refresh free, I’ve decided to learn more about json so I can use it with ajax. This is the first json tutorial that popped up in google. Hilarious stuff! I’m about 80% done with the rewrite of new millennium btw. So expected to… Continue reading lol json tutorial