Debian Codegraph @

lib/ansible/parsing/ajson.py

raw
1 # Copyright: (c) 2018, Ansible Project
2 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
3
4 from __future__ import annotations as _annotations
5
6 # from ansible.utils.display import Display as _Display
7 #
8 #
9 # deprecated: description='deprecate ajson' core_version='2.23'
10 # _Display().deprecated(
11 # msg='The `ansible.parsing.ajson` module is deprecated.',
12 # version='2.27',
13 # help_text="", # DTFIX-FUTURE: complete this help text
14 # )
15
16 # Imported for backward compat
17 from ansible.module_utils.common.json import ( # pylint: disable=unused-import
18 _AnsibleJSONEncoder as AnsibleJSONEncoder,
19 _AnsibleJSONDecoder as AnsibleJSONDecoder,
20 )