JsonToString - Преобразовать JSON в строку

Пример

s = {}
s.test = "ok"
result = JsonToString(s," "," ")

Результат

{ "test": "ok"}