package com.sistemasolton.itranvias.home.data.local;

import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.StringCompanionObject;
import kotlinx.serialization.builtins.BuiltinSerializersKt;
import kotlinx.serialization.json.Json;

/* JADX INFO: compiled from: BusDatabase.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0004\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0016\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u00052\u0006\u0010\u0007\u001a\u00020\u0006H\u0007J\u0016\u0010\b\u001a\u00020\u00062\f\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005H\u0007¨\u0006\n"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/local/BusTypeConverter;", "", "<init>", "()V", "fromString", "", "", "value", "fromList", "list", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final class BusTypeConverter {
    public static final int $stable = 0;

    public final List<String> fromString(String value) {
        Intrinsics.checkNotNullParameter(value, "value");
        return (List) Json.INSTANCE.decodeFromString(BuiltinSerializersKt.ListSerializer(BuiltinSerializersKt.serializer(StringCompanionObject.INSTANCE)), value);
    }

    public final String fromList(List<String> list) {
        Intrinsics.checkNotNullParameter(list, "list");
        return Json.INSTANCE.encodeToString(BuiltinSerializersKt.ListSerializer(BuiltinSerializersKt.serializer(StringCompanionObject.INSTANCE)), list);
    }
}