public static void Object(this IJsonWriter writer, JsonObject obj) { writer.ObjectStart(); foreach (var entry in obj.Entries) { writer.ObjectKey(entry.Key); writer.Value(entry.Value); } writer.ObjectEnd(); }
public static void Object(this IJsonWriter writer, JsonObject obj) { writer.ObjectStart(); foreach (KeyValuePair <string, IJsonValue?> Entry in obj.Entries) { writer.ObjectKey(Entry.Key); writer.Value(Entry.Value); } writer.ObjectEnd(); }