public static void ToJson(ISerializable val, LitJson.JsonWriter writer) { writer.WriteObjectStart(); var s = new Serializer(writer); val.ToJson(s); writer.WriteObjectEnd(); }
private void Add(ISerializable val) { this.Add(val.ToJson()); }