/** * Converts a JsonNode to its string representation. * @param json the JSON node to convert. * @return the string representation, pretty printed. */ public static String prettyPrint(JsonNode json) { return generateJson(json, true, false); }
/** * Converts a JsonNode to its string representation. * @param json the JSON node to convert. * @return the string representation, pretty printed. */ public static String prettyPrint(JsonNode json) { return generateJson(json, true, false); }
/** * Converts a JsonNode to its string representation, escaping non-ascii characters. * @param json the JSON node to convert. * @return the string representation with escaped non-ascii characters. */ public static String asciiStringify(JsonNode json) { return generateJson(json, false, true); }
/** * Converts a JsonNode to its string representation, escaping non-ascii characters. * @param json the JSON node to convert. * @return the string representation with escaped non-ascii characters. */ public static String asciiStringify(JsonNode json) { return generateJson(json, false, true); }
/** * Converts a JsonNode to its string representation. * @param json the JSON node to convert. * @return the string representation, pretty printed. */ public static String prettyPrint(JsonNode json) { return generateJson(json, true, false); }
/** * Converts a JsonNode to its string representation, escaping non-ascii characters. * @param json the JSON node to convert. * @return the string representation with escaped non-ascii characters. */ public static String asciiStringify(JsonNode json) { return generateJson(json, false, true); }
/** * Converts a JsonNode to its string representation. * @param json the JSON node to convert. * @return the string representation. */ public static String stringify(JsonNode json) { return generateJson(json, false, false); }
/** * Converts a JsonNode to its string representation. * @param json the JSON node to convert. * @return the string representation. */ public static String stringify(JsonNode json) { return generateJson(json, false, false); }
/** * Converts a JsonNode to its string representation. * @param json the JSON node to convert. * @return the string representation. */ public static String stringify(JsonNode json) { return generateJson(json, false, false); }