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 Detail

      • 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