# Uses of Class
org.springframework.batch.item.json.builder.JsonFileItemWriterBuilder

Packages that use JsonFileItemWriterBuilder
Package
Description
org.springframework.batch.item.json.builder
Builders for JSON item reader and writer.

- ## Uses of JsonFileItemWriterBuilder in org.springframework.batch.item.json.builder

  Methods in org.springframework.batch.item.json.builder that return JsonFileItemWriterBuilder
  Modifier and Type
  Method
  Description
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`append(boolean append)`
  If set to true and the file exists, the output will be appended to the existing file.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`encoding(String encoding)`
  Encoding used for output.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`footerCallback(FlatFileFooterCallback callback)`
  A callback for footer processing.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`forceSync(boolean forceSync)`
  A flag indicating that changes should be force-synced to disk on flush.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`headerCallback(FlatFileHeaderCallback callback)`
  A callback for header processing.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`jsonObjectMarshaller(JsonObjectMarshaller<T> jsonObjectMarshaller)`
  Set the `JsonObjectMarshaller` to use to marshal objects to json.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`lineSeparator(String lineSeparator)`
  String used to separate lines in output.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`resource(org.springframework.core.io.Resource resource)`
  The `Resource` to be used as output.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`saveState(boolean saveState)`
  Configure if the state of the `ItemStreamSupport` should be persisted within the `ExecutionContext` for restart purposes.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`shouldDeleteIfEmpty(boolean shouldDelete)`
  If set to true, once the step is complete, if the resource previously provided is empty, it will be deleted.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`shouldDeleteIfExists(boolean shouldDelete)`
  If set to true, upon the start of the step, if the resource already exists, it will be deleted and recreated.
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`transactional(boolean transactional)`
  If set to true, the flushing of the buffer is delayed while a transaction is active.