KeyValues handling angles and vectors?

util.TableToKeyValues() Seems to ignore vector and angle var types comletely. Is this a gmod bug or garry meant for this to happen?

Or am I missing something when I’m using it?

iirc you need to use string.Implode because key values will save it as a coordinate like 0 1 2

Keyvalues ignore them completely, just ignores the var in the table, so no way to reconstruct it. I could go through the table and just save x y z into seperate vars, but that sounds hacky as hell… Wonder if garry knows about it.

Well it’s always been like that. You could just use util.TableToJSOn and util.JSONToTable

Can’t tell if that is seriously what you would do or if you are joking.