Interface Serializer

All Known Implementing Classes:
GsonSerializer

public interface Serializer
Interface for serializing raw Java telemetry structures into standard JSON strings.
  • Method Summary

    Modifier and Type
    Method
    Description
    Serializes the given telemetry map into its JSON representation.
  • Method Details

    • serialize

      String serialize(Map<String,Object> value) throws Exception
      Serializes the given telemetry map into its JSON representation.
      Parameters:
      value - the telemetry map to serialize
      Returns:
      the serialized JSON string
      Throws:
      Exception - if serialization fails