Json adapter : Json vers AppData -> testé
This commit is contained in:
@@ -99,7 +99,7 @@ public class JsonAdapter implements Adapter {
|
||||
private void getUsers(JsonArray jsonUsers, List<User> users) {
|
||||
for (JsonElement element : jsonUsers) {
|
||||
JsonObject jsonUser = element.getAsJsonObject();
|
||||
String name = jsonUser.get("username").getAsString();
|
||||
String name = jsonUser.get("name").getAsString();
|
||||
String password = jsonUser.get("password").getAsString();
|
||||
String aeskey = jsonUser.get("aes_key").getAsString();
|
||||
Map<String, File> userFiles = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user