Is it possible to achieve a nested object structure of JSON response using Editor?
Is it possible to achieve a nested object structure of JSON response using Editor?
bobhassanster
Posts: 16Questions: 5Answers: 1
in Editor
Link to test case: https://demos.themeselection.com/sneat-bootstrap-html-admin-template/html/vertical-menu-template-dark/app-access-permission.html
Description of problem: I am trying to achieve this structure of JSON response using editor from a table (role, permiss)?
(3,Admin)
(3,Manager)
{
"id": 3,
"name": "Add & Remove Users",
"assigned_to": [
"Admin",
"Manager"
]
}
Thanks.
Answers
Do you mean to allow Editor to handle this sort of response from the server (rather than the
data
array), or do you mean you want to submit data as JSON rather than HTTP parameters?Allan
Yes using Editor to retrieve the response from the server, the Link test is using just a json file but me i want to have the Data from the server using Editor. Thank you.
The reason why is to apply this render to the second column: