A python based JSON analyzer and transformation generator/assistant.
Test in action @ http://optimus.milankoelen.com/
- List all JSON fields and nested fields
- List all Arrays in json
- List all fields with pottential empty objects
- Make and analyze request
- Create mongodb transformation pipeline
GET /ping"Pong"
GET /| Parameter | Type | Description |
|---|---|---|
message |
string |
Hello World |
POST /fieldsExpects: JSON object or array
Provide raw json and returns all fields and arrays found.
| Parameter | Type | Description |
|---|---|---|
arrays |
array |
List of arrays found in the provided JSON |
fields |
array |
List of fields found in the provided JSON (in dotnotation and deduplicated) |
POST /flattenExpects: JSON object or array
Returns flatten json object from first object in array.
| Parameter | Type | Description |
|---|---|---|
JSON |
object |
1 level deep JSON object with all nested fields on top level (dotnotation and deduplicated) |
POST /transformExpects: JSON object or array
Returns mongo aggregation and transformation pipeline of the provided json
| Parameter | Type | Description |
|---|---|---|
unwind |
array |
All unwinded fields in array |
project |
array |
entire project stage for every field found |
Server: Python, Flask, Flask-limiter