M
M
mindgrow2020-12-11 15:57:19
Documentation
mindgrow, 2020-12-11 15:57:19

What are the ways to document JSON/XML structures?

Please tell me a convenient way that allows you to maintain documentation on the xml / json contract, namely
- view / edit the hierarchical structure in the form of a tree
- indicate the value type of each node
- enter documentation for each node; node description can take several paragraphs

. What practices do you use? What can you advise?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey delphinpro, 2020-12-11
@delphinpro

If you focus on the tag ajax, then you can assume that we are talking about API responses. The same OpenAPI allows you to describe, among other things, the structure of json responses.

S
Saboteur, 2020-12-11
@saboteur_kiev

https://en.wikipedia.org/wiki/SOAP isn't it?

C
ComodoHacker, 2020-12-12
@ComodoHacker

For XML, there has been XML Schema for a long time, for JSON they made an analogue - JSON Schema.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question