parent
871d3d8945
commit
f99ffb5620
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ Dumping the same structure to YAML
|
||||||
|
|
||||||
Dumping the same structure to JSON, but don't pretty print
|
Dumping the same structure to JSON, but don't pretty print
|
||||||
|
|
||||||
["this is a list element", {"this": "is a hash element in a list", "where": "endor", "warp": 9}]
|
["this is a list element", {"this": "is a hash element in a list", "warp": 9, "where": "endor"}]
|
||||||
|
|
||||||
Dumping the same structure to YAML, but don't pretty print
|
Dumping the same structure to YAML, but don't pretty print
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ Dumping the same structure to YAML
|
||||||
|
|
||||||
Dumping the same structure to JSON, but don't pretty print
|
Dumping the same structure to JSON, but don't pretty print
|
||||||
|
|
||||||
{{ some_structure | to_json }}
|
{{ some_structure | to_json(sort_keys=true) }}
|
||||||
|
|
||||||
Dumping the same structure to YAML, but don't pretty print
|
Dumping the same structure to YAML, but don't pretty print
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue