diff --git a/formats/json/api/kotlinx-serialization-json.api b/formats/json/api/kotlinx-serialization-json.api index c390fdac7..0aac85916 100644 --- a/formats/json/api/kotlinx-serialization-json.api +++ b/formats/json/api/kotlinx-serialization-json.api @@ -216,11 +216,6 @@ public final class kotlinx/serialization/json/JsonEncoder$DefaultImpls { public static fun shouldEncodeElementDefault (Lkotlinx/serialization/json/JsonEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;I)Z } -public abstract interface class kotlinx/serialization/json/JsonIterator { - public abstract fun hasNext ()Z - public abstract fun next (Lkotlinx/serialization/DeserializationStrategy;)Ljava/lang/Object; -} - public final class kotlinx/serialization/json/JsonKt { public static final fun Json (Lkotlinx/serialization/json/Json;Lkotlin/jvm/functions/Function1;)Lkotlinx/serialization/json/Json; public static synthetic fun Json$default (Lkotlinx/serialization/json/Json;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lkotlinx/serialization/json/Json; @@ -346,11 +341,17 @@ public abstract class kotlinx/serialization/json/JsonTransformingSerializer : ko } public final class kotlinx/serialization/json/JvmStreamsKt { - public static final fun asIterator (Lkotlinx/serialization/json/JsonIterator;Lkotlinx/serialization/DeserializationStrategy;)Ljava/util/Iterator; - public static final fun asSequence (Lkotlinx/serialization/json/JsonIterator;Lkotlinx/serialization/DeserializationStrategy;)Lkotlin/sequences/Sequence; public static final fun decodeFromStream (Lkotlinx/serialization/json/Json;Lkotlinx/serialization/DeserializationStrategy;Ljava/io/InputStream;)Ljava/lang/Object; - public static final fun decodeToSequence (Lkotlinx/serialization/json/Json;Ljava/io/InputStream;Lkotlinx/serialization/DeserializationStrategy;)Lkotlin/sequences/Sequence; + public static final fun decodeToSequence (Lkotlinx/serialization/json/Json;Ljava/io/InputStream;Lkotlinx/serialization/DeserializationStrategy;Lkotlinx/serialization/json/LazyStreamingFormat;)Lkotlin/sequences/Sequence; + public static synthetic fun decodeToSequence$default (Lkotlinx/serialization/json/Json;Ljava/io/InputStream;Lkotlinx/serialization/DeserializationStrategy;Lkotlinx/serialization/json/LazyStreamingFormat;ILjava/lang/Object;)Lkotlin/sequences/Sequence; public static final fun encodeToStream (Lkotlinx/serialization/json/Json;Lkotlinx/serialization/SerializationStrategy;Ljava/lang/Object;Ljava/io/OutputStream;)V - public static final fun iterateOverStream (Lkotlinx/serialization/json/Json;Ljava/io/InputStream;)Lkotlinx/serialization/json/JsonIterator; +} + +public final class kotlinx/serialization/json/LazyStreamingFormat : java/lang/Enum { + public static final field ARRAY_WRAPPED Lkotlinx/serialization/json/LazyStreamingFormat; + public static final field AUTO_DETECT Lkotlinx/serialization/json/LazyStreamingFormat; + public static final field WHITESPACE_SEPARATED Lkotlinx/serialization/json/LazyStreamingFormat; + public static fun valueOf (Ljava/lang/String;)Lkotlinx/serialization/json/LazyStreamingFormat; + public static fun values ()[Lkotlinx/serialization/json/LazyStreamingFormat; }