public void compose(JsonCreator writer, Resource resource) throws IOException {
    json = writer;
    composeResource(resource);
  }
public void compose ( JsonCreator writer , Resource resource ) throws IOException { json = writer ; composeResource ( resource ) ; }
Compose a resource using a pre-existing JsonWriter
@throws IOException