Advertisement
alestane

adding data structure

Aug 12th, 2013
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.13 KB | None | 0 0
  1. local t = json.decode(serverInput)
  2. for category, info in pairs(t.Category) do
  3.     info.Name = category
  4.     t.Category[info.order] = info
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement