GridMarshaller

Supports BSGrid marshaling and unmarshaling.

API

GridMarshaller.java
interface GridMarshaller {
  EnumSet<CommonMimeType> supportedFormats()     (1)
  String marshal(BSGrid value, CommonMimeType format)     (2)
  Try<BSGrid> unmarshal(LayoutKey layoutKey, String content, CommonMimeType format)     (3)
}
1 supportedFormats()

Supported format(s) for #unmarshal(Class, String, CommonMimeType) and #marshal(BSGrid, CommonMimeType) .

2 marshal(BSGrid, CommonMimeType)
3 unmarshal(LayoutKey, String, CommonMimeType)

Returns a new de-serialized instance wrapped in a Try .

Members

supportedFormats()

Supported format(s) for #unmarshal(Class, String, CommonMimeType) and #marshal(BSGrid, CommonMimeType) .

marshal(BSGrid, CommonMimeType)

unmarshal(LayoutKey, String, CommonMimeType)

Returns a new de-serialized instance wrapped in a Try .