json_encode [function]
json_encode( var )
encode SGScript variable structure as JSON string
json_encode( { a = 5, text = "something" } ) // returns {"a":5,"text":"something"}
json_encode( { a = 5, text = "something" } ) // returns {"a":5,"text":"something"}