Class TestJsonHelper


  • public final class TestJsonHelper
    extends Object
    Helper methods for dealing with JSON.
    • Constructor Detail

      • TestJsonHelper

        private TestJsonHelper()
    • Method Detail

      • readJsonFromFile

        public static String readJsonFromFile​(@Nonnull
                                              Resource location)
        Read a file into a string.
        Parameters:
        location - the location of the file to read
        Returns:
        the file as a string