<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlList2Json</id>
	<title>LlList2Json - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlList2Json"/>
	<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlList2Json&amp;action=history"/>
	<updated>2026-06-01T06:21:56Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlList2Json&amp;diff=739&amp;oldid=prev</id>
		<title>Ty：创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: string llList2Json( string type, list values ); |参数=…”</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlList2Json&amp;diff=739&amp;oldid=prev"/>
		<updated>2020-08-22T01:57:29Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: string llList2Json( string type, list values ); |参数=…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{函数详情&lt;br /&gt;
|函数名 = Function: string llList2Json( string type, list values );&lt;br /&gt;
|参数= 参数：&lt;br /&gt;
string	type&lt;br /&gt;
list	values	&lt;br /&gt;
|返回值= 返回值：&lt;br /&gt;
返回一个字符串，该字符串或者被序列化为 json 类型，或者如果遇到了 json _ invalid 错误。&lt;br /&gt;
|注意事项=&lt;br /&gt;
注意，字符串值项被解释为 json，而不是 lsl 字符串。如果需要，必须明确地添加引号。例如，lljson2list (lllist2json (json _ array，[“ bacon” ，“ true” ，“ false” ，“ null”])返回 lsl list [“ bacon” ，“ json _ true，json _ false，json _ null ] ，而 lljson2list (lllist2json (json _ array，”“ bacon” ，”” true” ，” false” ，” null”)返回 lsl list [“ bacon” ，” true” ，” false” ，” null”]&lt;br /&gt;
|示例=&lt;br /&gt;
示例一&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
string CSV2Json(string csv)&lt;br /&gt;
{&lt;br /&gt;
    list li = llCSV2List(csv);&lt;br /&gt;
    return llList2Json(JSON_ARRAY, li);&lt;br /&gt;
}&lt;br /&gt;
// This function converts a comma separated values string to a Json array string. &lt;br /&gt;
// CSV strings are often used for link-messages, notecards and they are easier to type as input commands. &lt;br /&gt;
// A Json-Array can store multiple of those as a nested list within the same Json-string via JSON_APPEND&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|相关函数=&lt;br /&gt;
[[llJson2List]]&lt;br /&gt;
[[llJsonGetValue]]&lt;br /&gt;
[[llJsonSetValue]]&lt;br /&gt;
[[llJsonValueType]]&lt;br /&gt;
|相关事件=无&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Ty</name></author>
		
	</entry>
</feed>