explaingit

tencent/apijson

Analysis updated 2026-05-18

18,408JavaAudience · developerComplexity · 3/5Setup · easy

TLDR

A Java library that lets frontend clients query and modify databases directly via JSON requests, eliminating the need for custom backend API endpoints.

Mindmap

mindmap
  root((repo))
    What it does
      JSON-based queries
      Auto API docs
      No custom endpoints
    Key features
      Access control
      Multi-database support
      Security rules built-in
    Use cases
      Rapid frontend development
      Reduce backend workload
      Mobile app data access
    Tech stack
      Java ORM
      Relational databases
      Search engines
    Audience
      Frontend developers
      Backend teams
      Mobile developers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build mobile or web apps that fetch exactly the data they need without waiting for backend developers to write new API endpoints.

USE CASE 2

Reduce backend workload by letting frontend teams query databases directly with JSON requests and built-in security rules.

USE CASE 3

Automatically generate API documentation based on the JSON request structure without manual endpoint documentation.

What is it built with?

JavaORMSQLRelational databasesSearch enginesTime-series databases

How does it compare?

tencent/apijsonlmax-exchange/disruptorwilliamfiset/algorithms
Stars18,40818,33818,611
LanguageJavaJavaJava
Setup difficultyeasyeasyeasy
Complexity3/53/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
License could not be detected automatically. Check the repository's LICENSE file before use.

In plain English

APIJSON is a Java library that lets front-end developers (browsers, mobile apps, or other clients) query and write data from a database without requiring any custom backend API code. Instead of a backend developer writing a separate endpoint for each data request, the client sends a JSON-based request directly describing what data it wants, and APIJSON handles the query, security checks, and response, all automatically. The project describes itself as a "no-code ORM" (an ORM is a tool that maps database tables to code objects). It supports a wide range of databases including relational databases, search engines, time-series databases, and others. Alongside the Java reference implementation, community ports exist for several other programming languages. The library also generates API documentation automatically, since the structure of requests and responses is defined by the JSON format itself. Access control and security rules are built in, so developers can define which users or roles are allowed to read or modify which tables. The intended use case is reducing the workload for backend developers by letting front-end teams fetch exactly the data they need without waiting for new endpoints to be written, reviewed, and deployed.

Copy-paste prompts

Prompt 1
Show me how to set up APIJSON in a Java project and write a JSON query to fetch user data from a database.
Prompt 2
How do I define access control rules in APIJSON so that only certain users can read or modify specific database tables?
Prompt 3
Give me an example of how a frontend app would use APIJSON to query related data from multiple tables in a single JSON request.
Prompt 4
How does APIJSON handle security and prevent unauthorized database access from client-side requests?

Frequently asked questions

What is apijson?

A Java library that lets frontend clients query and modify databases directly via JSON requests, eliminating the need for custom backend API endpoints.

What language is apijson written in?

Mainly Java. The stack also includes Java, ORM, SQL.

What license does apijson use?

License could not be detected automatically. Check the repository's LICENSE file before use.

How hard is apijson to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is apijson for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub tencent on gitmyhub

Verify against the repo before relying on details.