Package org.springframework.batch.item.json

# Interface JsonObjectMarshaller<T>

Type Parameters:
  `T` - type of objects to marshal

All Known Implementing Classes:
  `GsonJsonObjectMarshaller`, `JacksonJsonObjectMarshaller`

public interface JsonObjectMarshaller<T>
Strategy interface to marshal an object into a json representation. Implementations are required to return a valid json object.

Since:
  4.1
Author:
  Mahmoud Ben Hassine

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `marshal(T object)`
  Marshal an object into a json representation.

- ## Method Details

  - ### marshal

    String marshal(T object)
    Marshal an object into a json representation.
    Parameters:
      `object` - to marshal
    Returns:
      json representation fo the object