Interface JsonConverter<T>

All Known Implementing Classes:
IdentityConverter, NameableConverter

public interface JsonConverter<T>
Implementations should convert a given object to an object that can be serialized into a JSON string.
Since:
3.3
Author:
nicklas
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(T object)
    Convert the given object to a JSON-compatible object.
  • Method Details

    • convert

      Object convert(T object)
      Convert the given object to a JSON-compatible object. The parameter may be null.
      Parameters:
      object - The objcet to convert