News for hackers. Stuff that matters.
Re:Lua is a viable alternative for JSON by chfritz on Saturday November 04, 2023 @12:33PM (#38142584)
Lua is a programming language, JSON a data serialization format. Aren't those apples and oranges? What am I not getting?
Re:Lua is a viable alternative for JSON by Rochus on Saturday November 04, 2023 @01:44PM (#38143357)
Lua started out as a configuration language (see the 2007 HOPL III paper) and still includes all required features to represent configuration information (or a data serialization format, as you put it), partly even more elegantly than JSON. And it is also is a programming language, which might raise security concerns when using it in a configuration-only application (where JSON is not critical because it is not a full programming language).