public interface FetchPlanSerialization
Modifier and Type | Method and Description |
---|---|
FetchPlan |
fromJson(java.lang.String json)
Deserializes a JSON object to fetch plan.
|
java.lang.String |
toJson(FetchPlan fetchPlan,
FetchPlanSerializationOption... options)
Serializes a fetch plan to JSON object
|
FetchPlan fromJson(java.lang.String json)
FetchPlanSerializationOption.COMPACT_FORMAT
option.json
- JSON objects that represents the fetch planjava.lang.String toJson(FetchPlan fetchPlan, FetchPlanSerializationOption... options)
fetchPlan
- a fetchPlanoptions
- options specifying how a JSON object graph should be serialized