Flexibel JSON
Flexibel JSON
![nessinits](https://secure.gravatar.com/avatar/1eee71196bec1ed4af10cd781a4df33d/?default=https%3A%2F%2Fvanillicon.com%2F1eee71196bec1ed4af10cd781a4df33d_200.png&rating=g&size=120)
Got a question,perhaps a request:
Currently the JSON structure is fixed: {"data":[],"options":[],"files":[]}
Is it possible to add parts to the current JSON structure, like this: {"data":[],"options":[],"files":[],"messages":["Notification"]}
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Absolutely! Are you using the PHP libraries? You can use the
Editor->data()
method to get the data structure and then modify it as you wish before sending it to the client-side:The .NET and NodeJS libraries have a similar data method on the
Editor
class.Allan