minifyString

Minify the given JSON string

@trusted
string
minifyString
(
in string jsonString
,
in bool hasComment = false
)

Parameters

jsonString string

the json string you want to minify

hasComment bool

a boolean to support comments in json. Default: false.

Return: the minified json string

Meta