Esempio 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);
        }
 protected virtual void FormatEnumerable(IEnumerable enumerable, JsonWriter writer)
 {
     writer.WriteArray(enumerable);
 }