basically in a java application you can get a resource file like this ClassLoader classloader = Thread.currentThread().getContextClassLoader(); InputStream is = classloader.getResourceAsStream("test.json"); then you can pass that to any json parser like gson or jackson
Обсуждают сегодня