|
|
|
Show HN: API for CRUD-ing JSON data
(github.com)
|
|
4 points
by tiemster
266 days ago
|
|
For purely selfish needs, I created a self-hosted API for CRUD-ing JSON data in GO. Optimized for simplicity and interoperability. Perfect for small personal projects. The API is based on your JSON structure. So the example below is for CRUD-ing [key1][key2] in file.json. The value (which can be anything) is then added to the body of the request. Moreover, there are helper functions for appending and incrementing values. DELETE/PUT/GET: /api/file/key1/key2/...
|
|