Example #1
0
        public static void ToJson(ISerializable val, LitJson.JsonWriter writer)
        {
            writer.WriteObjectStart();
            var s = new Serializer(writer);

            val.ToJson(s);
            writer.WriteObjectEnd();
        }
Example #2
0
 private void Add(ISerializable val)
 {
     this.Add(val.ToJson());
 }