sgson_encode [function]

sgson_encode( var[, string tab ])

Encodes the given variable in the SGSON format.