import std.stdio; auto s = `{"from": "useraccount1", "to": "useraccount2", "quantity": "0.0001 EOS", "memo": ""}`; void main () { foreach (ref c; s) { writef ("%x%x", (c / 16), (c % 16)); } }
Standard input is empty
7b2266726f6d223a2022757365726163636f756e7431222c2022746f223a2022757365726163636f756e7432222c20227175616e74697479223a2022302e3030303120454f53222c20226d656d6f223a2022227d