resultlist element

Type: listResultWrapperDTO
Namespace: (default namespace)
XML Schema: ns0.xsd

Used to wrap Lists in an object if we would otherwise produce a JSON array instead of an object

We need to wrap a java.util.List before returning it from a resource so that the JSON array is actually received as a JSON object wrapping a JSON array

Example XML

<?xml version="1.0" encoding="UTF-8"?> <resultlist> <results> <!--custom xml--> </results> <results>...</results> <!--...more "results" elements...--> </resultlist>

Example JSON

{ "results" : [ { }, ... ] }