I have an attribute that I'm storing as a JSON object, like so:
content = ndb.JsonProperty()
When I do this, I get this error:
line 1614, in _to_base_type
return json.dumps(value, 2)
AttributeError: 'module' object has no attribute 'dumps'
inside the ndb model class.
As a ndb.TextProperty it works properly. Maybe I'm sending the JSON wrong, this is the JSON object I'm sending:
{posttext: "What is your earliest memory of WWII?", linkdata: ""}