Markup Languages


I was looking into Swagger YAML and saw that it had a very simplified markup using just colons and indentation for describing hierarchical information. The evolution from XML -> JSON -> YAML shows that transition from more formal and explicit XML to more informal looking YAML.


servers:
  - url: http://api.example.com/v1
    description: Optional server description, e.g. Main (production) server
  - url: http://staging-api.example.com
    description: Optional server description, e.g. Internal staging server for testing


YAML vs XML vs JSON

Comments

Popular posts from this blog

Developer Productivity

Oracle SQL JSON construct JSON Object

Google Android Demo