Hi, all!

Which data format would you prefer to see in the up-coming /json/dir output:

#1:

{ "subdirs":[ "list", "of", "subdirs"],
  "files": ["list", "of", "files" ]
}

#2a:

[ {"name":"subdir1", "type":"d"},
  {"name":"file1.txt", "type":"f"}
  ...
]

#2b:

[ {"name":"subdir1", "isDir":true},
  {"name":"file1.txt"}
  ...
]


#3: something entirely different?

Which would be simplest to use from client code while still being flexible
enough for more complex cases?

:-?

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to