help me with a nbt

Hi, does anyone know how to apply the nbt "hideFlags" to an item using the /item modify command with a datapack? Could it be with a json file like function": "minecraft:set_nbt?
Continue to help post