summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/filter/to_nice_json.yml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/filter/to_nice_json.yml')
-rw-r--r--lib/ansible/plugins/filter/to_nice_json.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ansible/plugins/filter/to_nice_json.yml b/lib/ansible/plugins/filter/to_nice_json.yml
index bedc18ba..f40e22ca 100644
--- a/lib/ansible/plugins/filter/to_nice_json.yml
+++ b/lib/ansible/plugins/filter/to_nice_json.yml
@@ -23,8 +23,8 @@ DOCUMENTATION:
default: True
version_added: '2.9'
allow_nan:
- description: When C(False), strict adherence to float value limits of the JSON specification, so C(nan), C(inf) and C(-inf) values will produce errors.
- When C(True), JavaScript equivalents will be used (C(NaN), C(Infinity), C(-Infinity)).
+ description: When V(False), strict adherence to float value limits of the JSON specification, so C(nan), C(inf) and C(-inf) values will produce errors.
+ When V(True), JavaScript equivalents will be used (C(NaN), C(Infinity), C(-Infinity)).
default: True
type: bool
check_circular:
@@ -36,16 +36,16 @@ DOCUMENTATION:
default: True
type: bool
skipkeys:
- description: If C(True), keys that are not basic Python types will be skipped.
+ description: If V(True), keys that are not basic Python types will be skipped.
default: False
type: bool
notes:
- - Both I(vault_to_text) and I(preprocess_unsafe) defaulted to C(False) between Ansible 2.9 and 2.12.
- - 'These parameters to C(json.dumps) will be ignored, they are overriden for internal use: I(cls), I(default), I(indent), I(separators), I(sort_keys).'
+ - Both O(vault_to_text) and O(preprocess_unsafe) defaulted to V(False) between Ansible 2.9 and 2.12.
+ - 'These parameters to C(json.dumps) will be ignored, they are overridden for internal use: I(cls), I(default), I(indent), I(separators), I(sort_keys).'
EXAMPLES: |
# dump variable in a template to create a nicely formatted JSON document
- {{ docker_config|to_nice_json }}
+ {{ docker_config | to_nice_json }}
RETURN: