Class JsonStringFormatHelper


  • public final class JsonStringFormatHelper
    extends Object
    • Method Detail

      • stringValue

        public static String stringValue​(JsonNode jsonNode)
        Helper function to convert a JsonNode to Json String representation
        Parameters:
        jsonNode - The JsonNode that needs to be converted to Json String.
        Returns:
        Json String of Json Node.
      • addEscapeCharacters

        public static String addEscapeCharacters​(String input)
        Escapes characters for a give given string
        Parameters:
        input - Input string
        Returns:
        String with escaped characters.