Example usage for com.fasterxml.jackson.core.util DefaultPrettyPrinter DEFAULT_ROOT_VALUE_SEPARATOR

List of usage examples for com.fasterxml.jackson.core.util DefaultPrettyPrinter DEFAULT_ROOT_VALUE_SEPARATOR

Introduction

In this page you can find the example usage for com.fasterxml.jackson.core.util DefaultPrettyPrinter DEFAULT_ROOT_VALUE_SEPARATOR.

Prototype

SerializedString DEFAULT_ROOT_VALUE_SEPARATOR

To view the source code for com.fasterxml.jackson.core.util DefaultPrettyPrinter DEFAULT_ROOT_VALUE_SEPARATOR.

Click Source Link

Document

Constant that specifies default "root-level" separator to use between root values: a single space character.

Usage

From source file:com.bazaarvoice.jackson.rison.RisonFactory.java

@Deprecated
@Override// w  ww .j a  v  a  2 s . c om
protected RisonGenerator _createJsonGenerator(Writer out, IOContext ctxt) throws IOException {
    RisonGenerator gen = new RisonGenerator(ctxt, _generatorFeatures, _risonGeneratorFeatures, _objectCodec,
            out);
    SerializableString rootSep = _rootValueSeparator;
    if (rootSep != DefaultPrettyPrinter.DEFAULT_ROOT_VALUE_SEPARATOR) {
        gen.setRootValueSeparator(rootSep);
    }
    return gen;
}