urbanairship-core/src/main/java/com/urbanairship/remotedata/RemoteDataPayload.java
public static Set<RemoteDataPayload> parsePayloads(@NonNull JsonValue value) {
        JsonList list = value.optList();

        try {
            Set<RemoteDataPayload> payloads = new HashSet<>();

            for (JsonValue payload : list) {
                payloads.add(parsePayload(payload));
            }
            return payloads;
        } catch (JsonException e) {
            Logger.error("Unable to parse remote data payloads: " + value.toString());
        }

        return Collections.emptySet();
    }
/**
     * Parses remote data payloads from JSON.
     *
     * @param value The JSON.
     * @return A List of RemoteDataPayloads.
     */
Parses remote data payloads from JSON.
@param value The JSON.
@return A List of RemoteDataPayloads.
Parses remote data payloads from JSON . @param value The JSON . @return A List of RemoteDataPayloads .
public static Set<RemoteDataPayload> parsePayloads(@NonNull JsonValue value) {
        JsonList list = value.optList();
        try {
            Set<RemoteDataPayload> payloads = new HashSet<>();
            for (JsonValue payload : list) {
                payloads.add(parsePayload(payload));
            }
            return payloads;
        } catch (JsonException e) {
            Logger.error("Unable to parse remote data payloads: " + value.toString());
        }
        return Collections.emptySet();
    }
public static Set < RemoteDataPayload > parsePayloads ( @ NonNull JsonValue value ) { JsonList list = value . optList ( ) ; try { Set < RemoteDataPayload > payloads = new HashSet < > ( ) ; for ( JsonValue payload : list ) { payloads . add ( parsePayload ( payload ) ) ; } return payloads ; } catch ( JsonException e ) { Logger . error ( "Unable to parse remote data payloads: " + value . toString ( ) ) ; } return Collections . emptySet ( ) ; }
Parses remote data payloads from JSON.
Parses remote data payloads from JSON .