[tomboy] Use Hyena.Json.Serializer to generate note-changes JSON.
- From: Sanford Armstrong <sharm src gnome org>
- To: svn-commits-list gnome org
- Subject: [tomboy] Use Hyena.Json.Serializer to generate note-changes JSON.
- Date: Mon, 18 May 2009 10:23:22 -0400 (EDT)
commit 6732d82a38d137582b4237a3b6e82afade7e9c50
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Sun May 17 07:40:11 2009 -0700
Use Hyena.Json.Serializer to generate note-changes JSON.
---
Tomboy/Addins/WebSyncService/Api/UserInfo.cs | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Tomboy/Addins/WebSyncService/Api/UserInfo.cs b/Tomboy/Addins/WebSyncService/Api/UserInfo.cs
index 219a90a..9f41c64 100644
--- a/Tomboy/Addins/WebSyncService/Api/UserInfo.cs
+++ b/Tomboy/Addins/WebSyncService/Api/UserInfo.cs
@@ -157,8 +157,10 @@ namespace Tomboy.WebSync.Api
noteChangesArray.Add (note.ToUpdateObject ());
noteChangesObj ["note-changes"] = noteChangesArray;
- // TODO: Convert noteChangsObj to string
- return string.Empty;
+ // TODO: Handle errors
+ Hyena.Json.Serializer serializer =
+ new Hyena.Json.Serializer (noteChangesObj);
+ return serializer.Serialize ();
}
#endregion
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]