开源软件名称(OpenSource Name):rxi/json.lua开源软件地址(OpenSource Url):https://github.com/rxi/json.lua开源编程语言(OpenSource Language):Lua 97.6%开源软件介绍(OpenSource Introduction):A lightweight JSON library for Lua Features
UsageThe json.lua file should be dropped into an existing project and required by it: json = require "json" The library provides the following functions: json.encode(value)Returns a string representing json.encode({ 1, 2, 3, { x = 10 } }) -- Returns '[1,2,3,{"x":10}]' json.decode(str)Returns a value representing the decoded JSON string. json.decode('[1,2,3,{"x":10}]') -- Returns { 1, 2, 3, { x = 10 } } Notes
LicenseThis library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论