class JsonConverter extends AbstractConfigurationConverter {

    JsonArray readJsonArrayFromConfig(final @NotNull PlexusConfiguration config,
                                      final ExpressionEvaluator evaluator)
            throws ComponentConfigurationException {
        final JsonArrayBuilder retValue = Json.createArrayBuilder();
        for (PlexusConfiguration child : config.getChildren()) {
            retValue.add(convertChild(child, evaluator));
        }
        return retValue.build();
    }

}