Include JSON object in YAML
If you are using YAML you might want to include a JSON object in your file. Here are two ways to do that : For a big object You can use this notation with a “>” students: > [{“name”:”Dupont”,”firstname”:”Marie”,”age”:19}, [{“name”:”Smith”,”firstname”:”John”,”age”:18}, [{“name”:”Doe”,”firstname”:”Janne”,”age”:19}] You can also use the pipe “|” students: | [{“name”:”Dupont”,”firstname”:”Marie”,”age”:19}, [{“name”:”Smith”,”firstname”:”John”,”age”:18}, [{“name”:”Doe”,”firstname”:”Janne”,”age”:19}] For a …