![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | to_json_str |
def | from_json_str |
Simple, stateless json utilities mixin. Requires class to implement two methods: to_json(self): convert data to json-compatible datastructure (dict, list, strings, numbers) @classmethod from_json(cls, json): load data from json-compatible structure.
def google.appengine.ext.mapreduce.json_util.JsonMixin.from_json_str | ( | cls, | |
json_str | |||
) |
Convert json string representation into class instance. Args: json_str: json representation as string. Returns: New instance of the class with data loaded from json string.
def google.appengine.ext.mapreduce.json_util.JsonMixin.to_json_str | ( | self | ) |
Convert data to json string representation. Returns: json representation as string.