Why are non-compressed JsonProperty
s opaque base64 strings in the datastore console web UI?
#874
Labels
api: datastore
Issues related to the googleapis/python-ndb API.
Hi all! First off, as always, thank you all for maintaining ndb. Much appreciated!
Is your feature request related to a problem? Please describe.
I've always wondered why non-compressed
JsonProperty
s don't show up as human-readable JSON strings in https://console.cloud.google.com/datastore/entities . Is that intentional? That console is hugely useful, enough that I manually serialize JSON intoStringProperty
s so I can read them in it, but I'd obviously much rather useJsonProperty
.Reading the code, it just serializes the JSON and encodes as ASCII, and if I use
compressed=False
,BlobProperty
doesn't do anything else beyond that. But when I do eg:That property is visible in the web console as a
BLOB
with valueeyJ4IjoieSIsInoiOlszLDQsNV19
. Is this the web console's fault? Is there anything I can do to avoid that?Describe the solution you'd like
Web console shows
JsonProperty
values as human-readable (and ideally editable) serialized JSON.Thanks in advance!
The text was updated successfully, but these errors were encountered: