class CheckmarxProjectSupport {

    protected List<CheckmarxEngineConfiguration> extractEngineConfigurationsFromGet(String json, JSONAdapterSupport support) throws AdapterException {
        Access rootNode = support.fetchRootNode(json);

        List<CheckmarxEngineConfiguration> engineConfigurations = new LinkedList<>();
        for (JsonNode node : rootNode.asArray()) {
            CheckmarxEngineConfiguration engineConfiguration = new CheckmarxEngineConfiguration();
            engineConfiguration.setId(node.get("id").asLong());
            engineConfiguration.setName(node.get("name").asText());

            engineConfigurations.add(engineConfiguration);
        }

        return engineConfigurations;
    }

}