More examples:
Hover provider example
Monaco editor for JSON:
Monaco editor for YAML: