@Test public void shouldChangeAttributeName() { String name = "badger"; assertNotEquals(name, JSONSerialisation.jsonAttributeName(name)); }
public static String jsonAttributeName(String name) { return "\"" + name + "\":"; }
JSONSerialisation { public static String jsonAttributeName(String name) { return "\"" + name + "\":"; } }
JSONSerialisation { public static String jsonAttributeName(String name) { return "\"" + name + "\":"; } JSONSerialisation(); }
JSONSerialisation { public static String jsonAttributeName(String name) { return "\"" + name + "\":"; } JSONSerialisation(); String serialise(T object); T deserialise(String text, Class<T> clazz); static String jsonAttributeName(String name); }
JSONSerialisation { public static String jsonAttributeName(String name) { return "\"" + name + "\":"; } JSONSerialisation(); String serialise(T object); T deserialise(String text, Class<T> clazz); static String jsonAttributeName(String name);  }