Closed c-mita closed 5 months ago
The to_json and to_proto methods on struct are deprecated and will be removed. The "json" and "proto" builtin modules should be used instead.
This replaces instances of foo.to_json() with json.encode(foo).
foo.to_json()
json.encode(foo)
The to_json and to_proto methods on struct are deprecated and will be removed. The "json" and "proto" builtin modules should be used instead.
This replaces instances of
foo.to_json()
withjson.encode(foo)
.