Created
December 1, 2020 16:26
-
-
Save ashley-figueira/8fd5865baf5366cc35ac7e2b1fa2ac67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun getJsonContent(fileName: String): String { | |
return InputStreamReader(this.javaClass.classLoader!!.getResourceAsStream(fileName)).use { it.readText() } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment