public class JSONStringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
toJSONString(String string)
Serialises the specified string to a JSON string.
|
public static String toJSONString(String string)
string
- The string. Must not be null
.Copyright © 2021 Connect2id Ltd.. All rights reserved.