<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua-cjson, branch 2.1.0.6rc2</title>
<subtitle>A mirror of https://github.com/openresty/lua-cjson
</subtitle>
<id>https://git.lua4.win/lua-cjson/atom?h=2.1.0.6rc2</id>
<link rel='self' href='https://git.lua4.win/lua-cjson/atom?h=2.1.0.6rc2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/'/>
<updated>2017-11-17T21:31:16+00:00</updated>
<entry>
<title>bugfix: fixed the C compiler warning "SO C90 forbids mixed declarations and code" on older operating systems.</title>
<updated>2017-11-17T21:31:16+00:00</updated>
<author>
<name>Yichun Zhang (agentzh)</name>
<email>agentzh@gmail.com</email>
</author>
<published>2017-11-17T21:31:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=bcbbb53bf2066c64614127f361e158970a14cab2'/>
<id>urn:sha1:bcbbb53bf2066c64614127f361e158970a14cab2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feature: set cjson.array_mt on decoded JSON arrays.</title>
<updated>2017-11-17T19:46:46+00:00</updated>
<author>
<name>Thibault Charbonnier</name>
<email>thibaultcha@me.com</email>
</author>
<published>2017-08-05T22:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=b5e364c7c60167995944ed3a3b9c54d9a377fc1d'/>
<id>urn:sha1:b5e364c7c60167995944ed3a3b9c54d9a377fc1d</id>
<content type='text'>
this can be turned on via cjson.decode_array_with_array_mt(true). off by
default.

Signed-off-by: Yichun Zhang (agentzh) &lt;agentzh@gmail.com&gt;
</content>
</entry>
<entry>
<title>feature: added new cjson.array_mt metatable to allow enforcing JSON array encoding.</title>
<updated>2017-11-16T04:41:57+00:00</updated>
<author>
<name>Thibault Charbonnier</name>
<email>thibaultcha@me.com</email>
</author>
<published>2017-07-09T04:54:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=5f9efa4829a72935ddcd40c7da6b1a9e10939b65'/>
<id>urn:sha1:5f9efa4829a72935ddcd40c7da6b1a9e10939b65</id>
<content type='text'>
Signed-off-by: Yichun Zhang (agentzh) &lt;agentzh@gmail.com&gt;
</content>
</entry>
<entry>
<title>travis: skipped the std lua 5.1 interpreter tests.</title>
<updated>2017-11-16T04:38:19+00:00</updated>
<author>
<name>Yichun Zhang (agentzh)</name>
<email>agentzh@gmail.com</email>
</author>
<published>2017-11-16T04:38:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=a9af7965219710ac1ec1e2bbf1a63eb77be622b7'/>
<id>urn:sha1:a9af7965219710ac1ec1e2bbf1a63eb77be622b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: now we use luajit to run the test suite.</title>
<updated>2017-11-16T04:23:23+00:00</updated>
<author>
<name>Yichun Zhang (agentzh)</name>
<email>agentzh@gmail.com</email>
</author>
<published>2017-11-16T04:23:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=efd56ddb9f4571afbd3232672efd7ff4da3beae5'/>
<id>urn:sha1:efd56ddb9f4571afbd3232672efd7ff4da3beae5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>travis-ci: run LuaJIT tests against openresty/luajit2 -b v2.1-agentzh.</title>
<updated>2017-05-29T18:13:35+00:00</updated>
<author>
<name>Thibault Charbonnier</name>
<email>thibaultcha@me.com</email>
</author>
<published>2017-05-26T17:42:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=bf7e15d1b341d04c4e06bc6fc1c4e2c37f29b1ab'/>
<id>urn:sha1:bf7e15d1b341d04c4e06bc6fc1c4e2c37f29b1ab</id>
<content type='text'>
Signed-off-by: Yichun Zhang (agentzh) &lt;agentzh@gmail.com&gt;
</content>
</entry>
<entry>
<title>bugfix: fixed a -Wsign-compare compiler warning.</title>
<updated>2017-04-10T18:01:23+00:00</updated>
<author>
<name>gnought</name>
<email>gnought@users.noreply.github.com</email>
</author>
<published>2017-04-10T10:31:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=9bfa7ea550762277c6fb1bc390415219acd6225b'/>
<id>urn:sha1:9bfa7ea550762277c6fb1bc390415219acd6225b</id>
<content type='text'>
Signed-off-by: Yichun Zhang (agentzh) &lt;agentzh@gmail.com&gt;
</content>
</entry>
<entry>
<title>bugfix: conditionally build luaL_setfuncs() function as the latest LuaJIT v2.1 already includes it. fixes #21.</title>
<updated>2017-04-05T22:51:37+00:00</updated>
<author>
<name>Datong Sun</name>
<email>dndx@idndx.com</email>
</author>
<published>2017-04-04T04:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=55d22ef3bc5f512a9dadd84fd85895824dad73d9'/>
<id>urn:sha1:55d22ef3bc5f512a9dadd84fd85895824dad73d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feature: supports MS C compiler older than VC2012.</title>
<updated>2017-01-31T20:17:37+00:00</updated>
<author>
<name>spacewander</name>
<email>spacewanderlzx@gmail.com</email>
</author>
<published>2017-01-31T05:09:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=fd35fd98035735bc91c55d14832461e41dd0e193'/>
<id>urn:sha1:fd35fd98035735bc91c55d14832461e41dd0e193</id>
<content type='text'>
Signed-off-by: Yichun Zhang (agentzh) &lt;agentzh@gmail.com&gt;
</content>
</entry>
<entry>
<title>bugfix: preserve 'empty_array_mt' behavior upon multiple loadings of the module.</title>
<updated>2016-12-18T04:14:47+00:00</updated>
<author>
<name>Thibault Charbonnier</name>
<email>thibaultcha@me.com</email>
</author>
<published>2016-12-17T02:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=a61d7840ba2d79df8cb73d8c864a99d0eb06d580'/>
<id>urn:sha1:a61d7840ba2d79df8cb73d8c864a99d0eb06d580</id>
<content type='text'>
Prior to this fix, when the module would be loaded several times
(by-passing `package.loaded`), the `lua_cjson_new` function would
override the `empty_array_mt` table in the registry with a new one.
Comparison for equality between those tables would then fail, and the
behavior would be broken.

This was discovered after loading `cjson` *and* `cjson.safe` in the same
application, resulting in two calls to `lua_cjson_new`.

Signed-off-by: Yichun Zhang (agentzh) &lt;agentzh@gmail.com&gt;
</content>
</entry>
</feed>
