Open GoogleCodeExporter opened 9 years ago
public static String pathOf(String... pathFragments) { return StringUtils.join(pathFragments, "."); } Usage: from(json).getString(pathOf(SOME, THING)); instead of: from(json).getString(String.format("%s.%s", SOME, THING));
Original issue reported on code.google.com by johan.ha...@gmail.com on 21 Oct 2011 at 8:48
johan.ha...@gmail.com
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 21 Oct 2011 at 8:48