Open jong opened 7 years ago
When trying to dump a LogMeta object to a JSON string, it errors because LogMeta objects subclass Mapping, not dict, which the json module does understand how to format into a JSON string.
LogMeta
Mapping
dict
json
Using Mapping instead of something like dict was intentional - log meta should be read-only.
When trying to dump a
LogMeta
object to a JSON string, it errors becauseLogMeta
objects subclassMapping
, notdict
, which thejson
module does understand how to format into a JSON string.