Skip to content

how to deep marshal the block to JSON in fabric-protos-go-apiv2  #577

@1gezhanghao

Description

@1gezhanghao

In fabric-protos-go v1,we can use github.com/hyperledger/fabric-config/protolator to DeepMarshalJSON a block

protolator.DeepMarshalJSON(&buffer, block)

In fabric-protos-go-apiv2 , how to Deep Marshal a block to json?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions