Serializes struct with @required attributes fields to Json <br>
Example
struct S { @required int a = 1; //will be used @possible int b = 2; //will be ignored int c; //will be ignored } writeln(serializeRequiredToJson(S())); // { "a":1 }
See Implementation
Serializes struct with @required attributes fields to Json <br>
Example