Reputation: 92905
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: 1360
Reputation: 19864
Since you wont be able to query the json fields, just store it as a text string. Beware of entity maximum size.
Upvotes: 2