Difference between revisions of "DCS func json2lua"

From DCS World Wiki - Hoggitworld.com
 
Line 44: Line 44:
 
}}
 
}}
 
[[Category:DCS Control Functions|json2lua]]
 
[[Category:DCS Control Functions|json2lua]]
 +
[[Category:Game Patch 2.5.0|json2lua]]

Latest revision as of 23:00, 17 March 2022


Environment: Server
Function: json2lua Added with: 2.5.0
Member Of: net, net (gameGUI)
Syntax: table net.json2lua(string json )
Description: Converts a JSON string to a lua value.


Return Value: table
Return Example:
Examples:
Related Functions: GameGUI API: send_chat, send_chat_to, recv_chat, load_mission, load_next_mission, get_player_list, get_my_player_id, get_server_id, get_player_info, kick, get_stat, get_name, get_slot, set_slot, force_player_slot, lua2json, json2lua, dostring_in, log, trace


Mission Net send_chat, send_chat_to, recv_chat, get_player_list, get_my_player_id, get_server_id, get_player_info, kick, get_stat, get_name, get_slot, set_slot, force_player_slot, lua2json, json2lua, dostring_in, log, trace

Notes: