json filter: update docs (#84989)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
Co-authored-by: Matt Clay <matt@mystile.com>
pull/84655/head
Abhijeet Kasurde 5 months ago committed by GitHub
parent d19366331f
commit 34f2f39abe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -23,8 +23,9 @@ DOCUMENTATION:
default: True default: True
version_added: '2.9' version_added: '2.9'
allow_nan: allow_nan:
description: When V(False), strict adherence to float value limits of the JSON specifications, so C(nan), C(inf) and C(-inf) values will produce errors. description:
When V(True), JavaScript equivalents will be used (C(NaN), C(Infinity), C(-Infinity)). - When V(False), out-of-range float values C(nan), C(inf) and C(-inf) will result in an error.
- When V(True), out-of-range float values will be represented using their JavaScript equivalents, C(NaN), C(Infinity) and C(-Infinity).
default: True default: True
type: bool type: bool
check_circular: check_circular:
@ -42,8 +43,11 @@ DOCUMENTATION:
separators: separators:
description: The C(item) and C(key) separator to be used in the serialized output, description: The C(item) and C(key) separator to be used in the serialized output,
default may change depending on O(indent) and Python version. default may change depending on O(indent) and Python version.
default: "(', ', ': ')" default:
type: tuple - ', '
- ': '
type: list
elements: str
skipkeys: skipkeys:
description: If V(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 default: False

@ -23,8 +23,9 @@ DOCUMENTATION:
default: True default: True
version_added: '2.9' version_added: '2.9'
allow_nan: allow_nan:
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. description:
When V(True), JavaScript equivalents will be used (C(NaN), C(Infinity), C(-Infinity)). - When V(False), out-of-range float values C(nan), C(inf) and C(-inf) will result in an error.
- When V(True), out-of-range float values will be represented using their JavaScript equivalents, C(NaN), C(Infinity) and C(-Infinity).
default: True default: True
type: bool type: bool
check_circular: check_circular:

Loading…
Cancel
Save