String writeValueAsString(Object value, String indentation) throws JsonProcessingException {
        PrettyPrinter printer = new BetterPrettyPrinter(indentation).withArrayIndenter(new DefaultIndenter());
        return writer(printer).writeValueAsString(value);
    }
String writeValueAsString ( Object value , String indentation ) throws JsonProcessingException { PrettyPrinter printer = new BetterPrettyPrinter ( indentation ) . withArrayIndenter ( new DefaultIndenter ( ) ) ; return writer ( printer ) . writeValueAsString ( value ) ; }
This method behaves similarly to the <code>writeValueAsString(Object value)</code> method
except that it includes an indentation prefix that will be prepended to each line of the
resulting string (except the first line).

@param value The smart object to be written out as a string.
@param indentation The indentation string to be prepended to each line.
@return The formatted string.
@throws JsonProcessingException The JSON object mapper was not able to serialize the object.