title: how to globally define the naming convention with Jackson
body: <p>I'm using Jackson with Spring. I have a few methods like this:</p>
  
  <pre><code>@RequestMapping(value = "/myURL", method = RequestMethod.GET)
  public @ResponseBody Foo getFoo()  {
      // get foo
      return foo;
  }
  </code></pre>
  
  <p>The class Foo that's serialized is quite big and has many members. The serialization is ok, using annotation or custom serializer.</p>
  
  <p>The only thing I can't figure out is how to define the naming convention. I would like to use snake_case for all the serializations.</p>
  
  <p>So how do I define <strong>globally</strong> the naming convention for the serialization?</p>
  
  <p>If it's not possible, then a local solution will have to do then.</p>