Este contenido no está disponible en el idioma seleccionado.
15.15. YAML Provider
RESTEasy comes with built in support for YAML using the
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
SnakeYAML library. To enable YAML support, you must insert the following dependencies into the project pom file of your application:
YAML provider recognizes three mime types:
- text/x-yaml
- text/yaml
- application/x-yaml
The following example demonstrates how to use YAML in a resource method:
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow