Package com.nimbusds.jose.util
Class JSONStringUtils
java.lang.Object
com.nimbusds.jose.util.JSONStringUtils
JSON string helper methods.
- Version:
- 2022-08-16
- Author:
- Vladimir Dzhuvinov
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
toJSONString
(String string) Serialises the specified string to a JSON string.
-
Method Details
-
toJSONString
Serialises the specified string to a JSON string.- Parameters:
string
- The string. Must not benull
.- Returns:
- The string as JSON string.
-