IOTA SDKAPI ReferenceWASM/TypeScriptTypesFunction: commandToJson()On this pageFunction: commandToJson() function commandToJson(data): string; Convert this type to JSON encoded string. Parameters data CommandLike Returns stringGive Feedback