JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Index
Search
Help
io.github.projectunified.faststats.core
Serializer
Contents
Description
Method Summary
Method Details
serialize(Map)
Hide sidebar
Show sidebar
Interface Serializer
All Known Implementing Classes:
GsonSerializer
public interface
Serializer
Interface for serializing raw Java telemetry structures into standard JSON strings.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
String
serialize
(
Map
<
String
,
Object
> value)
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