--- a/mercurial/templates/json/map Tue Mar 31 14:52:21 2015 -0700
+++ b/mercurial/templates/json/map Tue Mar 31 14:54:56 2015 -0700
@@ -14,7 +14,15 @@
"node": {node|json},
"date": {date|json}
}'
-bookmarks = '"not yet implemented"'
+bookmarks = '\{
+ "node": {node|json},
+ "bookmarks": [{join(entries%bookmarkentry, ", ")}]
+ }'
+bookmarkentry = '\{
+ "bookmark": {bookmark|json},
+ "node": {node|json},
+ "date": {date|json}
+ }'
branches = '"not yet implemented"'
summary = '"not yet implemented"'
filediff = '"not yet implemented"'