Example #1
0
        public String toJson()
        {
            _JsonWriter jw = new _JsonWriter();

            buildJson(jw);

            return(jw.toJson());
        }
Example #2
0
        public String toJson()
        {
            _JsonWriter jw = new _JsonWriter();

            jw.WriteArrayStart();

            foreach (DataItem r in rows)
            {
                r.buildJson(jw);
            }

            jw.WriteArrayEnd();

            return(jw.toJson());
        }