public class JsonUtil extends Object
| Constructor and Description |
|---|
JsonUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
toJsonString(Object o)
Deprecated.
Since v6.4 use
ObjectMapper.writeValueAsString(java.lang.Object)
instead and properly escape output. |
@Deprecated public static String toJsonString(@Nullable Object o)
ObjectMapper.writeValueAsString(java.lang.Object)
instead and properly escape output.o - object to convert to JSON string, for null you will get "null" string (without qutoes)Copyright © 2002-2022 Atlassian. All Rights Reserved.