as-json
as-json copied to clipboard
Compile Time check for json decorator
Right now a class decorated with @json
containing fields which might not have types whose declaration have @json
decorator panics at the runtime. Is there any way to have this check at compile time so that compiler can exactly point to the field which does not have @json
decorator in it's declaration.