I'm trying to create JSON representations of my models in the datastore and 
then write them to a file in Cloud Storage in a MapperPipeline. 

The map method looks something like this:

def map_method(entity):
  json_message = make_json_message(entity)
  yield(json_message)


and the params for the output_writer look something like this:

"output_writer":{
            "filesystem": "gs",
            "gs_bucket_name": "json_export",
            "mime_type": "text/utf-8"
          }

The pipeline completes successfully, but the file I'm getting in Cloud 
Storage seems to be in a binary format.

How do I get a JSON file out that I can read?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to