Example usage for com.fasterxml.jackson.databind.util TokenBuffer useDefaultPrettyPrinter

List of usage examples for com.fasterxml.jackson.databind.util TokenBuffer useDefaultPrettyPrinter

Introduction

In this page you can find the example usage for com.fasterxml.jackson.databind.util TokenBuffer useDefaultPrettyPrinter.

Prototype

public JsonGenerator useDefaultPrettyPrinter() 

Source Link

Usage

From source file:de.ii.ldproxy.gml2json.AbstractFeatureWriter.java

public TokenBuffer createJsonBuffer() throws IOException {
    TokenBuffer json = new TokenBuffer(jsonMapper);

    //if (useFormattedJsonOutput) {
    json.useDefaultPrettyPrinter();
    //}//from w w  w .  j  a  va2s.  c o m
    return json;
}