Before I write anything on my own... Hello
There is this convenient .json extension which produces a JSON serialization of any given resource in Sling.
What would be a "best practice" if I only wanted a subset of all properties to be serialized on the json stream? That is, I would like to provide a "positive" list (lists all props to be exported) or a "negative" one (props to be excluded).
Example: I have props a, b and c on a given node/resource and only a and c should appear on the output.
Thanks for any pattern hint Juerg