package com.indeed.proctor.pipet.core.web;

import org.springframework.web.servlet.view.json.MappingJackson2JsonView;

/**
 * View for converting to JSON with Jackson 1.
 *
 * Use this View for all API responses. That guarantees that responses are consistently formatted.
 *
 * The JsonResponse should be the only object in the Model.
 *
 * This is guaranteed to use Jackson 1, which fixes a few problems related to JSON annotations.
 */
public class JsonResponseView extends MappingJackson2JsonView {
    public JsonResponseView() {
        super();
        setExtractValueFromSingleKeyModel(true);
        setPrettyPrint(true);
    }
}

@@ -160,17 +160,17 @@
 Jackson 
-1
+2
 .%0A *%0A * 
@@ -372,9 +372,9 @@
 son 
-1
+2
 , wh

upgrade jackson - update javadoc.