Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
        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();
        }