I am doing development on python and GAE,
When I try to use ProtoRPC for web service, I cannot find a way to let my request contain a json format data in message. example like this:
request format:
{"owner_id":"some id","jsondata":[{"name":"peter","dob":"1911-1-1","aaa":"sth str","xxx":sth int}, {"name":...}, ...]}'
python:
class some_function_name(messages.Message):
owner_id = messages.StringField(1, required=True)
jsondata = messages.StringField(2, required=True) #is there a json field instead of StringField?
any other suggestion?