How can I make a CanDestroy tool on Minecraft Bedrock Edition? [duplicate]

In MCBE, you can not directly use {CanDestroy:["minecraft:diamond_ore"]}. Use instead:

/give @p minecraft:iron_pickaxe 1 0 {"minecraft:can_destroy":{"blocks":["diamond_ore"]}}

which used a JSON like syntax on that.