json-api VS docco

Compare json-api vs docco and see what are their differences.

json-api

A specification for building JSON APIs (by json-api)

docco

Literate Programming can be Quick and Dirty. (by jashkenas)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
json-api docco
59 4
7,314 3,542
0.5% -
4.9 0.0
8 days ago 5 months ago
CSS HTML
Creative Commons Zero v1.0 Universal GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

json-api

Posts with mentions or reviews of json-api. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-22.
  • Hatchify: The Fastest Way to Build JSON: APIs
    2 projects | dev.to | 22 Mar 2024
    In addition to saving you time on boilerplate, the API provided by Hatchify fully implements the JSON: API specification, which stipulates solid standards to define the peculiarities of CRUD REST APIs. Get back all the time spent bike-shedding how to implement standard API features like filtering, pagination, including related data, etc. JSON: API offers consistent practices for frontend and backend developers to agree on how resources are fetched and returned. Since Hatchify provides the core of your API for you, you can count on it’s standardized functionality to give your API a consistent start.
  • SQL as API
    7 projects | news.ycombinator.com | 25 Dec 2023
  • Show HN: Sunnybox – An Email API for Effortless IMAP Integration
    2 projects | news.ycombinator.com | 21 Dec 2023
    -JSON:API format responses (https://jsonapi.org) for better standardization.

    Built using Ruby on Rails, Sunnybox is designed to offer a powerful yet easy-to-use solution for developers managing email systems.

    I'd really appreciate your feedback on:

    - The API's user-friendliness and efficiency.

  • What if an SQL Statement Returned a Database?
    4 projects | news.ycombinator.com | 12 Dec 2023
    https://github.com/json-api/json-api/issues/795

    There is an atomic operations extension:

  • A View on Functional Software Architecture
    5 projects | dev.to | 10 Dec 2023
    JSON:API to format each message
  • Custom Fields: Give Your Customers the Fields They Need
    1 project | dev.to | 6 Dec 2023
    As we’re building a RESTful API that’s formatted by the JSON:API specification and store our data in a MySQL8 relational database, a few things were pretty straightforward – we need a new model and we’ll name it Custom Field (naming wasn’t an issue here 🥲).
  • How to (and how not to) design REST APIs
    3 projects | news.ycombinator.com | 1 Nov 2023
    I found json api spec[1] recently. This kind of is better standard for REST APIs. It is bit rough to handle client side but once you get the hang of it, it is breeze to use

    [1] https://jsonapi.org/

  • Building a Secure RESTful API Using NestJS and Prisma With Minimum Code
    5 projects | dev.to | 6 Sep 2023
    That's it! Now we have a complete set of RESTful CRUD APIs at "/api/zen" that conforms to the JSON:API specification, and the access policies fully protect the APIs. The API provides rich filtering and relation-fetching capabilities. The following are some examples; you can find more details here.
  • JSON Schema Store
    5 projects | news.ycombinator.com | 20 Aug 2023
    Does this have any relation to https://jsonapi.org/ ?
  • An Introduction to APIs
    2 projects | news.ycombinator.com | 30 Jul 2023
    Basic REST and JSON RPC are very simple to start with, but have common problems when application gets bigger. How do you represent relations, pagination, filtering etc? My go-to specification for structuring JSON documents is https://jsonapi.org/ It covers most basic needs of a standard API.

docco

Posts with mentions or reviews of docco. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-20.
  • Ask HN: Show Code with Notes Alongside
    1 project | news.ycombinator.com | 9 Apr 2023
    i have seen those in annotated javascript documentation. but it was the other way around. (comment on the left, and code on the right).

    they all seem to use docco[0] with the option to display comment in "parallel". the author of docco used it in their library underscore[1].

    [0]: https://github.com/jashkenas/docco

  • Docco is a quick-and-dirty documentation generator
    1 project | news.ycombinator.com | 20 Jul 2022
  • Lisp.py
    4 projects | news.ycombinator.com | 20 Jul 2022
    Side note - it's been a while since i've seen a Docco-style annotated-source-style documentation! http://ashkenas.com/docco/

    Backbone.js was the first time i saw it, and I loved it! https://backbonejs.org/docs/backbone.html It demonstrated to me that the libraries I use are just normal code that other people write, and i myself can read it to understand a problem.

  • CSS Deep
    2090 projects | dev.to | 26 Feb 2021
    jashkenas/docco - Literate Programming can be Quick and Dirty.

What are some alternatives?

When comparing json-api and docco you can also consider the following projects:

NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

documentation.js - :book: documentation for modern JavaScript

api-guidelines - Microsoft REST API Guidelines

ESDoc - ESDoc - Good Documentation for JavaScript

laravel-json-api - JSON API (jsonapi.org) package for Laravel applications.

sphinx - The Sphinx documentation generator

apollo - 🚀 Apollo/GraphQL integration for VueJS

jsduck - Simple JavaScript Duckumentation generator.

grpcurl - Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

dox - JavaScript documentation generator for node using markdown and jsdoc

grpc-swift - The Swift language implementation of gRPC.

JSDoc - An API documentation generator for JavaScript.