관리-도구
편집 파일: jsonify.cpython-39.opt-1.pyc
a �)g� � @ s. d dl mZmZmZ eZd dlZddd�ZdS )� )�absolute_import�division�print_functionNFc C sT | du rdS d}|rd}zt j| d|dd�W S tyN t j| d|d� Y S 0 dS )z3 format JSON output (uncompressed or uncompressed) Nz{}� TF)� sort_keys�indentZensure_ascii)r r )�json�dumps�UnicodeDecodeError)�result�formatr � r �A/usr/lib/python3.9/site-packages/ansible/parsing/utils/jsonify.py�jsonify s r )F)Z __future__r r r �typeZ __metaclass__r r r r r r �<module> s