Package net.sf.basedb.util.json
Interface JsonConverter<T>
- All Known Implementing Classes:
EnumConverter
,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
-
Method Details
-
convert
Convert the given object to a JSON-compatible object. The parameter may be null.- Parameters:
object
- The objcet to convert
-