[HELP] Glon to vON

Hey Guys,
I need some help converting Glon to vON, I don’t understand how glon works nor vON…

Can someone convert this for me or at least explain what equals to glon.encode/decode in vON?

[LUA]if (SERVER) then

// ----------------------------------------------------------------------------------------------------------------
// (G)(SV) META: Extension of the player meta table
// ----------------------------------------------------------------------------------------------------------------
local meta = _R.Player
function meta:GetADataFilename()
	return "achievements/" .. string.Replace( self:SteamID(), ":", "" ) .. ".txt"
end
function meta:LoadAData()
	local fn = self:GetADataFilename()
	local dat = {}
	if (file.Exists( fn )) then
		local b, res = pcall( glon.decode, file.Read( fn ) )
		if (b && (type( res ) == "table")) then
			table.Merge( dat, res )
			msg( "Loaded player data! (" .. self:Nick() .. ")", true )
		else
			ErrorNoHalt( "ACH: Corrupt or invalid save data file! (" .. self:Nick() .. ")

" )
end
end
self.A_DATA = dat
end
function meta:SaveAData()
local fn = self:GetADataFilename()
local dat = self:GetAData()
local b, res = pcall( glon.encode, dat )
if (b && (type( res ) == “string”)) then
file.Write( fn, res )
Msg( “Saved player data! (” … self:Nick() … ")
" )
else
ErrorNoHalt( “ACH: Failed to write player data file! (” … self:Nick() … ")
" )
end
end
function meta:GetAData()
if (!self.A_DATA) then self:LoadAData() end
return self.A_DATA
end …
end[/LUA]

Thanks

You don’t even need vON, just use util.TableToJSON and util.JSONToTable, instead of glon.encode and glon.decode, respectively.

Thanks <3