Garry's Mod Wiki

Garry's Mod Wiki

  string util.TableToKeyValues( table table, string rootKey = "TableToKeyValues" )

Description

Converts the given table into a Valve key value string.

Use util.KeyValuesToTable to perform the opposite transformation.

You should consider using util.TableToJSON instead.

Arguments

1 table table
The table to convert.
2 string rootKey = "TableToKeyValues"
The root key name for the output KV table.

Returns

1 string
The output.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...