REST API frameworks using Links Notation (LINO) instead of JSON.
This repository provides proof-of-concept implementations of REST API frameworks that use Links Notation for data serialization instead of JSON. Links Notation is a human-readable format for describing data using references and links.
- JavaScript/Bun - Express.js-based implementation for Node.js and Bun
- Python - FastAPI-based implementation
import { createLinoApp } from "lino-rest-api";
const app = createLinoApp();
app.get("/hello", () => {
return { message: "Hello, Links Notation!" };
});
app.listen(3000);from lino_rest_api import LinoAPI
api = LinoAPI()
@api.get("/hello")
def hello():
return {"message": "Hello, Links Notation!"}LINO APIs use text/lino as the content type for requests and responses.
- links-notation - Core Links Notation library
- link-notation-objects-codec - Object encoding/decoding for Links Notation
- test-anywhere - Universal testing framework