Implements JSON serializer.
It's just a wrapper around json (or simplejson if available).
salt.serializers.json.
deserialize
(stream_or_string, **options)¶Deserialize any string or stream like object into a Python data structure.
参数: |
|
---|
salt.serializers.json.
serialize
(obj, **options)¶Serialize Python data to JSON.
参数: |
|
---|