org.apache.hadoop.hbase.util
Class JsonMapper
java.lang.Object
org.apache.hadoop.hbase.util.JsonMapper
@InterfaceAudience.Public
@InterfaceStability.Evolving
public final class JsonMapper
- extends Object
Utility class for converting objects to JSON
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writeMapAsString
public static String writeMapAsString(Map<String,Object> map)
throws IOException
- Throws:
IOException
writeObjectAsString
public static String writeObjectAsString(Object object)
throws IOException
- Throws:
IOException
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.