// Write "next" link.
// To be compatible with other implementations out there, the link is
// written directly after "__next" and not as "{"uri":"next link"}",
// deviating from the OData 2.0 specification.
if (properties.getNextLink() != null) {
jsonStreamWriter.separator()
.namedStringValue(FormatJson.NEXT, properties.getNextLink());
}
if (isRootElement) {
jsonStreamWriter.endObject();