#631 - Partial Response : Add java doc

This commit is contained in:
Gopinath Langote
2017-09-14 21:50:40 +05:30
parent 6d3dce065d
commit c89bf0eb44
4 changed files with 38 additions and 9 deletions

View File

@ -24,7 +24,16 @@
package com.iluwatar.partialresponse;
/**
* Map a video to json
*/
public class FieldJsonMapper {
/**
* @param video object containing video information
* @param fields fields information to get
* @return json of required fields from video
*/
public String toJson(Video video, String[] fields) {
return null;
}