Class 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 Detail

      • CueMarkerJsonHelper

        public CueMarkerJsonHelper()
    • Method Detail

      • toJson

        public org.json.JSONObject toJson​(CueMarker cueMarker)
        Specified by:
        toJson in interface com.jwplayer.api.json.JsonMarshaller<CueMarker>
        Overrides:
        toJson in class com.jwplayer.api.json.helpers.CueMarkerJsonHelper
      • parseJson

        public CueMarker parseJson​(java.lang.String json)
                            throws org.json.JSONException
        Specified by:
        parseJson in interface com.jwplayer.api.json.JsonParser<CueMarker>
        Overrides:
        parseJson in class com.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 interface com.jwplayer.api.json.JsonParser<CueMarker>
        Overrides:
        parseJson in class com.jwplayer.api.json.helpers.CueMarkerJsonHelper
        Throws:
        org.json.JSONException
      • listFromJson

        public java.util.List<CueMarker> listFromJson​(java.lang.String json)
        Specified by:
        listFromJson in interface com.jwplayer.api.json.JsonListParser<CueMarker>
        Overrides:
        listFromJson in class com.jwplayer.api.json.helpers.CueMarkerJsonHelper
      • listFromJson

        public java.util.List<CueMarker> listFromJson​(org.json.JSONArray jsonArray)
        Specified by:
        listFromJson in interface com.jwplayer.api.json.JsonListParser<CueMarker>
        Overrides:
        listFromJson in class com.jwplayer.api.json.helpers.CueMarkerJsonHelper
      • toJsonArray

        public org.json.JSONArray toJsonArray​(java.util.List<CueMarker> list)
        Specified by:
        toJsonArray in interface com.jwplayer.api.json.JsonListMarshaller<CueMarker>
        Overrides:
        toJsonArray in class com.jwplayer.api.json.helpers.CueMarkerJsonHelper