NBT Syntax in MCPE [duplicate]

Solution 1:

MCPE uses JSON syntax instead of NBT:

/give @p iron_shovel 1 0 {"can_destroy":{"blocks":["dirt"]}}
/give @p dirt 1 0 {"can_place_on":{"blocks":["grass"]}}

Original post (From beta)