You're IT

Simply put, this blog is a dumping ground for things I find interesting or worth remembering relating to Java, programming, web, lean, agile, etc, etc.

Thursday, July 26, 2012

SpringMVC 3 Serialize enums to JSON

Apparently Jackson and SpringMVC 3 doesn't know how to handle enum properties when serializing to json, however there is a solution and this stack overflow thread has it.

Posted by Brett at 8:20 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: enum, jackson, java, json, spring, springmvc

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Popular Posts

  • JSTL c:forEach varStatus properties
  • Git Ignore for a Java Eclipse Project
  • Serializing and Deserializing an Object to a String
  • The Hibernate WITH clause, the HQL equivalent of SQL's ON
  • Spring Security: Return a 401 UNAUTHORIZED for AJAX Requests
  • Split a Java List Into a List of Sublists

Labels

CAS agile bigdata bug code review collaboration continuous improvement culture data database design patterns eclipse exception git hibernate initbinder jackson jasper java javascript jpa jpql jquery json jstl junit leadership lean maven mockito reflection regex rest security software spring springmvc sql sql server team test tomcat validation xml
Awesome Inc. theme. Powered by Blogger.