Giter Site home page Giter Site logo

Comments (3)

lauft avatar lauft commented on July 20, 2024 1

You are right, holidata's JSON output is not 100% valid JSON. However, the data format has its roots in the holiday files feature of Taskwarrior and Timewarrior which are the two main consumer of this output format.
So a correction here has to go hand in hand with an adaption of the respective refresh script in each project and a migration period/strategy.

from holidata.

papierukartka avatar papierukartka commented on July 20, 2024

Hey, sorry for the delayed response. Haven't realized that this was intentional and read https://holidata.net/formats/json/ just recently. Will take a look on how it's implemented in both Taskwarrior and Timewarrior and either bail out or send PR's respectively

from holidata.

lauft avatar lauft commented on July 20, 2024

The documentaion on holidata.net has been updated to clarify that the data in the "JSON format" is stored as a newline-delimited JSON (https://jsonlines.org). This decision was made on purpose and changing it to "standard JSON" would require to adapt every consumer (foremost Timewarrior and Taskwarrior, but there may be more) to this change. Regarding that the JSON Lines text file format is simple and easy to use, IMHO the effort to change the data to standard JSON is not worth the benefits.

Therefore (and also due to inactivity) I am closing this.

from holidata.

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.