Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 864 Bytes

File metadata and controls

21 lines (14 loc) · 864 Bytes

ApiHelper

This is a Helper class with commonly used utilities for the SDK.

Fields

Name Description Type
mapper Deserialization of Json data. ObjectMapper

Methods

Name Description Return Type
serialize(Object obj) Json Serialization of a given object. String
deserialize(String json) Json deserialization of the given Json string. LinkedHashMap<String, Object>
deserialize(String json, Class<T> clazz) Json deserialization of the given Json string. <T extends Object> T
deserialize(String json, TypeReference<T> typeReference) JSON Deserialization of the given json string. <T extends Object> T
deserializeArray(String json, Class<T[]> classArray) JSON Deserialization of the given json string. <T extends Object> List<T>