Reputation: 92725
My application deals with JSON metadata which can have any fields, not a defined structure. I want to store incoming JSON into google datastore as JSON objects.
I tried to save org.json.JSONObject
, but it does not work.
How to store JSON objects inside Google Datastore?
Upvotes: 1
Views: 1357
Reputation: 19835
Since you wont be able to query the json fields, just store it as a text string. Beware of entity maximum size.
Upvotes: 2