Package org.apache.hadoop.hbase.util
Class JsonMapper
java.lang.Object
org.apache.hadoop.hbase.util.JsonMapper
Utility class for converting objects to JSON
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.hbase.thirdparty.com.google.gson.Gson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
writeMapAsString
(Map<String, Object> map) static String
writeObjectAsString
(Object object)
-
Field Details
-
GSON
-
-
Constructor Details
-
JsonMapper
private JsonMapper()
-
-
Method Details
-
writeMapAsString
- Throws:
IOException
-
writeObjectAsString
- Throws:
IOException
-