# Uses of Interface
org.springframework.batch.item.json.JsonObjectMarshaller

Packages that use JsonObjectMarshaller
Package
Description
org.springframework.batch.item.json
Infrastructure implementations of JSON input and output.
org.springframework.batch.item.json.builder
Builders for JSON item reader and writer.

- ## Uses of JsonObjectMarshaller in org.springframework.batch.item.json

  Classes in org.springframework.batch.item.json that implement JsonObjectMarshaller
  Modifier and Type
  Class
  Description
  `class`
  `GsonJsonObjectMarshaller<T>`
  A json object marshaller that uses Google Gson to marshal an object into a json representation.
  `class`
  `JacksonJsonObjectMarshaller<T>`
  A json object marshaller that uses Jackson to marshal an object into a json representation.
  Methods in org.springframework.batch.item.json with parameters of type JsonObjectMarshaller
  Modifier and Type
  Method
  Description
  `void`
  JsonFileItemWriter.`setJsonObjectMarshaller(JsonObjectMarshaller<T> jsonObjectMarshaller)`
  Set the `JsonObjectMarshaller` to use to marshal object to json.
  Constructors in org.springframework.batch.item.json with parameters of type JsonObjectMarshaller
  Modifier
  Constructor
  Description
  ``
  `JsonFileItemWriter(org.springframework.core.io.Resource resource, JsonObjectMarshaller<T> jsonObjectMarshaller)`
  Create a new `JsonFileItemWriter` instance.

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

  Methods in org.springframework.batch.item.json.builder with parameters of type JsonObjectMarshaller
  Modifier and Type
  Method
  Description
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`jsonObjectMarshaller(JsonObjectMarshaller<T> jsonObjectMarshaller)`
  Set the `JsonObjectMarshaller` to use to marshal objects to json.