I wanna include only the primary key from all classes.
The include method in json representation not accept include a child property directly.
e.g
result.use(json()).include("myObj.id").serialize();
if I include the root property, all properties will be serializeds, unnecessarily
I think that should be cool have this feature, generating more light jsons without excluding individuals properties.
What do you think? Is it viable?
I wanna include only the primary key from all classes.
The include method in json representation not accept include a child property directly.
e.g
if I include the root property, all properties will be serializeds, unnecessarily
I think that should be cool have this feature, generating more light jsons without excluding individuals properties.
What do you think? Is it viable?