...
Problem Statement | Possible Solutions | Sub-Tasks | Notes/Comments | Pros/Cons | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Add support for JSON data with multiple top level nodes. Refer:
| Identify the top-level data nodes in the JSON and then iterate over them and store them individually one by one in using Create node endpoint |
| Pros: No changes to current payload Cons:
| |||||||||
Use JSON array and store the JSON array in CPS DB using Create node endpoint |
Sample:
|
| Pros: Minimal code change (approach will require us to iterate over multiple data trees passed as JSON array) Cons:
|
...