File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -66,30 +66,5 @@ <h2>CIDs in CBOR</h2>
6666 For more information, see the [[cbor-tag42]] appendix to the [[drisl]] specification.
6767 </ p >
6868 </ section >
69- < section >
70- < h2 > Debugging Considerations</ h2 >
71- < p >
72- It is often convenient to represent DRISL in textual formats for debugging
73- purposes.
74- </ p >
75- < p >
76- One common convention for debugging DRISL data in JSON is to use a JSON profile called DAG-JSON.
77- This profile can be translated to JSON using standard CBOR-JSON translation, but CBOR bytestrings will be represented as
78- < code > "/": { "bytes": String * base64-encoded * }</ code >
79- and tag-42 DRISL CIDs (whose values in CBOR are also bytestrings) will be represented as:
80- < code > "/": String * base58btc-encoded *</ code > .
81- Note that legacy DAG-CBOR data MAY include a base32-encoded variant of older CIDs, which are not DRISL CIDs.
82- </ p >
83- < p >
84- Another option more native to CBOR (and more useful for debugging problems at the CBOR conformance layer) is
85- < a href ="https://datatracker.ietf.org/doc/draft-ietf-cbor-edn-literals/ "> CBOR
86- Extended Diagnostic Notation</ a > .
87- </ p >
88- < p >
89- In any case, note that the CIDs used in such debugging outputs that may
90- point to < em > other</ em > parts of the debugging output should be the CIDs
91- of the DRISL content, not of the debugging resources.
92- </ p >
93- </ section >
9469 </ body >
9570</ html >
You can’t perform that action at this time.
0 commit comments