* explain the json hierarchy format
@ 2019-07-03 11:51 meOme
2019-07-03 15:37 ` Jameson Graef Rollins
0 siblings, 1 reply; 2+ messages in thread
From: meOme @ 2019-07-03 11:51 UTC (permalink / raw)
To: notmuch
Hi!
Can anyone explain the resulting json format to me?
I have a typical respone from
notmuch show --format=json thread:xxxxxxxxx
and i don't really understand the meaning of the hierarchy.
[ what is this list?
[ list of mails?
[ what is this list?
{ a mail with id .... comes here
"id": "000c01d4a6be$4db01750$e91045f0$@freenet.de",
....
},
[] what is this list? List of responses to the mail above?
],
[
{ the next mail in that thread, that is not a response to a mail above
(otherwise it would go into the list of responses)?
"id": "000001d4b0ab$08665f50$19331df0$@freenet.de",
....
},
[]
],
[
{
"id": "op.zu28t9ejlth65q@localhost",
.....
},
[
[
{ here we have a response to the mail above?
"id": "000001d4a44f$dd619ac0$9824d040$@freenet.de",
......
},
[]
]
]
]
]
]
More questions:
- Where to finde the newest mail in the thread?
- May the same mail be in a response field and also in an "own" field in the
list of mails?
Thanks!
--
Sent from: http://notmuch.198994.n3.nabble.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: explain the json hierarchy format
2019-07-03 11:51 explain the json hierarchy format meOme
@ 2019-07-03 15:37 ` Jameson Graef Rollins
0 siblings, 0 replies; 2+ messages in thread
From: Jameson Graef Rollins @ 2019-07-03 15:37 UTC (permalink / raw)
To: meOme, notmuch
On Wed, Jul 03 2019, meOme <jan-adams@gmx.de> wrote:
> Can anyone explain the resulting json format to me?
> I have a typical respone from
> notmuch show --format=json thread:xxxxxxxxx
> and i don't really understand the meaning of the hierarchy.
If you have a copy of the source [0] there's a file "devel/schemata"
that explains the structured output.
jamie.
[0] git://notmuchmail.org/git/notmuch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-03 15:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-03 11:51 explain the json hierarchy format meOme
2019-07-03 15:37 ` Jameson Graef Rollins
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).