Home | History | Annotate | Download | only in cros

Lines Matching refs:json

5 import json
221 @param policies_json: JSON string to set up the fake DMS policy value.
279 chrome://policies page. Before comparing, convert both values to JSON
286 @param policies_json: JSON string to set up the fake DMS policy value.
291 # Convert Python None or '' to JSON formatted 'null' string.
305 """Create policy blob from policies JSON object.
307 @param policies_json: Policies JSON object (name-value pairs).
321 }""" % (json.dumps(policies_json), self.USERNAME)
332 @param policies_json: The policy JSON data (name-value pairs).
368 @param policies_json: setup policy JSON data (name-value pairs).
369 @returns: setup policy JSON data with all 'Not set' policies removed.
434 """Convert policy value to a JSON formatted string.
437 @returns: string in JSON format.
439 return json.dumps(policy_value)