The following is a quote from Macros: the Plan for Scala 3 from more than 3 years ago:
For instance, one will be able to define a macro annotation @json that adds a JSON serializer to a type.
Any idea how/if this is actually possible in Scala 3?
More generally, is there anything in Scala 3 that can provide "Macro Annotations" functionality? The following is a quote from Macro Annotations - Scala 2.13:
Unlike in the previous versions of macro paradise, macro annotations in 2.0 are done right in the sense that they: 1) apply not just to classes and objects, but to arbitrary definitions, 2) allow expansions of classes to modify or even create companion objects