MCPcopy Index your code
hub / github.com/chain/Core / toJson

Method toJson

sdk/java/src/main/java/com/chain/api/Receiver.java:37–39  ·  view source on GitHub ↗

Serializes the receiver into a form that is safe to transfer over the wire. @return the JSON-serialized representation of the Receiver object

()

Source from the content-addressed store, hash-verified

35 * @return the JSON-serialized representation of the Receiver object
36 */
37 public String toJson() {
38 return Utils.serializer.toJson(this);
39 }
40
41 /**
42 * Deserializes a Receiver from JSON.

Callers 6

mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
testReceiversMethod · 0.80
postMethod · 0.80
asJsonBlobMethod · 0.80

Calls

no outgoing calls

Tested by 1

testReceiversMethod · 0.64