APISonar


org.embulk.spi.type.Types.JSON

> org > embulk > spi > type > Types > JSON
org APIs embulk APIs spi APIs type APIs Types APIs JSON APIs

Example 1
Schema newSchema(PluginTask task) {
        if (isUsingCustomSchema(task)) {
            return task.getSchemaConfig().get().toSchema();
        } else {
            return Schema.builder().add("record", Types.JSON).build(); // generate a schema
        }
    }