Skip to content

Commit

Permalink
~update api
Browse files Browse the repository at this point in the history
  • Loading branch information
sandwwraith committed Oct 8, 2021
1 parent 0354812 commit cc43a5b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions formats/json/api/kotlinx-serialization-json.api
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

0 comments on commit cc43a5b

Please sign in to comment.