GithubHelp home page GithubHelp logo

Comments (4)

alerque avatar alerque commented on June 20, 2024

There are several good options for JSON libraries available in the Lua ecosystem, including pure Lua variants. There are several trade offs to be made and different ones might be better for different projects (e.g. for my use cases the C based faster ones are typically better). I don't think re-inventing that wheel in this project would be particularly beneficial.

from penlight.

tst2005 avatar tst2005 commented on June 20, 2024

IMHO, XML/JSON/YAML/etc are a full time job to maintain.
I recommend to discuss and list one or multiple projects that we can recommend to people needs them.

About json, as pure Lua solution, I recommend lunajson against the most known dkjson (see benchmarks)

from penlight.

alerque avatar alerque commented on June 20, 2024

One could argue than if JSON is one full time job then YAML is a dedicated team and XML is a department. We're already dropping our home grown XML things for related reasons, I don't think we need to make that mistake twice.

But yes, your references on replacements are good. dkjson for flexibility to go with C based LPEG or pure Lua (and for it's penetration into existing projects, but if you know exactly what you need and why cjson for speed or lunajson for pure Lua are good recommendations.

from penlight.

Tieske avatar Tieske commented on June 20, 2024

I feel the same, we’re about to drop XML from penlight. So adding JSON would not make sense imo.

Let’s close this.

from penlight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.