Ejemplo n.º 1
0
        /// <summary>
        /// Make an JSON external form string of this JsonArray. For
        /// compactness, no unnecessary whitespace is added.
        /// </summary>
        /// <remarks>
        /// This method assumes that the data structure is acyclical.
        /// </remarks>

        public virtual void Format(JsonWriter writer)
        {
            writer.WriteArray(this);
        }
Ejemplo n.º 2
0
 protected virtual void FormatEnumerable(IEnumerable enumerable, JsonWriter writer)
 {
     writer.WriteArray(enumerable);
 }