Package com.jwplayer.pub.api.testing
Class CueMarkerJsonHelper
- java.lang.Object
-
- com.jwplayer.api.json.helpers.CueMarkerJsonHelper
-
- com.jwplayer.pub.api.testing.CueMarkerJsonHelper
-
- All Implemented Interfaces:
com.jwplayer.api.json.JsonListMarshaller<CueMarker>
,com.jwplayer.api.json.JsonListParser<CueMarker>
,com.jwplayer.api.json.JsonMarshaller<CueMarker>
,com.jwplayer.api.json.JsonParser<CueMarker>
public class CueMarkerJsonHelper extends com.jwplayer.api.json.helpers.CueMarkerJsonHelper
-
-
Constructor Summary
Constructors Constructor Description CueMarkerJsonHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CueMarker>
listFromJson(java.lang.String json)
java.util.List<CueMarker>
listFromJson(org.json.JSONArray jsonArray)
CueMarker
parseJson(java.lang.String json)
CueMarker
parseJson(org.json.JSONObject json)
org.json.JSONObject
toJson(CueMarker cueMarker)
org.json.JSONArray
toJsonArray(java.util.List<CueMarker> list)
-
-
-
Method Detail
-
toJson
public org.json.JSONObject toJson(CueMarker cueMarker)
- Specified by:
toJson
in interfacecom.jwplayer.api.json.JsonMarshaller<CueMarker>
- Overrides:
toJson
in classcom.jwplayer.api.json.helpers.CueMarkerJsonHelper
-
parseJson
public CueMarker parseJson(java.lang.String json) throws org.json.JSONException
- Specified by:
parseJson
in interfacecom.jwplayer.api.json.JsonParser<CueMarker>
- Overrides:
parseJson
in classcom.jwplayer.api.json.helpers.CueMarkerJsonHelper
- Throws:
org.json.JSONException
-
parseJson
public CueMarker parseJson(org.json.JSONObject json) throws org.json.JSONException
- Specified by:
parseJson
in interfacecom.jwplayer.api.json.JsonParser<CueMarker>
- Overrides:
parseJson
in classcom.jwplayer.api.json.helpers.CueMarkerJsonHelper
- Throws:
org.json.JSONException
-
listFromJson
public java.util.List<CueMarker> listFromJson(java.lang.String json)
- Specified by:
listFromJson
in interfacecom.jwplayer.api.json.JsonListParser<CueMarker>
- Overrides:
listFromJson
in classcom.jwplayer.api.json.helpers.CueMarkerJsonHelper
-
listFromJson
public java.util.List<CueMarker> listFromJson(org.json.JSONArray jsonArray)
- Specified by:
listFromJson
in interfacecom.jwplayer.api.json.JsonListParser<CueMarker>
- Overrides:
listFromJson
in classcom.jwplayer.api.json.helpers.CueMarkerJsonHelper
-
-