Injects the json.Marshaller interface to the protobuf generated code, so that they can be properly marshalled to JSON using jsonpb.
It is only used for statements so far, as they are the only protobuf objects directly translated to json.
Manifests will also use the trick once they are integrated in mcnode/mcdir, in a subsequent PR.
Injects the json.Marshaller interface to the protobuf generated code, so that they can be properly marshalled to JSON using jsonpb. It is only used for statements so far, as they are the only protobuf objects directly translated to json. Manifests will also use the trick once they are integrated in mcnode/mcdir, in a subsequent PR.
The change is obvious in query output. Compare: