Class JSONWrapper
- java.lang.Object
-
- io.patriot_framework.generator.network.wrappers.JSONWrapper
-
- All Implemented Interfaces:
DataWrapper
public class JSONWrapper extends Object implements DataWrapper
-
-
Constructor Summary
Constructors Constructor Description JSONWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
wrapData(List<Data> data)
Wraps data into specific format
-
-
-
Method Detail
-
wrapData
public String wrapData(List<Data> data)
Description copied from interface:DataWrapper
Wraps data into specific format- Specified by:
wrapData
in interfaceDataWrapper
- Parameters:
data
- generated from device- Returns:
- String representation of data format
-
-