Flatten JSON is an simple REST API which takes a JSON object as input and parses into a key/value string. Here the key will have the full path for the field separated by .(dot). API is built on AWS with Lambda Function(Python), API Gateway, Custom Domain Mapping. Implementation flow details can be found here.
Detailed blog with more details on this implementation to follow.
Please find the API details below.
You can invoke this service using Postman, Please see below image for an example.
- Currently returns “application/json”, will be enhanced to return “text/plain” also.
- Disclaimer : This API logs all incoming requests, So please don’t send any confidential information.
- Service runs on free tier of AWS, So please avoid duplicate calls to keep the service alive.