In a large mixing bowl, beat the softened butter and sugar together until light and fluffy, about 2–3 minutes.
Mix in the egg and vanilla extract, beating until well combined.
In a separate bowl, whisk together the flour, baking soda, and salt. Gradually add the dry ingredients to the wet mixture, mixing until just combined.
Gently swirl in raspberry jam (do not overmix if you want visible ribbons of jam). Optionally fold in crushed freeze-dried raspberries for added flavor and texture. Drop spoonfuls of dough onto a lined baking sheet. Bake at 350°F (175°C) for 10–12 minutes, or until edges are lightly golden. Cool on a wire rack.